projects
/
live-boot-grml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
becd19e
)
Do not leak modprobe options to avoid booting errors with kernel options like libata...
author
Michael Prokop
<mika@grml.org>
Fri, 2 Apr 2010 14:35:40 +0000
(16:35 +0200)
committer
Daniel Baumann
<daniel@debian.org>
Wed, 9 Mar 2011 16:48:08 +0000
(17:48 +0100)
scripts/live-helpers
patch
|
blob
|
history
diff --git
a/scripts/live-helpers
b/scripts/live-helpers
index
6777f99
..
d82efa5
100644
(file)
--- a/
scripts/live-helpers
+++ b/
scripts/live-helpers
@@
-187,7
+187,11
@@
setup_loop ()
local encryption=${5}
local readonly=${6}
- modprobe -q -b "${module}"
+ # the output of setup_loop is evaluated in other functions,
+ # modprobe leaks kernel options like "libata.dma=0"
+ # as "options libata dma=0" on stdout, causing serious
+ # problems therefor, so instead always avoid output to stdout
+ modprobe -q -b "${module}" 1>/dev/null
udevadm settle