summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-core/systemd/systemd_256.8.bb15
1 files changed, 5 insertions, 10 deletions
diff --git a/meta/recipes-core/systemd/systemd_256.8.bb b/meta/recipes-core/systemd/systemd_256.8.bb
index c17100a636..5bec9cb976 100644
--- a/meta/recipes-core/systemd/systemd_256.8.bb
+++ b/meta/recipes-core/systemd/systemd_256.8.bb
@@ -69,7 +69,7 @@ PAM_PLUGINS = " \
69" 69"
70 70
71PACKAGECONFIG ??= " \ 71PACKAGECONFIG ??= " \
72 ${@bb.utils.filter('DISTRO_FEATURES', 'acl audit efi ldconfig pam pni-names selinux smack usrmerge polkit seccomp', d)} \ 72 ${@bb.utils.filter('DISTRO_FEATURES', 'acl audit efi ldconfig pam pni-names selinux smack polkit seccomp', d)} \
73 ${@bb.utils.contains('DISTRO_FEATURES', 'minidebuginfo', 'coredump elfutils', '', d)} \ 73 ${@bb.utils.contains('DISTRO_FEATURES', 'minidebuginfo', 'coredump elfutils', '', d)} \
74 ${@bb.utils.contains('DISTRO_FEATURES', 'wifi', 'rfkill', '', d)} \ 74 ${@bb.utils.contains('DISTRO_FEATURES', 'wifi', 'rfkill', '', d)} \
75 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xkbcommon', '', d)} \ 75 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xkbcommon', '', d)} \
@@ -218,7 +218,6 @@ def build_epoch(d):
218PACKAGECONFIG[set-time-epoch] = "${@build_epoch(d)},-Dtime-epoch=0" 218PACKAGECONFIG[set-time-epoch] = "${@build_epoch(d)},-Dtime-epoch=0"
219PACKAGECONFIG[timedated] = "-Dtimedated=true,-Dtimedated=false" 219PACKAGECONFIG[timedated] = "-Dtimedated=true,-Dtimedated=false"
220PACKAGECONFIG[timesyncd] = "-Dtimesyncd=true,-Dtimesyncd=false" 220PACKAGECONFIG[timesyncd] = "-Dtimesyncd=true,-Dtimesyncd=false"
221PACKAGECONFIG[usrmerge] = "-Dsplit-usr=false,-Dsplit-usr=true"
222PACKAGECONFIG[sbinmerge] = "-Dsplit-bin=false,-Dsplit-bin=true" 221PACKAGECONFIG[sbinmerge] = "-Dsplit-bin=false,-Dsplit-bin=true"
223PACKAGECONFIG[userdb] = "-Duserdb=true,-Duserdb=false" 222PACKAGECONFIG[userdb] = "-Duserdb=true,-Duserdb=false"
224PACKAGECONFIG[utmp] = "-Dutmp=true,-Dutmp=false" 223PACKAGECONFIG[utmp] = "-Dutmp=true,-Dutmp=false"
@@ -240,14 +239,10 @@ CFLAGS:append = " --sysroot=${STAGING_DIR_TARGET}"
240 239
241# Helper variables to clarify locations. This mirrors the logic in systemd's 240# Helper variables to clarify locations. This mirrors the logic in systemd's
242# build system. 241# build system.
243rootprefix ?= "${root_prefix}" 242rootlibexecdir = "${nonarch_libdir}"
244rootlibdir ?= "${base_libdir}"
245rootlibexecdir = "${rootprefix}/lib"
246 243
247EXTRA_OEMESON += "-Dnobody-user=nobody \ 244EXTRA_OEMESON += "-Dnobody-user=nobody \
248 -Dnobody-group=nogroup \ 245 -Dnobody-group=nogroup \
249 -Drootlibdir=${rootlibdir} \
250 -Drootprefix=${rootprefix} \
251 -Ddefault-locale=C \ 246 -Ddefault-locale=C \
252 -Dmode=release \ 247 -Dmode=release \
253 -Dsystem-alloc-uid-min=101 \ 248 -Dsystem-alloc-uid-min=101 \
@@ -403,7 +398,7 @@ do_install() {
403} 398}
404 399
405python populate_packages:prepend (){ 400python populate_packages:prepend (){
406 systemdlibdir = d.getVar("rootlibdir") 401 systemdlibdir = d.getVar("libdir")
407 do_split_packages(d, systemdlibdir, r'^lib(.*)\.so\.*', 'lib%s', 'Systemd %s library', extra_depends='', allow_links=True) 402 do_split_packages(d, systemdlibdir, r'^lib(.*)\.so\.*', 'lib%s', 'Systemd %s library', extra_depends='', allow_links=True)
408} 403}
409PACKAGES_DYNAMIC += "^lib(udev|systemd|nss).*" 404PACKAGES_DYNAMIC += "^lib(udev|systemd|nss).*"
@@ -678,7 +673,7 @@ FILES:${PN} = " ${base_bindir}/* \
678 ${sysconfdir}/ssh/ssh_config.d/20-systemd-ssh-proxy.conf \ 673 ${sysconfdir}/ssh/ssh_config.d/20-systemd-ssh-proxy.conf \
679 ${sysconfdir}/ssh/sshd_config.d/20-systemd-userdb.conf \ 674 ${sysconfdir}/ssh/sshd_config.d/20-systemd-userdb.conf \
680 ${rootlibexecdir}/systemd/* \ 675 ${rootlibexecdir}/systemd/* \
681 ${rootlibdir}/systemd/libsystemd-core* \ 676 ${libdir}/systemd/libsystemd-core* \
682 ${libdir}/pam.d \ 677 ${libdir}/pam.d \
683 ${nonarch_libdir}/pam.d \ 678 ${nonarch_libdir}/pam.d \
684 ${systemd_unitdir}/* \ 679 ${systemd_unitdir}/* \
@@ -739,7 +734,7 @@ INSANE_SKIP:${PN}-dbg += "libdir"
739INSANE_SKIP:${PN}-doc += " libdir" 734INSANE_SKIP:${PN}-doc += " libdir"
740INSANE_SKIP:libsystemd-shared += "libdir" 735INSANE_SKIP:libsystemd-shared += "libdir"
741 736
742FILES:libsystemd-shared = "${rootlibdir}/systemd/libsystemd-shared*.so" 737FILES:libsystemd-shared = "${libdir}/systemd/libsystemd-shared*.so"
743 738
744RPROVIDES:udev = "hotplug" 739RPROVIDES:udev = "hotplug"
745 740