mirror of
https://gitlab.com/JKANetwork/JKArch.git
synced 2026-06-14 12:26:10 +02:00
changes
This commit is contained in:
@@ -11,7 +11,12 @@ local msgd
|
||||
titled=$1
|
||||
msgd=$2
|
||||
dialog --title "$titled" --msgbox "$msgd" 15 60
|
||||
}
|
||||
|
||||
function fatalerror {
|
||||
razon=$1
|
||||
mostrardialog "Error fatal" "Ha occurrido un error fatal, la instalacion se va a detener \n Razon: $razon"
|
||||
exit
|
||||
}
|
||||
|
||||
function particiones {
|
||||
@@ -161,8 +166,14 @@ mount /dev/$partefi /mnt/boot/efi/
|
||||
fi
|
||||
|
||||
wget https://gitlab.com/JKANetwork/JKArch/raw/master/archinstall/pacman.conf -O /tmp/pacman.conf
|
||||
if [[ $? != 0 ]];then
|
||||
fatalerror "Error de conexion con internet, compruebe la red"
|
||||
fi
|
||||
pacstrap -C /tmp/pacman.conf /mnt/ base
|
||||
wget https://gitlab.com/JKANetwork/JKArch/raw/master/archinstall/chrootinstall.sh -O /mnt/root/chrootinstall.sh
|
||||
if [[ $? != 0 ]];then
|
||||
fatalerror "Error de conexion con internet, compruebe la red"
|
||||
fi
|
||||
chmod +x /mnt/root/chrootinstall.sh
|
||||
genfstab -U /mnt >> /mnt/etc/fstab
|
||||
cp /etc/netctl/* /mnt/etc/netctl/
|
||||
|
||||
Reference in New Issue
Block a user