Amend fstab for btrfs subvolumes

merge-requests/260/head
Chrysostomus 6 years ago
parent fe605d6ce1
commit 04fe891afc

@ -0,0 +1,4 @@
[Dolphin]
PreviewsShown=true
Timestamp=2018,2,7,12,14,19
Version=4

@ -673,6 +673,8 @@ generate_fstab() {
[[ -f ${MOUNTPOINT}/swapfile ]] && sed -i "s/\\${MOUNTPOINT}//" ${MOUNTPOINT}/etc/fstab
fi
fi
# Edit fstab in case of btrfs subvolumes
sed -i "s/subvolid=.*,subvol=\/.*,//g" /mnt/etc/fstab
}
# locale array generation code adapted from the Manjaro 0.8 installer

Loading…
Cancel
Save