From: Jeremy Katz Date: Mon, 19 Jan 2009 18:57:09 +0000 (-0500) Subject: Import volume info here too (noticed by wtogami with root-on-crypt-lv) X-Git-Tag: 0.1~481 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ce1d00e1668a81d9e9df6a0e99cfde9b5ce30bae;p=thirdparty%2Fdracut.git Import volume info here too (noticed by wtogami with root-on-crypt-lv) --- diff --git a/rules.d/63-luks.rules b/rules.d/63-luks.rules index 4c95c5d04..5d8297b77 100644 --- a/rules.d/63-luks.rules +++ b/rules.d/63-luks.rules @@ -7,6 +7,7 @@ SUBSYSTEM!="block", GOTO="luks_end" ACTION!="add|change", GOTO="luks_end" +KERNEL!="sr*", IMPORT{program}="vol_id --export $tempnode" ENV{ID_FS_TYPE}=="crypto_LUKS", RUN+="/bin/plymouth ask-for-password --command '/sbin/cryptsetup luksOpen $env{DEVNAME} luks-$env{ID_FS_UUID}"