projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4ca564
)
90crypt/parse-crypt.sh: also accept the beginning of the LUKS UUID
author
Harald Hoyer
<harald@redhat.com>
Tue, 30 Aug 2011 12:43:57 +0000
(14:43 +0200)
committer
Harald Hoyer
<harald@redhat.com>
Tue, 30 Aug 2011 12:43:57 +0000
(14:43 +0200)
2e0c003435bbc0751cdf7466c0faebe7bfc7445b
introduced a too strict test
for LUKS UUIDs
modules.d/90crypt/parse-crypt.sh
patch
|
blob
|
history
diff --git
a/modules.d/90crypt/parse-crypt.sh
b/modules.d/90crypt/parse-crypt.sh
index
1e78aa9
..
2ab3a9f
100755
(executable)
--- a/
modules.d/90crypt/parse-crypt.sh
+++ b/
modules.d/90crypt/parse-crypt.sh
@@
-38,7
+38,7
@@
else
} > $hookdir/initqueue/finished/90-crypt.sh
uuid=$luksid
while [ "$uuid" != "${uuid#*-}" ]; do uuid=${uuid%%-*}${uuid#*-}; done
- printf -- '[ "x${UUIDS#*:%s:}" != "x$UUIDS" ] || exit 1\n' $uuid >> $hookdir/initqueue/finished/90-crypt.sh
+ printf -- '[ "x${UUIDS#*:%s
*
:}" != "x$UUIDS" ] || exit 1\n' $uuid >> $hookdir/initqueue/finished/90-crypt.sh
{
printf -- '[ -e /dev/disk/by-uuid/*%s* ] || ' $luksid