diff options
author | Rafael Marçalo <raroma09@gmail.com> | 2023-02-20 12:55:47 +0000 |
---|---|---|
committer | Rafael Marçalo <raroma09@gmail.com> | 2023-02-20 12:55:47 +0000 |
commit | c638943660d0ed85ef22540e17282260ae920896 (patch) | |
tree | 07f91cd31ee50675581747f6373910952daf0c24 | |
parent | 92b24ab1da0213e6726ec2fa4917a830e4e31bf9 (diff) |
Added debug repo to artix installation
-rwxr-xr-x | abi | 15 |
1 files changed, 13 insertions, 2 deletions
@@ -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 |