Variantdir not workdir
This commit is contained in:
parent
dcbe6c86dc
commit
763f3a39f2
1 changed files with 2 additions and 2 deletions
|
@ -185,8 +185,8 @@ if [[ $type == 'archlinux' ]]; then
|
||||||
readarray bootstrap_packages < $variantdir/bootstrap.list
|
readarray bootstrap_packages < $variantdir/bootstrap.list
|
||||||
printf '\e[1;34m-->\e[0m\e[1m Installing base packages\e[0m\n'
|
printf '\e[1;34m-->\e[0m\e[1m Installing base packages\e[0m\n'
|
||||||
# If pacman.conf is available in overlay, use it
|
# If pacman.conf is available in overlay, use it
|
||||||
if [[ -f $workdir/overlay/etc/pacman.conf ]]; then
|
if [[ -f $variantdir/overlay/etc/pacman.conf ]]; then
|
||||||
pacstrap -c -C $workdir/overlay/etc/pacman.conf $workdir ${bootstrap_packages[*]} || cleanup_and_quit 'Failed to install secondary package list'
|
pacstrap -c -C $variantdir/overlay/etc/pacman.conf $workdir ${bootstrap_packages[*]} || cleanup_and_quit 'Failed to install secondary package list'
|
||||||
else
|
else
|
||||||
pacstrap -c $workdir ${bootstrap_packages[*]} || cleanup_and_quit 'Failed to install secondary package list'
|
pacstrap -c $workdir ${bootstrap_packages[*]} || cleanup_and_quit 'Failed to install secondary package list'
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue