diff --git a/usr/bin/archboot-aarch64-create-container.sh b/usr/bin/archboot-aarch64-create-container.sh index 8050d3f4b..f2410f434 100755 --- a/usr/bin/archboot-aarch64-create-container.sh +++ b/usr/bin/archboot-aarch64-create-container.sh @@ -27,6 +27,7 @@ if [[ "${_RUNNING_ARCH}" == "aarch64" ]]; then fi if [[ "${_RUNNING_ARCH}" == "x86_64" ]]; then _aarch64_pacman_chroot "${1}" || exit 1 + _create_pacman_conf "${1}" _aarch64_install_base_packages "${1}" || exit 1 _aarch64_install_archboot "${1}" || exit 1 _fix_groups "${1}" diff --git a/usr/lib/archboot/container.sh b/usr/lib/archboot/container.sh index b51fd35b9..ae702b221 100644 --- a/usr/lib/archboot/container.sh +++ b/usr/lib/archboot/container.sh @@ -95,7 +95,7 @@ _prepare_pacman() { _create_pacman_conf() { if [[ -z "${_INSTALL_SOURCE}" ]]; then echo "Use default pacman.conf ..." - _PACMAN_CONF="/etc/pacman.conf" + _PACMAN_CONF="${1}/etc/pacman.conf" echo "[archboot_repo]" >> "${_PACMAN_CONF}" echo "Server = https://pkgbuild.com/~tpowa/archboot-repo" >> "${_PACMAN_CONF}" else