Correction to @boot move
This commit is contained in:
parent
f1e1e4432b
commit
1dfd547d82
1 changed files with 4 additions and 5 deletions
|
@ -46,15 +46,14 @@ function create_subvolumes() {
|
|||
local cmd=""
|
||||
fi
|
||||
|
||||
if [[ "$BootPart" == "@boot" ]]; then
|
||||
#subvols+=("@boot")
|
||||
${cmd} rsync -avhHi --delete-after "/mnt/@/boot/" "/mnt/@boot/"
|
||||
fi
|
||||
|
||||
subvols+=("${!SUBVOLS_DEFAULT[@]}")
|
||||
|
||||
${cmd} mount "$RootPart" /mnt
|
||||
|
||||
if [[ "$BootPart" == "@boot" ]]; then
|
||||
${cmd} rsync -avhHi --delete-after "/mnt/@/boot/" "/mnt/@boot/"
|
||||
fi
|
||||
|
||||
if [[ "$SWAP" ]]; then
|
||||
${cmd} btrfs subvolume create /mnt/@swap
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue