mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
fix pacman.conf for new repository
This commit is contained in:
parent
5b802345b1
commit
1777636695
2 changed files with 2 additions and 1 deletions
|
@ -27,6 +27,7 @@ if [[ "${_RUNNING_ARCH}" == "aarch64" ]]; then
|
||||||
fi
|
fi
|
||||||
if [[ "${_RUNNING_ARCH}" == "x86_64" ]]; then
|
if [[ "${_RUNNING_ARCH}" == "x86_64" ]]; then
|
||||||
_aarch64_pacman_chroot "${1}" || exit 1
|
_aarch64_pacman_chroot "${1}" || exit 1
|
||||||
|
_create_pacman_conf "${1}"
|
||||||
_aarch64_install_base_packages "${1}" || exit 1
|
_aarch64_install_base_packages "${1}" || exit 1
|
||||||
_aarch64_install_archboot "${1}" || exit 1
|
_aarch64_install_archboot "${1}" || exit 1
|
||||||
_fix_groups "${1}"
|
_fix_groups "${1}"
|
||||||
|
|
|
@ -95,7 +95,7 @@ _prepare_pacman() {
|
||||||
_create_pacman_conf() {
|
_create_pacman_conf() {
|
||||||
if [[ -z "${_INSTALL_SOURCE}" ]]; then
|
if [[ -z "${_INSTALL_SOURCE}" ]]; then
|
||||||
echo "Use default pacman.conf ..."
|
echo "Use default pacman.conf ..."
|
||||||
_PACMAN_CONF="/etc/pacman.conf"
|
_PACMAN_CONF="${1}/etc/pacman.conf"
|
||||||
echo "[archboot_repo]" >> "${_PACMAN_CONF}"
|
echo "[archboot_repo]" >> "${_PACMAN_CONF}"
|
||||||
echo "Server = https://pkgbuild.com/~tpowa/archboot-repo" >> "${_PACMAN_CONF}"
|
echo "Server = https://pkgbuild.com/~tpowa/archboot-repo" >> "${_PACMAN_CONF}"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue