Create @boot before syncing

This commit is contained in:
Eric Renfro 2024-07-02 16:15:57 -04:00
parent 43debd7a5b
commit a7eb0e5658
Signed by: psi-jack
SSH key fingerprint: SHA256:1TKB8Z257L8EHK8GWNxKgMhD8a+FAR+f+j3nnlcuNVM

View file

@ -51,6 +51,7 @@ function create_subvolumes() {
${cmd} mount "$RootPart" /mnt
if [[ "$BootPart" == "@boot" ]]; then
${cmd} btrfs subvolume create /mnt/@boot
${cmd} rsync -avhHi --delete-after "/mnt/@/boot/" "/mnt/@boot/"
fi