Skip to contentSkip to conversation

plymouth: fix usrmerge

PATCH New Stefan Agner 1 participant 1 message Jan 23, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 plymouth: fix usrmerge

From: Stefan Agner <[email protected]>

When usrmerge is enabled plymouth still tries to install to /bin and /lib leading to the following build error:
ERROR: plymouth-git-r0 do_package: QA Issue: plymouth: Files/directories were installed but not shipped in any package:
/sbin/plymouthd
/lib/libply.so.5
/lib/libply.so
/lib/libply.so.5.0.0
/lib/libply-splash-core.so /lib/libply-splash-core.so.5.0.0 /lib/libply-splash-core.so.5
/bin/plymouth

There is a configuration flag --with-system-root-install which controls where the binaries get installed. The flag is currently tied to the systemd distro feature, however, this seems wrong.

Use the flag to control where binaries get installed depending on whether usrmerge is used.

---
 meta-oe/recipes-core/plymouth/plymouth_0.9.4.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-oe/recipes-core/plymouth/plymouth_0.9.4.bb +2 -1
index 305977e5e..8b71c2bd6 100644
@@ -26,7 +26,8 @@ SRC_URI[sha256sum] = "4a197a4f1a05785d7453dd829b231352fb2d09171bd86c5ffaafbb2dd6
 
 EXTRA_OECONF += " --enable-shared --disable-static --disable-gtk --disable-documentation \
     --with-logo=${LOGO} \
-    ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '--enable-systemd-integration --with-system-root-install --with-systemd-tty-ask-password-agent=${base_bindir}/systemd-tty-ask-password-agent', '', d)} \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '--enable-systemd-integration --with-systemd-tty-ask-password-agent=${base_bindir}/systemd-tty-ask-password-agent', '', d)} \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge','--without-system-root-install','--with-system-root-install',d)} \
 "
 
 PACKAGECONFIG ??= "pango initrd"
Signature · 1 line
2.17.1