mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
fix chroot creation for aarch64
This commit is contained in:
parent
02eb723db6
commit
847aaa7157
1 changed files with 2 additions and 0 deletions
|
@ -44,6 +44,8 @@ echo "Downloading archlinux ${_ARCH}..."
|
||||||
bsdtar -xf "${_ARCH_VERSION}" -C "${1}"
|
bsdtar -xf "${_ARCH_VERSION}" -C "${1}"
|
||||||
echo "Removing installation tarball..."
|
echo "Removing installation tarball..."
|
||||||
rm "${_ARCH_VERSION}"
|
rm "${_ARCH_VERSION}"
|
||||||
|
sed -i -e '/^\[community\]/ { n ; s/^/#/ }' "${1}"/etc/pacman.conf
|
||||||
|
sed -i -e 's:^\[community\]:#\[community\]:g'"${1}"/etc/pacman.conf
|
||||||
_generate_keyring "${1}" || exit 1
|
_generate_keyring "${1}" || exit 1
|
||||||
_fix_network "${1}"
|
_fix_network "${1}"
|
||||||
# update container to latest packages
|
# update container to latest packages
|
||||||
|
|
Loading…
Reference in a new issue