Skip to content

adapt openrc "modules" script to busybox modprobe

unixmania at gmail.com buildroot 2 versions New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 0 repliesNew
  2. v14 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Makefile: add SED_QUIETMakefile+3 -10 replies
2/4package/pkg-utils.mk: add KCONFIG_GET_OPT macropackage/pkg-utils.mk+4 -00 replies
3/4package/openrc: adapt "modules" init script to busybox "modprobe"package/openrc/openrc.mk+25 -31 reply
4/4package/busybox.mk: document the use of variables in openrc.mkpackage/busybox/busybox.mk+4 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [Buildroot] [PATCH v2 0/4] adapt openrc "modules" script to busybox modprobe

From: Carlos Santos <[email protected]>

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.mk variables 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.mk: document the use of variables in openrc.mk

 Makefile                   |  4 +++-
 package/busybox/busybox.mk |  4 ++++
 package/openrc/openrc.mk   | 28 +++++++++++++++++++++++++---
 package/pkg-utils.mk       |  4 ++++
 4 files changed, 36 insertions(+), 4 deletions(-)
Signature · 1 line
2.18.2