kumquat-buildroot/package/openrc/Config.in
Yann E. MORIN 4cc586695f package/openrc: needs kmod
openrc provides scripts that have been written for the big-gun kmod, and
so use options unknown to the busybox' provided applets:

  - Busybox modprobe does not have a "--first-time" option,
  - the "--verbose" option is just "-v",
  - the "--use-blacklist" option is just "-b". Also blacklist support is
    not selected in our default busybox configuration.

One of two options, is to "fix" or "adapt" openrc's scripts to busybox,
which means for the openrc package to go peek into files from the
busybox package, which is not nice, and can't work because that is not
available by the time we scan our Makefiles.

The other option, which this patch implements, is to just add a
dependency onto kmod and its tools.

Reported-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Tested-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-29 17:47:47 +01:00

30 lines
982 B
Plaintext

config BR2_PACKAGE_OPENRC
bool "openrc"
depends on BR2_USE_MMU # fork()
depends on !BR2_STATIC_LIBS
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 toolchain w/ dynamic library"
depends on BR2_USE_MMU
depends on BR2_INIT_OPENRC
depends on BR2_STATIC_LIBS