All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/4] adapt openrc "modules" script to busybox modprobe
@ 2020-02-27 12:39 unixmania at gmail.com
  2020-02-27 12:39 ` [Buildroot] [PATCH 1/4] Makefile: add SED_QUIET unixmania at gmail.com
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: unixmania at gmail.com @ 2020-02-27 12:39 UTC (permalink / raw)
  To: buildroot

From: Carlos Santos <unixmania@gmail.com>

The busybox modprobe does not have a "--first-time" option, "--verbose" is
just "-v" and "--use-blacklist" is just "-b". Also the blacklist support is
not selected in the default busybox configuration. So we need to patch the
modules scripts accordingly.

Patch 1 adds SED_QUIET, used by the KCONFIG_GET_OPT macro, in patch 2.

Patch 2 adds a KCONFIG_GET_OPT macro. Given a config name and a file, it
returns the config value, if set; otherwise returns an empty string.

Patch 3 adapts the "modules" init script to busybox "modprobe".

Patch 4 documents the use of BUSYBOX_BUILD_CONFIG in openrc.mk.

Carlos Santos (4):
  Makefile: add SED_QUIET
  package/pkg-utils.mk: add KCONFIG_GET_OPT macro
  package/openrc: adapt "modules" init script to busybox "modprobe"
  package/busybox: document the use of BUSYBOX_BUILD_CONFIG in openrc.mk

 Makefile                   |  4 +++-
 package/busybox/busybox.mk |  2 ++
 package/openrc/openrc.mk   | 27 ++++++++++++++++++++++++---
 package/pkg-utils.mk       |  4 ++++
 4 files changed, 33 insertions(+), 4 deletions(-)

-- 
2.18.2

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

end of thread, other threads:[~2020-02-27 20:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-27 12:39 [Buildroot] [PATCH 0/4] adapt openrc "modules" script to busybox modprobe unixmania at gmail.com
2020-02-27 12:39 ` [Buildroot] [PATCH 1/4] Makefile: add SED_QUIET unixmania at gmail.com
2020-02-27 12:39 ` [Buildroot] [PATCH 2/4] package/pkg-utils.mk: add KCONFIG_GET_OPT macro unixmania at gmail.com
2020-02-27 12:39 ` [Buildroot] [PATCH 3/4] package/openrc: adapt "modules" init script to busybox "modprobe" unixmania at gmail.com
2020-02-27 17:27   ` Thomas Petazzoni
2020-02-27 18:57     ` Carlos Santos
2020-02-27 20:16       ` Carlos Santos
2020-02-27 12:39 ` [Buildroot] [PATCH 4/4] package/busybox: document the use of BUSYBOX_BUILD_CONFIG in openrc.mk unixmania at gmail.com

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.