Create @boot before syncing
This commit is contained in:
parent
43debd7a5b
commit
a7eb0e5658
1 changed files with 1 additions and 0 deletions
|
@ -51,6 +51,7 @@ function create_subvolumes() {
|
||||||
${cmd} mount "$RootPart" /mnt
|
${cmd} mount "$RootPart" /mnt
|
||||||
|
|
||||||
if [[ "$BootPart" == "@boot" ]]; then
|
if [[ "$BootPart" == "@boot" ]]; then
|
||||||
|
${cmd} btrfs subvolume create /mnt/@boot
|
||||||
${cmd} rsync -avhHi --delete-after "/mnt/@/boot/" "/mnt/@boot/"
|
${cmd} rsync -avhHi --delete-after "/mnt/@/boot/" "/mnt/@boot/"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue