diff options
author | Carlos Santos <casantos@datacom.ind.br> | 2017-09-01 21:41:38 -0300 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-09-02 22:49:12 +0200 |
commit | f52af619185df072c2b43f4d7dc21c70d86b2e2f (patch) | |
tree | 88449369acfbd231138db399e09c5a94f96d6a3d /package/util-linux/Config.in | |
parent | fa46a89fe06aa1039274d7fb2408ee76cf137c97 (diff) | |
download | buildroot-f52af619185df072c2b43f4d7dc21c70d86b2e2f.tar.gz buildroot-f52af619185df072c2b43f4d7dc21c70d86b2e2f.zip |
util-linux: add menu items for login utilities
This change extends to the login utilities the current policy of having
a selection item in the configuration menu for each utility that has an
--enable/--disable knob in the "configure" script:
- add selection items for login, runuser, su and sulogin (there was
already an item for "last")
- move "login utilities" to Config.in.legacy
- make "login utilities" select last, login, runuser, su and sulogin
Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/util-linux/Config.in')
-rw-r--r-- | package/util-linux/Config.in | 45 |
1 files changed, 32 insertions, 13 deletions
diff --git a/package/util-linux/Config.in b/package/util-linux/Config.in index cba590c4f9..b3494af101 100644 --- a/package/util-linux/Config.in +++ b/package/util-linux/Config.in @@ -164,26 +164,25 @@ config BR2_PACKAGE_UTIL_LINUX_LINE help Read one line -config BR2_PACKAGE_UTIL_LINUX_LOGIN_UTILS - bool "login utilities" - depends on BR2_USE_MMU # fork() (login, runuser, su, sulogin) - depends on (BR2_ENABLE_LOCALE && BR2_USE_WCHAR) # linux-pam - depends on !BR2_STATIC_LIBS +config BR2_PACKAGE_UTIL_LINUX_LOGGER + bool "logger" + help + Enter messages into the system log + +config BR2_PACKAGE_UTIL_LINUX_LOGIN + bool "login" + depends on BR2_ENABLE_LOCALE # linux-pam + depends on BR2_USE_WCHAR # linux-pam depends on !BR2_TOOLCHAIN_USES_MUSL # linux-pam - depends on BR2_USE_MMU # linux-pam + depends on BR2_USE_MMU # fork(), linux-pam select BR2_PACKAGE_LINUX_PAM help - Login utilities (last, login, runuser, su, sulogin) + Begin a session on the system -comment "login utilities needs a uClibc or glibc toolchain w/ wchar, locale, dynamic library" +comment "login needs a uClibc or glibc toolchain w/ wchar, locale, dynamic library" depends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR) \ || BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL -config BR2_PACKAGE_UTIL_LINUX_LOGGER - bool "logger" - help - Enter messages into the system log - config BR2_PACKAGE_UTIL_LINUX_LOSETUP bool "losetup" depends on BR2_USE_MMU # libsmartcols @@ -296,6 +295,14 @@ config BR2_PACKAGE_UTIL_LINUX_RESET help Reset the terminal +config BR2_PACKAGE_UTIL_LINUX_RUNUSER + bool "runuser" + depends on BR2_USE_MMU # fork() + help + Run a command with substitute user and group ID (does not need + to ask for a password, because it may be executed by the root + user only) + config BR2_PACKAGE_UTIL_LINUX_SCHEDUTILS bool "scheduling utilities" help @@ -313,6 +320,18 @@ config BR2_PACKAGE_UTIL_LINUX_SETTERM help Set terminal attributes +config BR2_PACKAGE_UTIL_LINUX_SU + bool "su" + depends on BR2_USE_MMU # fork() + help + Run a command with substitute user and group ID + +config BR2_PACKAGE_UTIL_LINUX_SULOGIN + bool "sulogin" + depends on BR2_USE_MMU # fork() + help + Single-user login + config BR2_PACKAGE_UTIL_LINUX_SWITCH_ROOT bool "switch_root" depends on BR2_USE_MMU # fork() |