From 7ee24b6776032bcb1e29270c0dbf2f1f4ee77fb1 Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Sat, 8 Jun 2013 16:43:47 +0200 Subject: [PATCH] Revert "initrd.scripts: busybox depmod doesn't support -v even though it declares so" This reverts commit f3570c39577573b3dcd8c77720a292fa6b89a022. --- defaults/initrd.scripts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts index da55c30..ca149e5 100644 --- a/defaults/initrd.scripts +++ b/defaults/initrd.scripts @@ -116,7 +116,12 @@ plymouth_newroot() { # fragile. See bug #472312 busybox_depmod_workaround() { local depmod_args - [ -n "${QUIET}" ] && depmod_args="-q" + if [ -n "${DEBUG}" ] + then + depmod_args="-v" + elif [ -n "${QUIET}" ]; then + depmod_args="-q" + fi depmod ${depmod_args} }