Bind mount workdir
This commit is contained in:
parent
15bb611ee8
commit
544d7d0da8
1 changed files with 1 additions and 0 deletions
|
@ -153,6 +153,7 @@ if [[ $type == 'archlinux' ]]; then
|
|||
# Create temporary Btrfs subvolume
|
||||
printf "\e[1;34m-->\e[0m\e[1m Creating temporary Btrfs subvolumes at $workdir\e[0m\n"
|
||||
btrfs subvolume create $workdir/ || cleanup_and_quit "Failed to create btrfs subvolume $workdir)"
|
||||
mount --bind $workdir $workdir || cleanup_and_exit "Failed to bind mount disk $workdir"
|
||||
btrfs subvolume create $workdir/etc || cleanup_and_quit "Failed to create btrfs subvolume $workdir/etc)"
|
||||
btrfs subvolume create $workdir/var || cleanup_and_quit "Failed to create btrfs subvolume $workdir/var)"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue