kumquat-buildroot/package/openrc/Config.in
Fabrice Fontaine 273b634f24 package/openrc: fix uclibc handling
Fix issues spotted by Yann E. Morin in commit
ca169d1d0a:
 - BR2_TOOLCHAIN_BUILDROOT_UCLIBC -> BR2_TOOLCHAIN_USES_UCLIBC
 - Add dependency to openrc package and not only to init system

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2023-11-29 10:00:43 +01:00

31 lines
1.0 KiB
Plaintext

config BR2_PACKAGE_OPENRC
bool "openrc"
depends on BR2_USE_MMU # fork()
depends on !BR2_STATIC_LIBS
depends on !BR2_TOOLCHAIN_USES_UCLIBC
depends on BR2_INIT_OPENRC
select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # kmod tools
select BR2_PACKAGE_KMOD # runtime
select BR2_PACKAGE_KMOD_TOOLS # runtime
select BR2_PACKAGE_NCURSES
help
Init that works on top of pid 1 (for example
openrc-init). By default it does quite a lot on startup
(like setting hwclock, mounting directories, configuring
interfaces and so on). So for this init to properly work you
need at least these tools on the root filesystem (default
busybox configuration provides them all):
swapon, fsck, hwclock, getty, login, grep, mount, coreutils,
procps, modprobe (kmod), net-tools
Number of tools may be decreased by removing services that
use them.
https://github.com/OpenRC/openrc
comment "openrc needs a glibc or musl toolchain w/ dynamic library"
depends on BR2_USE_MMU
depends on BR2_INIT_OPENRC
depends on BR2_STATIC_LIBS && BR2_TOOLCHAIN_USES_UCLIBC