mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
add syncs to avoid fs issues
This commit is contained in:
parent
12c06d228c
commit
68b89ad773
1 changed files with 1 additions and 0 deletions
|
@ -133,6 +133,7 @@ echo "Stop error: lvm pv" >> blockdevices-error.log
|
|||
echo "12345678" >/passphrase
|
||||
cryptsetup -q luksFormat /dev/loop0 </passphrase &>"${_NO_LOG}" ||\
|
||||
echo "Creation error: cryptsetup" >> blockdevices-error.log
|
||||
sync
|
||||
cryptsetup luksOpen /dev/loop0 /dev/mapper/testluks </passphrase &>"${_NO_LOG}" ||\
|
||||
echo "Creation error: cryptsetup open" >> blockdevices-error.log
|
||||
cryptsetup remove /dev/mapper/testluks &>"${_NO_LOG}" ||\
|
||||
|
|
Loading…
Reference in a new issue