Skip to contentSkip to conversation

Add core-image-weston to reproducible build tests

PATCH New Jan-Simon Möller 1 participant 1 message Mar 1, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add core-image-weston to reproducible build tests

From: Jan-Simon Moeller <[email protected]>

This change adds core-image-weston to the reproducible build test. For this we also need to update the static-group and static-passwd.

Besides the world package build which includes the wayland package, this adds a wayland/weston-based image to the reproducible build test.

---
 meta-selftest/files/static-group             | 5 ++++-
 meta-selftest/files/static-passwd            | 3 ++-
 meta/lib/oeqa/selftest/cases/reproducible.py | 2 +-
 3 files changed, 7 insertions(+), 3 deletions(-)
meta-selftest/files/static-group +4 -1
index 5487ed6e32..b2e0e2f870 100644
@@ -19,4 +19,7 @@ tracing:x:519:
 pulse:x:520:
 bind:x:521:
 builder:x:522:
-_apt:x:523:
\ No newline at end of file
+_apt:x:523:
+weston-launch:x:524:
+weston:x:525:
+wayland:x:526:
meta-selftest/files/static-passwd +2 -1
index f663361f4a..2cfd0c9b42 100644
@@ -15,4 +15,5 @@ sshd:x:516:516::/:/bin/nologin
 pulse:x:520:520::/:/bin/nologin
 bind:x:521:521::/:/bin/nologin
 builder:x:522:522::/:/bin/nologin
-_apt:x:523:523::/:/bin/nologin
\ No newline at end of file
+_apt:x:523:523::/:/bin/nologin
+weston:x:525:525::/:/bin/nologin
meta/lib/oeqa/selftest/cases/reproducible.py +1 -1
index bbc5c0d8a4..a510ad5200 100644
@@ -155,7 +155,7 @@ class ReproducibleTests(OESelftestTestCase):
     package_classes = ['deb', 'ipk', 'rpm']
 
     # targets are the things we want to test the reproducibility of
-    targets = ['core-image-minimal', 'core-image-sato', 'core-image-full-cmdline', 'world']
+    targets = ['core-image-minimal', 'core-image-sato', 'core-image-full-cmdline', 'core-image-weston', 'world']
     # sstate targets are things to pull from sstate to potentially cut build/debugging time
     sstate_targets = []
     save_results = False

--
2.20.1