diff options
author | Oliver Smith <osmith@sysmocom.de> | 2020-05-22 11:00:01 +0200 |
---|---|---|
committer | Oliver Smith <osmith@sysmocom.de> | 2020-05-22 11:36:53 +0200 |
commit | a36c355462fa1e987ac7dc338da5b839158171bb (patch) | |
tree | 7f808da3f1eb6299fdd23d6cb5cfca41d3917be0 /scripts/common-obs.sh | |
parent | 4969d2b1163bbecd6ad43e4a1497ed33dc3adafb (diff) |
OBS: check required programs before start
osmocom-*-packages.sh take some time to execute and has quite a few
programs that are not commonly installed. Check the required
dependencies first, so it doesn't abort in the middle of the scripts if
these are missing. I just ran into this with the new meson dependency.
Change-Id: I46cf1aeedd61dbd4fc8fa3f24c60e29033339ead
Diffstat (limited to 'scripts/common-obs.sh')
-rw-r--r-- | scripts/common-obs.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/common-obs.sh b/scripts/common-obs.sh index 5e21574..c07fbaa 100644 --- a/scripts/common-obs.sh +++ b/scripts/common-obs.sh @@ -1,6 +1,19 @@ #!/bin/sh # Various common code used in the OBS (opensuse build service) related osmo-ci shell scripts +osmo_cmd_require \ + dch \ + dh \ + dpkg-buildpackage \ + gbp \ + git \ + meson \ + mktemp \ + osc \ + patch \ + sed \ + wget + # Create the source for a dummy package, that conflicts with another dummy package in the current directory. Example # of the structure that will be generated: # osmocom-nightly |