diff options
| author | Ricardo Salveti <ricardo.salveti@oss.qualcomm.com> | 2024-12-03 00:05:18 -0300 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-12-05 17:07:09 +0000 |
| commit | eac509b9ed1464e312bfbb7ce3120fd7da50876e (patch) | |
| tree | 0af8da7c6b06e05e52a046977734a7b426a23b81 /meta/recipes-core/systemd | |
| parent | f5a2ea77caf579125b8a1e01225e792e5f67fa76 (diff) | |
| download | poky-eac509b9ed1464e312bfbb7ce3120fd7da50876e.tar.gz | |
systemd: drop deprecated rootlibdir, rootprefix and split-usr options
Support for split-usr and unmerged-usr were both removed as part of the
systemd 255 release, so remove the current deprecated rootlibdir,
rootprefix and split-usr options from the recipe.
(From OE-Core rev: 94ec821600c36baaeeb81f3d2ce0cc6d2d22082a)
Signed-off-by: Ricardo Salveti <ricardo.salveti@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/systemd')
| -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 | ||
