mirror of
https://gitlab.com/JKANetwork/JKArch.git
synced 2026-02-19 03:31:32 +01:00
changes
This commit is contained in:
@@ -170,16 +170,17 @@ 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
|
pacstrap -C /tmp/pacman.conf /mnt/ base
|
||||||
wget https://gitlab.com/JKANetwork/JKArch/raw/master/archinstall/chrootinstall.sh -O /mnt/root/chrootinstall.sh
|
mkdir -p /mnt/root/inst/
|
||||||
|
wget https://gitlab.com/JKANetwork/JKArch/raw/master/archinstall/chrootinstall.sh -O /mnt/root/inst/chrootinstall.sh
|
||||||
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
|
||||||
chmod +x /mnt/root/chrootinstall.sh
|
chmod +x /mnt/root/inst/chrootinstall.sh
|
||||||
genfstab -U /mnt >> /mnt/etc/fstab
|
genfstab -U /mnt >> /mnt/etc/fstab
|
||||||
cp /etc/netctl/* /mnt/etc/netctl/
|
cp /etc/netctl/* /mnt/etc/netctl/
|
||||||
mv /tmp/pacman.conf /mnt/etc/pacman.conf
|
mv /tmp/pacman.conf /mnt/etc/pacman.conf
|
||||||
argpart=$(echo $particionraiz | cut -c1-3)
|
argpart=$(echo $particionraiz | cut -c1-3)
|
||||||
arch-chroot /mnt /bin/bash -c "./root/chrootinstall.sh $argpart $partefi"
|
arch-chroot /mnt /bin/bash -c "./root/inst/chrootinstall.sh $argpart $partefi"
|
||||||
}
|
}
|
||||||
clear
|
clear
|
||||||
mostrardialog "Script de instalación simple de Arch (BETA)" "Mediante unas preguntas y avanzando, instalaremos arch en su ordenador \n Ha sido pensado para ser simple, y guiado por opciones, pero debes estar atento durante el proceso."
|
mostrardialog "Script de instalación simple de Arch (BETA)" "Mediante unas preguntas y avanzando, instalaremos arch en su ordenador \n Ha sido pensado para ser simple, y guiado por opciones, pero debes estar atento durante el proceso."
|
||||||
|
|||||||
@@ -22,6 +22,10 @@ mostrardialog "Error fatal" "Ha occurrido un error fatal, la instalacion se va a
|
|||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function downloadmods {
|
||||||
|
wget https://gitlab.com/JKANetwork/JKArch/raw/master/mods/splashscreen.zip -O /root/inst/splashscreen.zip
|
||||||
|
}
|
||||||
|
|
||||||
function horaidioma {
|
function horaidioma {
|
||||||
#Idioma
|
#Idioma
|
||||||
echo "Escoja su idioma. Se irá desde la abreviatura general, a la particular"
|
echo "Escoja su idioma. Se irá desde la abreviatura general, a la particular"
|
||||||
@@ -318,9 +322,8 @@ esac
|
|||||||
|
|
||||||
function bootinstall {
|
function bootinstall {
|
||||||
echo "Espere..."
|
echo "Espere..."
|
||||||
wget https://gitlab.com/JKANetwork/JKArch/raw/master/mods/splashscreen/splashscreen -O /usr/bin/
|
unzip -q /root/inst/splashscreen.zip -d /
|
||||||
chmod +x /usr/bin/splashscreen
|
chmod +x /usr/bin/splashscreen
|
||||||
wget https://gitlab.com/JKANetwork/JKArch/raw/master/mods/splashscreen/splashscreen.service -O /etc/systemd/system/
|
|
||||||
systemctl enable splashscreen
|
systemctl enable splashscreen
|
||||||
|
|
||||||
clear
|
clear
|
||||||
@@ -354,6 +357,7 @@ esac
|
|||||||
echo "Configuración de su sistema"
|
echo "Configuración de su sistema"
|
||||||
echo "Paquetes basicos para la instalación, puede tardar un poco"
|
echo "Paquetes basicos para la instalación, puede tardar un poco"
|
||||||
pacman -Syu jka-toolkit git wget netctl iw wpa_supplicant dialog sudo alsa-utils --noconfirm --needed
|
pacman -Syu jka-toolkit git wget netctl iw wpa_supplicant dialog sudo alsa-utils --noconfirm --needed
|
||||||
|
downloadmods
|
||||||
horaidioma
|
horaidioma
|
||||||
|
|
||||||
mkinitcpio -p linux
|
mkinitcpio -p linux
|
||||||
|
|||||||
Reference in New Issue
Block a user