Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- /usr/lib/dracut/modules.d/90crypt/parse-crypt.sh.orig 2021-02-23 16:11:01.000000000 +0100
- +++ /usr/lib/dracut/modules.d/90crypt/parse-crypt.sh 2021-10-03 09:05:33.178542183 +0200
- @@ -164,7 +164,7 @@
- if [ $is_keysource -eq 0 ]; then
- uuid=$luksid
- while [ "$uuid" != "${uuid#*-}" ]; do uuid=${uuid%%-*}${uuid#*-}; done
- - printf -- '[ -e /dev/disk/by-id/dm-uuid-CRYPT-LUKS?-*%s*-* ] || exit 1\n' $uuid \
- + printf -- '[ -e /dev/disk/by-id/dm-uuid-CRYPT-LUKS?-*%s*-* -o -e /dev/mapper/%s ] || exit 1\n' $uuid $luksname \
- >> "$hookdir/initqueue/finished/90-crypt.sh"
- {
- printf -- '[ -e /dev/disk/by-uuid/*%s* ] || ' $luksid
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement