mirror of
https://gitlab.com/JKANetwork/JKArch.git
synced 2026-02-19 11:41:31 +01:00
And more...
This commit is contained in:
@@ -323,14 +323,15 @@ if [[ $isoffline = 0 ]];then
|
|||||||
cp -r /etc/netctl/* /mnt/etc/netctl/
|
cp -r /etc/netctl/* /mnt/etc/netctl/
|
||||||
else # Its offline
|
else # Its offline
|
||||||
mv chrootinstall.sh /mnt/root/inst/chrootinstall.sh
|
mv chrootinstall.sh /mnt/root/inst/chrootinstall.sh
|
||||||
mkdir -p /mnt/run/archiso/
|
cp /root/offlinefiles/ /mnt/run/archiso/ # Copy offline files
|
||||||
ln -s /root/offlinefiles/ /mnt/run/archiso/ #Crear link para resto de la instalacion
|
|
||||||
fi
|
fi
|
||||||
chmod +x /mnt/root/inst/chrootinstall.sh
|
chmod +x /mnt/root/inst/chrootinstall.sh
|
||||||
cp translations.sh /mnt/root/inst/translations.sh
|
cp translations.sh /mnt/root/inst/translations.sh
|
||||||
mount --bind /sys /mnt/sys
|
mount --bind /sys /mnt/sys
|
||||||
mount --bind /proc /mnt/proc
|
mount --bind /proc /mnt/proc
|
||||||
mount --bind /dev /mnt/dev
|
mount --bind /dev /mnt/dev
|
||||||
|
mount --bind /run /mnt/run
|
||||||
|
mount --bind /run/archiso/bootmnt/ /mnt/run/archiso/bootmnt/
|
||||||
chroot /mnt /bin/bash -c "./root/inst/chrootinstall.sh $sclang $particionraiz $partefi"
|
chroot /mnt /bin/bash -c "./root/inst/chrootinstall.sh $sclang $particionraiz $partefi"
|
||||||
}
|
}
|
||||||
clear
|
clear
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ fi
|
|||||||
trap '' INT
|
trap '' INT
|
||||||
|
|
||||||
function pause {
|
function pause {
|
||||||
echo "$(T "Pause function")"
|
echo "$(T "Press enter to continue...")"
|
||||||
read
|
read
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user