From: Harald Hoyer Date: Thu, 8 Jul 2010 14:14:55 +0000 (+0200) Subject: dmsquash-live: depend on dm module X-Git-Tag: 007~92 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=06f91665dfc379b051ad4eb18bdddd7bfb9c23e9;p=thirdparty%2Fdracut.git dmsquash-live: depend on dm module --- diff --git a/modules.d/90dmsquash-live/check b/modules.d/90dmsquash-live/check index 54e500720..ae7306e09 100755 --- a/modules.d/90dmsquash-live/check +++ b/modules.d/90dmsquash-live/check @@ -2,7 +2,10 @@ # if dmsetup is not installed, then we cannot support fedora/red hat # style live images -which dmsetup >/dev/null 2>&1 || exit 1 +if [ "$1" = "-d" ]; then + echo dm + exit 0 +fi # a live host-only image doesn't really make a lot of sense if [ "$1" = "-h" ] ; then