Correction to @boot move

This commit is contained in:
Eric Renfro 2024-07-02 16:14:14 -04:00
parent f1e1e4432b
commit 1dfd547d82
Signed by: psi-jack
SSH key fingerprint: SHA256:1TKB8Z257L8EHK8GWNxKgMhD8a+FAR+f+j3nnlcuNVM

View file

@ -46,15 +46,14 @@ function create_subvolumes() {
local cmd="" local cmd=""
fi fi
if [[ "$BootPart" == "@boot" ]]; then
#subvols+=("@boot")
${cmd} rsync -avhHi --delete-after "/mnt/@/boot/" "/mnt/@boot/"
fi
subvols+=("${!SUBVOLS_DEFAULT[@]}") subvols+=("${!SUBVOLS_DEFAULT[@]}")
${cmd} mount "$RootPart" /mnt ${cmd} mount "$RootPart" /mnt
if [[ "$BootPart" == "@boot" ]]; then
${cmd} rsync -avhHi --delete-after "/mnt/@/boot/" "/mnt/@boot/"
fi
if [[ "$SWAP" ]]; then if [[ "$SWAP" ]]; then
${cmd} btrfs subvolume create /mnt/@swap ${cmd} btrfs subvolume create /mnt/@swap
fi fi