summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-12-27 11:56:00 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-12-30 14:01:07 +0000
commite4b1b01f5a79b38ebcc5356f08ebec2f79b1fe85 (patch)
tree816e4adf055d6d79a1d7357db4dc55dd4224e94d /meta
parent919d8d2973e5d2ec6fc22faa212e0a9c8e895e6c (diff)
downloadpoky-e4b1b01f5a79b38ebcc5356f08ebec2f79b1fe85.tar.gz
selftest/reproducible: Add useradd-staticids to reproducible builds tests
Its surprising we've made it this far without this, add in some specific uid/gid settings to ensure these don't cause false positives to the tests. (From OE-Core rev: 77397bace64dfd03e704400fea918d93f00d0bf7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/lib/oeqa/selftest/cases/reproducible.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/cases/reproducible.py b/meta/lib/oeqa/selftest/cases/reproducible.py
index e3597d5081..eee494e5cc 100644
--- a/meta/lib/oeqa/selftest/cases/reproducible.py
+++ b/meta/lib/oeqa/selftest/cases/reproducible.py
@@ -249,6 +249,10 @@ class ReproducibleTests(OESelftestTestCase):
249 TMPDIR = "{tmpdir}" 249 TMPDIR = "{tmpdir}"
250 LICENSE_FLAGS_WHITELIST = "commercial" 250 LICENSE_FLAGS_WHITELIST = "commercial"
251 DISTRO_FEATURES_append = ' systemd pam' 251 DISTRO_FEATURES_append = ' systemd pam'
252 USERADDEXTENSION = "useradd-staticids"
253 USERADD_ERROR_DYNAMIC = "skip"
254 USERADD_UID_TABLES += "files/static-passwd"
255 USERADD_GID_TABLES += "files/static-group"
252 ''').format(package_classes=' '.join('package_%s' % c for c in self.package_classes), 256 ''').format(package_classes=' '.join('package_%s' % c for c in self.package_classes),
253 tmpdir=tmpdir) 257 tmpdir=tmpdir)
254 258