diff options
-rw-r--r-- | meta/recipes-core/systemd/systemd_256.8.bb | 15 |
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 | ||
71 | PACKAGECONFIG ??= " \ | 71 | PACKAGECONFIG ??= " \ |
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): | |||
218 | PACKAGECONFIG[set-time-epoch] = "${@build_epoch(d)},-Dtime-epoch=0" | 218 | PACKAGECONFIG[set-time-epoch] = "${@build_epoch(d)},-Dtime-epoch=0" |
219 | PACKAGECONFIG[timedated] = "-Dtimedated=true,-Dtimedated=false" | 219 | PACKAGECONFIG[timedated] = "-Dtimedated=true,-Dtimedated=false" |
220 | PACKAGECONFIG[timesyncd] = "-Dtimesyncd=true,-Dtimesyncd=false" | 220 | PACKAGECONFIG[timesyncd] = "-Dtimesyncd=true,-Dtimesyncd=false" |
221 | PACKAGECONFIG[usrmerge] = "-Dsplit-usr=false,-Dsplit-usr=true" | ||
222 | PACKAGECONFIG[sbinmerge] = "-Dsplit-bin=false,-Dsplit-bin=true" | 221 | PACKAGECONFIG[sbinmerge] = "-Dsplit-bin=false,-Dsplit-bin=true" |
223 | PACKAGECONFIG[userdb] = "-Duserdb=true,-Duserdb=false" | 222 | PACKAGECONFIG[userdb] = "-Duserdb=true,-Duserdb=false" |
224 | PACKAGECONFIG[utmp] = "-Dutmp=true,-Dutmp=false" | 223 | PACKAGECONFIG[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. |
243 | rootprefix ?= "${root_prefix}" | 242 | rootlibexecdir = "${nonarch_libdir}" |
244 | rootlibdir ?= "${base_libdir}" | ||
245 | rootlibexecdir = "${rootprefix}/lib" | ||
246 | 243 | ||
247 | EXTRA_OEMESON += "-Dnobody-user=nobody \ | 244 | EXTRA_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 | ||
405 | python populate_packages:prepend (){ | 400 | python 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 | } |
409 | PACKAGES_DYNAMIC += "^lib(udev|systemd|nss).*" | 404 | PACKAGES_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" | |||
739 | INSANE_SKIP:${PN}-doc += " libdir" | 734 | INSANE_SKIP:${PN}-doc += " libdir" |
740 | INSANE_SKIP:libsystemd-shared += "libdir" | 735 | INSANE_SKIP:libsystemd-shared += "libdir" |
741 | 736 | ||
742 | FILES:libsystemd-shared = "${rootlibdir}/systemd/libsystemd-shared*.so" | 737 | FILES:libsystemd-shared = "${libdir}/systemd/libsystemd-shared*.so" |
743 | 738 | ||
744 | RPROVIDES:udev = "hotplug" | 739 | RPROVIDES:udev = "hotplug" |
745 | 740 | ||