1
0
mirror of https://gitlab.com/JKANetwork/JKArch.git synced 2026-02-15 09:41:31 +01:00
This commit is contained in:
kprkpr
2016-09-28 20:32:12 +02:00
parent 05e319f1c9
commit d89cb1d0d8

View File

@@ -3,13 +3,6 @@
sclang=$1
source translations.sh
##Offline var
isoffline=0
if [[ ! -z "$2" ]];then
isoffline="$2" #If its offline will be 1
fi
#Try to disable ctrl+C
trap '' INT
#No black screensaver
@@ -17,6 +10,12 @@ setterm -blank 0 -powerdown 0 -powersave off
#Fix para caracteres de dialog, ñ o tildes
export NCURSES_NO_UTF8_ACS=1
##Offline var
isoffline=0
if [[ ! -z "$2" ]];then
isoffline="$2" #If its offline will be 1
fi
function pause {
echo "$(T "Press enter to continue...")"
read
@@ -305,7 +304,6 @@ if [[ $isoffline = "1" ]];then
pacstrap -C pacman-offline.conf /mnt/ base btrfs-progs jkarch-mirrorlist
mv pacman-offline.conf /mnt/etc/pacman.conf #Move pacman.conf (offline) to pacman chroot location
fi
inchroot pacman -Syu jka-toolkit git wget netctl iw wpa_supplicant dialog sudo alsa-utils dosfstools ntfs-3g bash-completion --noconfirm --needed
#Create fstab
genfstab -U /mnt > /mnt/etc/fstab
@@ -333,6 +331,10 @@ mount --bind /run /mnt/run
if [[ $isoffline = 1 ]];then
mount --bind /run/archiso/bootmnt/ /mnt/run/archiso/bootmnt/ # CD bind
fi
inchroot pacman -Syu jka-toolkit git wget netctl iw wpa_supplicant dialog sudo alsa-utils dosfstools ntfs-3g bash-completion --noconfirm --needed #Install base packages
}