diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2008-10-13 12:42:29 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2008-10-13 12:42:29 +0000 |
commit | b931451833b8db09153265b0c02c70dbf7bae8ba (patch) | |
tree | 5b2e8704fb9f89e45f9e7e65af3b9807d84cddf9 /package/busybox/busybox-1.12.1-modprobe.patch | |
parent | bd3dd7b6b9b82660877b9ce4cc45c72b941f4dac (diff) | |
download | buildroot-novena-b931451833b8db09153265b0c02c70dbf7bae8ba.tar.gz buildroot-novena-b931451833b8db09153265b0c02c70dbf7bae8ba.zip |
busybox: add 1.12.1 modprobe fix
Diffstat (limited to 'package/busybox/busybox-1.12.1-modprobe.patch')
-rw-r--r-- | package/busybox/busybox-1.12.1-modprobe.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/package/busybox/busybox-1.12.1-modprobe.patch b/package/busybox/busybox-1.12.1-modprobe.patch new file mode 100644 index 000000000..02be10745 --- /dev/null +++ b/package/busybox/busybox-1.12.1-modprobe.patch @@ -0,0 +1,33 @@ +diff -urN busybox-1.12.1/modutils/modprobe.c busybox-1.12.1-modprobe/modutils/modprobe.c +--- busybox-1.12.1/modutils/modprobe.c 2008-09-28 20:04:15.000000000 +0200 ++++ busybox-1.12.1-modprobe/modutils/modprobe.c 2008-10-10 14:36:58.000000000 +0200 +@@ -263,9 +263,9 @@ + return TRUE; + } + +-static int include_conf_recursive(struct include_conf_t *conf, const char *filename) ++static int include_conf_recursive(struct include_conf_t *conf, const char *filename, int flags) + { +- return recursive_action(filename, ACTION_RECURSE, ++ return recursive_action(filename, ACTION_RECURSE | flags, + include_conf_file_act, + include_conf_dir_act, + conf, 1); +@@ -362,7 +362,7 @@ + char *includefile; + + includefile = skip_whitespace(line_buffer + 8); +- include_conf_recursive(conf, includefile); ++ include_conf_recursive(conf, includefile, 0); + } else if (ENABLE_FEATURE_MODPROBE_BLACKLIST && + (is_conf_command(line_buffer, "blacklist"))) { + char *mod; +@@ -559,7 +559,7 @@ + if (ENABLE_FEATURE_2_6_MODULES) { + if (include_conf_file(&conf, "/etc/modprobe.conf")) + r = TRUE; +- if (include_conf_recursive(&conf, "/etc/modprobe.d")) ++ if (include_conf_recursive(&conf, "/etc/modprobe.d", ACTION_QUIET)) + r = TRUE; + } + if (ENABLE_FEATURE_2_4_MODULES && !r) |