1
0
mirror of https://gitlab.com/JKANetwork/JKArch.git synced 2026-02-17 10:41:32 +01:00
This commit is contained in:
kprkpr
2016-06-04 16:40:26 +02:00
parent b8c5e0097e
commit a99275c521

View File

@@ -2,7 +2,7 @@
sclang=$1 sclang=$1
source translations.sh source translations.sh
#Try to disable ctrl+C #Try to disable ctrl+C
trap '' INT #trap '' INT
function pause { function pause {
echo "$(T "Pause function")" echo "$(T "Pause function")"
@@ -134,6 +134,7 @@ tput setaf 2 ; echo "Instalando el sistema, esto puede tardar unos 10 minutos, e
sleep 2 sleep 2
$formatoraiz /dev/$particionraiz $formatoraiz /dev/$particionraiz
mount /dev/$particionraiz /mnt/ mount /dev/$particionraiz /mnt/
pause
if [[ $particionhome ]];then if [[ $particionhome ]];then
$formatohome /dev/$particionhome $formatohome /dev/$particionhome
mkdir -p /mnt/home/ mkdir -p /mnt/home/
@@ -143,12 +144,13 @@ if [[ $partefi ]];then
mkdir -p /mnt/boot/efi mkdir -p /mnt/boot/efi
mount /dev/$partefi /mnt/boot/efi/ mount /dev/$partefi /mnt/boot/efi/
fi fi
pause
wget https://gitlab.com/JKANetwork/JKArch/raw/master/archinstall/pacman.conf -O /tmp/pacman.conf wget https://gitlab.com/JKANetwork/JKArch/raw/master/archinstall/pacman.conf -O /tmp/pacman.conf
if [[ $? != 0 ]];then if [[ $? != 0 ]];then
fatalerror "Error de conexion con internet, compruebe la red" fatalerror "Error de conexion con internet, compruebe la red"
fi fi
pacstrap -C /tmp/pacman.conf /mnt/ base btrfs-progs pacstrap -C /tmp/pacman.conf /mnt/ base btrfs-progs
pause
mkdir -p /mnt/root/inst/ mkdir -p /mnt/root/inst/
wget https://gitlab.com/JKANetwork/JKArch/raw/master/archinstall/chrootinstall.sh -O /mnt/root/inst/chrootinstall.sh wget https://gitlab.com/JKANetwork/JKArch/raw/master/archinstall/chrootinstall.sh -O /mnt/root/inst/chrootinstall.sh
if [[ $? != 0 ]];then if [[ $? != 0 ]];then