diff options
author | Enrico Jorns <ejo@pengutronix.de> | 2017-03-29 11:07:33 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-04-01 08:14:58 +0100 |
commit | 64fd22e42e6f9883b206022051b238b7990d744a (patch) | |
tree | 2572eb51c97a29e5ff064f6e9bbcd3fb376d8a6d /meta/recipes-core | |
parent | 35565057fa4e825d6c2a6a2edccf07ab794d6235 (diff) | |
download | poky-64fd22e42e6f9883b206022051b238b7990d744a.tar.gz |
systemd: make vconsole a PACKAGECONFIG option
Allowing to remove the systemd-vconsole-setup package without specifying
the --disable-vconsole configure option for systemd will make the system
boot with the failure prompt
| systemd-udevd[142]: failed to execute '/lib/systemd/systemd-vconsole-setup' '/lib/systemd/systemd-vconsole-setup': No such file or directory
| systemd-udevd[96]: Process '/lib/systemd/systemd-vconsole-setup' failed with exit code 2.
as the 90-vconsole.rules will still be installed with having a
RUN+="/lib/systemd/systemd-vconsole-setup" in it that attempts to
execute a non-existing binary.
(From OE-Core rev: 396e9dcf308a2a6660a84eb36c5ff29f8a0d08de)
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/systemd/systemd_232.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-core/systemd/systemd_232.bb b/meta/recipes-core/systemd/systemd_232.bb index fa6a6a817f..398cb46f0d 100644 --- a/meta/recipes-core/systemd/systemd_232.bb +++ b/meta/recipes-core/systemd/systemd_232.bb | |||
@@ -47,6 +47,7 @@ PACKAGECONFIG ??= "xz \ | |||
47 | randomseed \ | 47 | randomseed \ |
48 | machined \ | 48 | machined \ |
49 | backlight \ | 49 | backlight \ |
50 | vconsole \ | ||
50 | quotacheck \ | 51 | quotacheck \ |
51 | hostnamed \ | 52 | hostnamed \ |
52 | ${@bb.utils.contains('TCLIBC', 'glibc', 'myhostname sysusers', '', d)} \ | 53 | ${@bb.utils.contains('TCLIBC', 'glibc', 'myhostname sysusers', '', d)} \ |
@@ -79,6 +80,7 @@ PACKAGECONFIG[resolved] = "--enable-resolved,--disable-resolved" | |||
79 | PACKAGECONFIG[networkd] = "--enable-networkd,--disable-networkd" | 80 | PACKAGECONFIG[networkd] = "--enable-networkd,--disable-networkd" |
80 | PACKAGECONFIG[machined] = "--enable-machined,--disable-machined" | 81 | PACKAGECONFIG[machined] = "--enable-machined,--disable-machined" |
81 | PACKAGECONFIG[backlight] = "--enable-backlight,--disable-backlight" | 82 | PACKAGECONFIG[backlight] = "--enable-backlight,--disable-backlight" |
83 | PACKAGECONFIG[vconsole] = "--enable-vconsole,--disable-vconsole,,${PN}-vconsole-setup" | ||
82 | PACKAGECONFIG[quotacheck] = "--enable-quotacheck,--disable-quotacheck" | 84 | PACKAGECONFIG[quotacheck] = "--enable-quotacheck,--disable-quotacheck" |
83 | PACKAGECONFIG[hostnamed] = "--enable-hostnamed,--disable-hostnamed" | 85 | PACKAGECONFIG[hostnamed] = "--enable-hostnamed,--disable-hostnamed" |
84 | PACKAGECONFIG[myhostname] = "--enable-myhostname,--disable-myhostname" | 86 | PACKAGECONFIG[myhostname] = "--enable-myhostname,--disable-myhostname" |
@@ -475,7 +477,6 @@ RDEPENDS_${PN} += "kmod dbus util-linux-mount udev (= ${EXTENDPKGV})" | |||
475 | RDEPENDS_${PN} += "volatile-binds update-rc.d" | 477 | RDEPENDS_${PN} += "volatile-binds update-rc.d" |
476 | 478 | ||
477 | RRECOMMENDS_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'serial-getty-generator', '', 'systemd-serialgetty', d)} \ | 479 | RRECOMMENDS_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'serial-getty-generator', '', 'systemd-serialgetty', d)} \ |
478 | systemd-vconsole-setup \ | ||
479 | systemd-extra-utils \ | 480 | systemd-extra-utils \ |
480 | systemd-compat-units udev-hwdb \ | 481 | systemd-compat-units udev-hwdb \ |
481 | util-linux-agetty util-linux-fsck e2fsprogs-e2fsck \ | 482 | util-linux-agetty util-linux-fsck e2fsprogs-e2fsck \ |