diff options
author | maximilian attems <maks@debian.org> | 2009-11-08 22:06:28 +0100 |
---|---|---|
committer | maximilian attems <maks@debian.org> | 2009-11-08 22:11:55 +0100 |
commit | c0d14c1245e96be8757ad4a42bf4cbfa9521dc81 (patch) | |
tree | 909fa2cff4cd292db4632fd71fecc6a95febc828 | |
parent | a2127d339d78d2ea2779b24d0f42f6203777df72 (diff) | |
download | initramfs-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-functions | 2 |
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 |