From: Jörg Sommer <[email protected]>

The upcoming binmerge (driven by systemd) merges /usr/sbin into /usr/bin.

Signed-off-by: Jörg Sommer <[email protected]>
---
 meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb 
b/meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb
index 77fdd67302..c03bee4c1f 100644
--- a/meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb
+++ b/meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb
@@ -136,6 +136,13 @@ do_install () {
     install -d ${D}${sysconfdir}/init.d
     install -m 0755 ${UNPACKDIR}/bootchartd_stop.sh ${D}${sysconfdir}/init.d
 
+    if test "${bindir}" = "${sbindir}"
+    then
+        install -d ${D}${bindir}
+        mv ${D}${EARLY_PREFIX}/sbin/* ${D}${bindir}
+        rmdir ${D}${EARLY_PREFIX}/sbin
+    fi
+
     if ${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', 'true', 'false', 
d)}; then
         mv ${D}${EARLY_PREFIX}${sysconfdir}/bootchartd.conf 
${D}${sysconfdir}/bootchartd.conf
         rmdir ${D}${EARLY_PREFIX}${sysconfdir}
-- 
2.53.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#242186): 
https://lists.openembedded.org/g/openembedded-core/message/242186
Mute This Topic: https://lists.openembedded.org/mt/120482264/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to