summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Vacek <patrickvacek@gmail.com>2018-05-24 17:04:41 +0200
committerPatrick Vacek <patrickvacek@gmail.com>2018-05-28 13:19:43 +0200
commit79f5e6ade9e4a9f9438077ba71610bf3f54afd9b (patch)
tree0126bcd46435570db8649fa46067fd20fee23157
parenteae056623a6e82d5a1147ce5c0205fdd04fa8f92 (diff)
downloadmeta-updater-79f5e6ade9e4a9f9438077ba71610bf3f54afd9b.tar.gz
find_packages.py: Check for a few unlisted aktualizr dependencies.
Not all possible dependencies are specified in DEPENDS, since we don't build with everything enabled by default, so search for additional potential dependencies explicitly. Also add a comment about the things that we do not have visibility into from this process.
-rwxr-xr-xscripts/find_packages.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/scripts/find_packages.py b/scripts/find_packages.py
index b297d7d..f3b3a85 100755
--- a/scripts/find_packages.py
+++ b/scripts/find_packages.py
@@ -70,6 +70,11 @@ def main():
70 tinfoil.prepare() 70 tinfoil.prepare()
71 abcd_file.write('packages:\n') 71 abcd_file.write('packages:\n')
72 72
73 # Does NOT include garage-sign, anything used only for testing (i.e.
74 # strace and gtest), any of the git submodules, all of which are also
75 # only used for testing (tuf-test-vectors, isotp-c, ostreesysroot,
76 # and HdrHistogram_c), or any other third party modules included
77 # directly into the source tree (jsoncpp, open62541, picojson)
73 recipes_to_check = ['aktualizr', 78 recipes_to_check = ['aktualizr',
74 'aktualizr-native', 79 'aktualizr-native',
75 'aktualizr-auto-prov', 80 'aktualizr-auto-prov',
@@ -78,7 +83,10 @@ def main():
78 'aktualizr-hsm-prov', 83 'aktualizr-hsm-prov',
79 'aktualizr-disable-send-ip', 84 'aktualizr-disable-send-ip',
80 'aktualizr-example-interface', 85 'aktualizr-example-interface',
81 'aktualizr-log-debug'] 86 'aktualizr-log-debug',
87 'libp11', # BUILD_P11 (HSM) only
88 'dpkg', # BUILD_DEB only
89 'systemd'] # BUILD_SYSTEMD only
82 90
83 for recipe in recipes_to_check: 91 for recipe in recipes_to_check:
84 depends = print_deps(tinfoil, abcd_file, recipe) 92 depends = print_deps(tinfoil, abcd_file, recipe)