aboutsummaryrefslogtreecommitdiff
path: root/package/systemd/Config.in
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2019-03-12 22:48:46 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-03-14 22:14:51 +0100
commitaf839d25cb369c01c414eac750ab740c49b2236b (patch)
tree97e48b7c23f3cdd37e482b27d82b4ed6e38e7608 /package/systemd/Config.in
parent4ed7246a597325cea2c5b4624b7c94c67ca8662d (diff)
downloadbuildroot-af839d25cb369c01c414eac750ab740c49b2236b.tar.gz
buildroot-af839d25cb369c01c414eac750ab740c49b2236b.tar.bz2
package/systemd: use util-linux' agetty, drop patch
We currently have a patch that replaces the use of (hard-coded) agetty in systemd, to use just plain getty. That patch dates back to commit f4a5eed474c (Add the systemd package), when util-linux was not a dependency, and we relied on busybox to actually provide getty. But nowadays, util-linux is a mandatory dependency of systemd anyway. agetty is about 42KiB, while busybox' getty is around 5KiB (give or take). That's an extra ~40KiB, but it has to be balanced against the rest of the system: systemd only runs on a glibc system, needs dbus and thus expat, and kmod, that a ~40KiB overhead is barely noticeable (a miminal systemd setup with nothing enabled, on ARM, is already ~20MiB) So, drop our agetty-dropping patch, and forcibly enable agetty in util-linux. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Adam Duskett <aduskett@gmail.com> Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/systemd/Config.in')
-rw-r--r--package/systemd/Config.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/systemd/Config.in b/package/systemd/Config.in
index 920b65db44..490222f376 100644
--- a/package/systemd/Config.in
+++ b/package/systemd/Config.in
@@ -20,6 +20,7 @@ menuconfig BR2_PACKAGE_SYSTEMD
select BR2_PACKAGE_UTIL_LINUX_LIBBLKID
select BR2_PACKAGE_UTIL_LINUX_LIBMOUNT
select BR2_PACKAGE_UTIL_LINUX_BINARIES
+ select BR2_PACKAGE_UTIL_LINUX_AGETTY
select BR2_PACKAGE_UTIL_LINUX_MOUNT
select BR2_PACKAGE_UTIL_LINUX_NOLOGIN
select BR2_PACKAGE_UTIL_LINUX_FSCK