2121 docker stop " artix-base" 2> /dev/null ; docker rm " artix-base" 2> /dev/null
2222 docker run --name " artix-base" --privileged " artixlinux/artixlinux:latest" bash -l -c '
2323 #Bootstrap
24- pacman -y --sync --refresh --refresh -- sysupgrade --noconfirm --debug
24+ pacman -y --sync --refresh --sysupgrade --noconfirm --debug
2525 packages="bash binutils curl fakechroot fakeroot gawk git sed wget"
2626 for pkg in $packages; do pacman -Sy "${pkg}" --noconfirm ; done
2727 for pkg in $packages; do pacman -Sy "${pkg}" --needed --noconfirm ; done
5050 echo "en_US.UTF-8 UTF-8" | tee -a "/etc/locale.gen"
5151 echo "LC_ALL=en_US.UTF-8" | tee -a "/etc/environment"
5252 locale-gen ; locale-gen "en_US.UTF-8"
53+ #Chaotic-AUR: https://aur.chaotic.cx/docs
54+ if [[ "$(uname -m | tr -d "[:space:]")" == "x86_64" ]]; then
55+ pacman-key --recv-key "3056513887B78AEB" --keyserver "keyserver.ubuntu.com"
56+ pacman-key --lsign-key "3056513887B78AEB"
57+ pacman -U "https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-keyring.pkg.tar.zst" --noconfirm
58+ pacman -U "https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-mirrorlist.pkg.tar.zst" --noconfirm
59+ echo -e "[chaotic-aur]\nInclude = /etc/pacman.d/chaotic-mirrorlist" | tee -a "/etc/pacman.conf"
60+ fi
5361 #Cleanup
54- pacman -y --sync --refresh --refresh -- sysupgrade --noconfirm
62+ pacman -y --sync --refresh --sysupgrade --noconfirm
5563 pacman -Rsn base-devel --noconfirm
5664 pacman -Rsn perl --noconfirm
5765 pacman -Rsn python --noconfirm
@@ -134,4 +142,4 @@ docker push "pkgforge/artix-base:${D_TAG}"
134142docker push " ghcr.io/pkgforge/devscripts/artix-base:${D_TAG} "
135143docker push " pkgforge/artix-base:$( uname -m) "
136144docker push " ghcr.io/pkgforge/devscripts/artix-base:$( uname -m) "
137- # -------------------------------------------------------#
145+ # -------------------------------------------------------#
0 commit comments