mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
update to cryptsetup
This commit is contained in:
parent
630b9d46f9
commit
25ad62b637
1 changed files with 2 additions and 2 deletions
|
@ -132,9 +132,9 @@ echo "Stop error: lvm pv" >> blockdevices-error.log
|
|||
echo "12345678" >/passphrase
|
||||
cryptsetup -q luksFormat /dev/loop0 </passphrase ||\
|
||||
echo "Creation error: cryptsetup" >> blockdevices-error.log
|
||||
cryptsetup luksOpen /dev/loop0 /dev/mapper/testluks </passphrase ||\
|
||||
cryptsetup luksOpen /dev/loop0 testluks </passphrase ||\
|
||||
echo "Creation error: cryptsetup open" >> blockdevices-error.log
|
||||
cryptsetup remove /dev/mapper/testluks ||\
|
||||
cryptsetup remove testluks ||\
|
||||
echo "Stop error: cryptsetup" >> blockdevices-error.log
|
||||
losetup -D
|
||||
rm /test.img
|
||||
|
|
Loading…
Reference in a new issue