From c0d14c1245e96be8757ad4a42bf4cbfa9521dc81 Mon Sep 17 00:00:00 2001 From: maximilian attems Date: Sun, 8 Nov 2009 22:06:28 +0100 Subject: 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 Signed-off-by: maximilian attems --- hook-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hook-functions') 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 -- cgit v1.2.3