mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
systemd: add usrmerge to REQUIRED_DISTRO_FEATURES
Support for unmerged-usr is deprecated upstream, taints the system and has been removed for v255 (next release). Enforce building merged-usr images when using systemd. This allows one release cycle where it can be tested for any remaining issue, and can still be overridden, before it stops working completely. (From OE-Core rev: 802e853eeddf16d73db1900546cc5f045d1fb7ed) Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
d4933d1006
commit
c4e6a67a8a
@@ -14,7 +14,8 @@ INHIBIT_DEFAULT_DEPS = "1"
|
||||
|
||||
ALLOW_EMPTY:${PN} = "1"
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "systemd"
|
||||
REQUIRED_DISTRO_FEATURES += "systemd"
|
||||
REQUIRED_DISTRO_FEATURES += "usrmerge"
|
||||
|
||||
SYSTEMD_DISABLED_SYSV_SERVICES = " \
|
||||
busybox-udhcpc \
|
||||
|
||||
@@ -5,6 +5,9 @@ DefaultTimeoutStartSec setting."
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||
|
||||
inherit features_check
|
||||
REQUIRED_DISTRO_FEATURES += "usrmerge"
|
||||
|
||||
PE = "1"
|
||||
|
||||
PACKAGECONFIG ??= "dhcp-ethernet"
|
||||
|
||||
@@ -7,7 +7,8 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
PR = "r19"
|
||||
|
||||
inherit systemd
|
||||
inherit systemd features_check
|
||||
REQUIRED_DISTRO_FEATURES += "usrmerge"
|
||||
SYSTEMD_SERVICE:${PN} = ""
|
||||
|
||||
ALLOW_EMPTY:${PN} = "1"
|
||||
|
||||
@@ -14,7 +14,8 @@ S = "${WORKDIR}"
|
||||
|
||||
# As this package is tied to systemd, only build it when we're also building systemd.
|
||||
inherit features_check
|
||||
REQUIRED_DISTRO_FEATURES = "systemd"
|
||||
REQUIRED_DISTRO_FEATURES += "systemd"
|
||||
REQUIRED_DISTRO_FEATURES += "usrmerge"
|
||||
|
||||
do_install() {
|
||||
if [ ! -z "${SERIAL_CONSOLES}" ] ; then
|
||||
|
||||
@@ -10,9 +10,13 @@ SECTION = "base/shell"
|
||||
|
||||
inherit useradd pkgconfig meson perlnative update-rc.d update-alternatives qemu systemd gettext bash-completion manpages features_check
|
||||
|
||||
# unmerged-usr support is deprecated upstream, taints the system and will be
|
||||
# removed in the near future. Fail the build if it is not enabled.
|
||||
REQUIRED_DISTRO_FEATURES += "usrmerge"
|
||||
|
||||
# As this recipe builds udev, respect systemd being in DISTRO_FEATURES so
|
||||
# that we don't build both udev and systemd in world builds.
|
||||
REQUIRED_DISTRO_FEATURES = "systemd"
|
||||
REQUIRED_DISTRO_FEATURES += "systemd"
|
||||
|
||||
SRC_URI += " \
|
||||
file://touchscreen.rules \
|
||||
|
||||
Reference in New Issue
Block a user