fix pacman.conf for new repository

This commit is contained in:
Tobias Powalowski 2022-05-30 18:59:57 +02:00
parent 5b802345b1
commit 1777636695
2 changed files with 2 additions and 1 deletions

View file

@ -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}"

View file

@ -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