fickit: Use dm-crypt key is not changed during updates
This commit is contained in:
parent
e8c5b540d1
commit
a80dd34d1b
4 changed files with 30 additions and 7 deletions
|
|
@ -34,8 +34,10 @@ files:
|
|||
mdadm --auto-detect
|
||||
mdadm --assemble /dev/md2 /dev/sd*1
|
||||
BOOT_PART=/dev/md2
|
||||
META_PART=/dev/md3
|
||||
else
|
||||
BOOT_PART=/dev/sda1
|
||||
META_PART=/dev/sda2
|
||||
fi
|
||||
|
||||
ip link set eth0 up
|
||||
|
|
@ -59,7 +61,7 @@ files:
|
|||
done
|
||||
|
||||
mount "${BOOT_PART}" /boot/ &&
|
||||
/root/update_imgs "${GW}" ||
|
||||
/root/update_imgs "${GW}" "${META_PART}" ||
|
||||
/bin/ash
|
||||
|
||||
umount /boot &&
|
||||
|
|
|
|||
Reference in a new issue