From: Harald Hoyer Date: Thu, 29 Jul 2010 14:35:31 +0000 (+0200) Subject: crypt: strip "luks-" from rd_LUKS_UUID X-Git-Tag: 007~59 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3f62b2637cee5bbe0e74eed054fd1e14fdf64a21;p=thirdparty%2Fdracut.git crypt: strip "luks-" from rd_LUKS_UUID --- diff --git a/modules.d/90crypt/parse-crypt.sh b/modules.d/90crypt/parse-crypt.sh index a3600795b..9615e731a 100755 --- a/modules.d/90crypt/parse-crypt.sh +++ b/modules.d/90crypt/parse-crypt.sh @@ -16,6 +16,7 @@ else if [ -n "$LUKS" ]; then for luksid in $LUKS; do + luksid=${luksid##luks-} { printf 'ENV{ID_FS_TYPE}=="crypto_LUKS", ' printf 'ENV{ID_FS_UUID}=="*%s*", ' $luksid