From c638943660d0ed85ef22540e17282260ae920896 Mon Sep 17 00:00:00 2001 From: Rafael Marçalo Date: Mon, 20 Feb 2023 12:55:47 +0000 Subject: Added debug repo to artix installation --- abi | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/abi b/abi index 94f9d01..e4186f6 100755 --- a/abi +++ b/abi @@ -569,7 +569,7 @@ if [ "$OS" = "artix" ]; then fi if [ "$OS" = "arch" ]; then - printf "Do you want to multilib repo? [Y/n]" && read -r MULTI + printf "Do you want to enable multilib repo? [Y/n]" && read -r MULTI if [ "$MULTI" != "N" ] && [ "$MULTI" != "n" ]; then printf "[multilib]\nSigLevel = PackageRequired\nInclude = /etc/pacman.d/mirrorlist" >> /mnt/etc/pacman.conf $CHROOTC "pacman --needed --noconfirm -Syu" @@ -577,13 +577,24 @@ if [ "$OS" = "arch" ]; then else if [ "$OS" = "artix" ]; then if [ "$ARCH" != "N" ] && [ "$ARCH" != "n" ]; then - printf "Do you want to multilib repo? [Y/n]" && read -r MULTI + printf "Do you want to enable multilib repo? [Y/n]" && read -r MULTI if [ "$MULTI" != "N" ] && [ "$MULTI" != "n" ]; then printf "\n[lib32]\nInclude = /etc/pacman.d/mirrorlist" >> /mnt/etc/pacman.conf $CHROOTC "pacman --needed --noconfirm -Syu lib32-artix-archlinux-support" printf "\n[multilib]\nInclude = /etc/pacman.d/mirrorlist-arch" >> /mnt/etc/pacman.conf $CHROOTC "pacman --needed --noconfirm -Syu" fi + clear + + printf "Do you want to enable debug repos? [Y/n]" && read -r DEBUG + if [ "$DEBUG" != "N" ] && [ "$DEBUG" != "n" ]; then + printf "\n[system-debug]\nInclude = /etc/pacman.d/mirrorlist-debug" >> /mnt/etc/pacman.conf + printf "\n[world-debug]\nInclude = /etc/pacman.d/mirrorlist-debug" >> /mnt/etc/pacman.conf + printf "\n[galaxy-debug]\nInclude = /etc/pacman.d/mirrorlist-debug" >> /mnt/etc/pacman.conf + printf "\n[lib32-debug]\nInclude = /etc/pacman.d/mirrorlist-debug" >> /mnt/etc/pacman.conf + printf "Server = https://debuginfod.artixlinux.org/\$repo/os/\$arch" >> >> /mnt/etc/pacman.d/mirrorlist-debug + $CHROOTC "pacman --needed --noconfirm -Syu" + fi fi fi fi -- cgit v1.2.3