Skip to contentSkip to conversation

systemd: set split-bin to true by default

PATCH In review Anton Gerasimov 2 participants 2 messages Sep 7, 2018 – Sep 10, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 systemd: set split-bin to true by default

Not doing so will make meson chose where to install init binary based on irrelevant features of the build machine.

PACKAGECONFIG option is defined to override this behavior.

---
 meta/recipes-core/systemd/systemd_239.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-core/systemd/systemd_239.bb +1 -0
index 84906f97b7..55e3986935 100644
@@ -168,6 +168,7 @@ PACKAGECONFIG[time-epoch] = "-Dtime-epoch=0,,"
 PACKAGECONFIG[timedated] = "-Dtimedated=true,-Dtimedated=false"
 PACKAGECONFIG[timesyncd] = "-Dtimesyncd=true,-Dtimesyncd=false"
 PACKAGECONFIG[usrmerge] = "-Dsplit-usr=false,-Dsplit-usr=true"
+PACKAGECONFIG[sbinmerge] = "-Dsplit-bin=false,-Dsplit-bin=true"
 PACKAGECONFIG[utmp] = "-Dutmp=true,-Dutmp=false"
 PACKAGECONFIG[valgrind] = "-DVALGRIND=1,,valgrind"
 PACKAGECONFIG[vconsole] = "-Dvconsole=true,-Dvconsole=false,,${PN}-vconsole-setup"
Signature · 1 line
2.18.0
#1 lore raw

Thanks for fixing this error.

I saw you were sending this patch to the yocto mailing list. That's not necessary. This mailing list is the correct place to send patch.
Please wait for merge.

Best Regards,
Chen Qi

Quoted 22 lines · Anton Gerasimov

Not doing so will make meson chose where to install init binary based on irrelevant features of the build machine.

PACKAGECONFIG option is defined to override this behavior.

---
  meta/recipes-core/systemd/systemd_239.bb | 1 +
  1 file changed, 1 insertion(+)
meta/recipes-core/systemd/systemd_239.bb +1 -0
index 84906f97b7..55e3986935 100644
@@ -168,6 +168,7 @@ PACKAGECONFIG[time-epoch] = "-Dtime-epoch=0,,"
  PACKAGECONFIG[timedated] = "-Dtimedated=true,-Dtimedated=false"
  PACKAGECONFIG[timesyncd] = "-Dtimesyncd=true,-Dtimesyncd=false"
  PACKAGECONFIG[usrmerge] = "-Dsplit-usr=false,-Dsplit-usr=true"
+PACKAGECONFIG[sbinmerge] = "-Dsplit-bin=false,-Dsplit-bin=true"
  PACKAGECONFIG[utmp] = "-Dutmp=true,-Dutmp=false"
  PACKAGECONFIG[valgrind] = "-DVALGRIND=1,,valgrind"
  PACKAGECONFIG[vconsole] = "-Dvconsole=true,-Dvconsole=false,,${PN}-vconsole-setup"