diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2017-09-05 16:07:59 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-09-21 09:24:24 +0100 |
commit | 117946646ef51704af9ea5780e8f19f645fbbb12 (patch) | |
tree | 3c6057c9ea5c1f3b68277580fa5d6b4feaf40a37 /meta/recipes-core/systemd | |
parent | 14a0736751741d8df77977356959e10182f452cb (diff) | |
download | poky-117946646ef51704af9ea5780e8f19f645fbbb12.tar.gz |
systemd: change some RRECOMMENDS to RDEPENDS
Set NO_RECOMMENDATIONS to "1", build and start a systemd image, and we
could not get serial getty spawned, thus causing the user not able to
login via serial port.
E.g.
MACHINE=qemux86-64 bitbake core-image-minimal
runqemu qemux86-64 nographic
And we cannot login onto the system.
Move util-linux-agetty and systemd-serialgetty (determined by PACKAGECONFIG)
from RRECOMMENDS to RDEPENDS to fix the above problem.
(From OE-Core rev: 39e78c7615cdaaa8ad61a67d5c5bf7ff877167df)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.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_234.bb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-core/systemd/systemd_234.bb b/meta/recipes-core/systemd/systemd_234.bb index 2736f385cc..2695e15ac6 100644 --- a/meta/recipes-core/systemd/systemd_234.bb +++ b/meta/recipes-core/systemd/systemd_234.bb | |||
@@ -492,13 +492,13 @@ FILES_${PN} = " ${base_bindir}/* \ | |||
492 | 492 | ||
493 | FILES_${PN}-dev += "${base_libdir}/security/*.la ${datadir}/dbus-1/interfaces/ ${sysconfdir}/rpm/macros.systemd" | 493 | FILES_${PN}-dev += "${base_libdir}/security/*.la ${datadir}/dbus-1/interfaces/ ${sysconfdir}/rpm/macros.systemd" |
494 | 494 | ||
495 | RDEPENDS_${PN} += "kmod dbus util-linux-mount udev (= ${EXTENDPKGV})" | 495 | RDEPENDS_${PN} += "kmod dbus util-linux-mount udev (= ${EXTENDPKGV}) util-linux-agetty" |
496 | RDEPENDS_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'serial-getty-generator', '', 'systemd-serialgetty', d)}" | ||
496 | RDEPENDS_${PN} += "volatile-binds update-rc.d" | 497 | RDEPENDS_${PN} += "volatile-binds update-rc.d" |
497 | 498 | ||
498 | RRECOMMENDS_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'serial-getty-generator', '', 'systemd-serialgetty', d)} \ | 499 | RRECOMMENDS_${PN} += "systemd-extra-utils \ |
499 | systemd-extra-utils \ | ||
500 | systemd-compat-units udev-hwdb \ | 500 | systemd-compat-units udev-hwdb \ |
501 | util-linux-agetty util-linux-fsck e2fsprogs-e2fsck \ | 501 | util-linux-fsck e2fsprogs-e2fsck \ |
502 | kernel-module-autofs4 kernel-module-unix kernel-module-ipv6 \ | 502 | kernel-module-autofs4 kernel-module-unix kernel-module-ipv6 \ |
503 | os-release \ | 503 | os-release \ |
504 | " | 504 | " |