Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/openrc: needs kmod
@ 2020-02-28 20:25 Yann E. MORIN
  2020-02-28 21:47 ` Carlos Santos
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Yann E. MORIN @ 2020-02-28 20:25 UTC (permalink / raw)
  To: buildroot

openrc provides scritps that have been written for the big-gun kmod, and
so use options unknown to the biusybox' 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>
---
 package/openrc/Config.in | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/package/openrc/Config.in b/package/openrc/Config.in
index 796858f404..4691be63a2 100644
--- a/package/openrc/Config.in
+++ b/package/openrc/Config.in
@@ -3,6 +3,9 @@ config BR2_PACKAGE_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
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-03-14 17:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-28 20:25 [Buildroot] [PATCH] package/openrc: needs kmod Yann E. MORIN
2020-02-28 21:47 ` Carlos Santos
2020-02-29  9:38   ` Yann E. MORIN
2020-02-29 12:13     ` Carlos Santos
2020-02-29 16:45 ` Peter Korsgaard
2020-03-14 17:51 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox