summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2009-11-08 22:06:28 +0100
committermaximilian attems <maks@debian.org>2009-11-08 22:11:55 +0100
commitc0d14c1245e96be8757ad4a42bf4cbfa9521dc81 (patch)
tree909fa2cff4cd292db4632fd71fecc6a95febc828
parenta2127d339d78d2ea2779b24d0f42f6203777df72 (diff)
downloadinitramfs-tools-c0d14c1245e96be8757ad4a42bf4cbfa9521dc81.tar.gz
initramfs-tools-c0d14c1245e96be8757ad4a42bf4cbfa9521dc81.zip
mkinitramfs: Be opportunistic when calling modprobe thus showing errors
don't suppress the modprobe error output!!! this can happen when your depmod was generated by newer m-i-t then Lenny's. make deb-pkg generated images don't call yet depmod -a in postinst thus it can happend there and it was already triggered. (closes: #554873) Reported-by: Michael Prokop <mika@debian.org> Signed-off-by: maximilian attems <maks@debian.org>
-rw-r--r--hook-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/hook-functions b/hook-functions
index 9e3eef2..bd9e06a 100644
--- a/hook-functions
+++ b/hook-functions
@@ -45,7 +45,7 @@ manual_add_modules()
local mam_x firmwares firmware
for mam_x in $(modprobe --set-version="${version}" --ignore-install \
- --show-depends "${1}" 2>/dev/null | awk '/^insmod/ { print $2 }'); do
+ --quiet --show-depends "${1}" | awk '/^insmod/ { print $2 }'); do
# Prune duplicates
if [ -e "${DESTDIR}/${mam_x}" ]; then
continue