osmith submitted this change.
utils/osmo-install-dbg-pkgs: add --open5gs arg
Extend the script to install open5gs debug packages too when selecting
this argument.
Change-Id: I8d37e6a00ebf8e48b8240dcee437087988ba7c41
---
M utils/osmo-install-dbg-pkgs.py
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/utils/osmo-install-dbg-pkgs.py b/utils/osmo-install-dbg-pkgs.py
index 9de5af4..e707cfe 100755
--- a/utils/osmo-install-dbg-pkgs.py
+++ b/utils/osmo-install-dbg-pkgs.py
@@ -20,6 +20,12 @@
description="Install debug packages for all installed Osmocom packages and dependencies"
)
parser.add_argument(
+ "-o",
+ "--open5gs",
+ action="store_true",
+ help="install debug packages for installed Open5GS programs too",
+ )
+ parser.add_argument(
"-y",
"--yes",
action="store_true",
@@ -67,6 +73,9 @@
"osmo-*",
]
+ if args.open5gs:
+ patterns += ["open5gs-*"]
+
for line in lines:
if not line.startswith("ii "):
continue
To view, visit change 43623. To unsubscribe, or for help writing mail filters, visit settings.