[PATCH] dracut-functions: fixed ignoring additional modules when -m specified

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 dracut-functions |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dracut-functions b/dracut-functions
index 05e5c5b..9ead6b3 100755
--- a/dracut-functions
+++ b/dracut-functions
@@ -550,7 +550,7 @@ check_modules() {
 	# This should never happen, but...
 	[[ -d $moddir ]] || continue
 	[[ $dracutmodules != all ]] && ! strstr "$dracutmodules" "$mod" && \
-	    continue
+	    ! strstr "$add_dracutmodules" "$mod" && continue
 	strstr "$omit_dracutmodules" "$mod" && continue
 	if ! strstr "$add_dracutmodules" "$mod"; then
 	    should_source_module "$moddir" || continue
-- 
1.7.1.1

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux