Add mnt symlink
This commit is contained in:
parent
95ed8d1f32
commit
a77d44cd47
1 changed files with 4 additions and 0 deletions
|
@ -170,6 +170,10 @@ if [[ $type == 'archlinux' ]]; then
|
|||
mv $workdir/srv $workdir/var/srv || cleanup_and_quit 'Failed to move srv to var/srv'
|
||||
ln -sv /var/srv $workdir/srv || cleanup_and_quit 'Failed to create srv symlink'
|
||||
|
||||
# mnt symlink
|
||||
mv $workdir/mnt $workdir/var/mnt || cleanup_and_quit 'Failed to move mnt to var/mnt'
|
||||
ln -sv /var/mnt $workdir/mnt || cleanup_and_quit 'Failed to create mnt symlink'
|
||||
|
||||
# Make subvolume read-only
|
||||
printf "\e[1;34m-->\e[0m\e[1m Adding read-only property to subvolumes\e[0m\n"
|
||||
btrfs property set -ts $workdir ro true || cleanup_and_quit 'Failed to set root to read-only'
|
||||
|
|
Loading…
Add table
Reference in a new issue