1
0
mirror of https://gitlab.com/JKANetwork/JKArch.git synced 2026-02-27 15:33:46 +01:00

Offline try

This commit is contained in:
kprkpr
2016-09-22 23:08:58 +02:00
parent c487cddac4
commit 90b276a577
4 changed files with 36 additions and 35 deletions

View File

@@ -295,8 +295,8 @@ if [[ $isoffline = "0" ]];then
fi
if [[ $isoffline = "1" ]];then
tput setaf 2 ; echo "$(T "Installing packages")..." ; tput setaf 9
pacstrap -C /root/pacmanoffline.conf /mnt/ base btrfs-progs jkarch-mirrorlist
mv /root/pacman.conf /mnt/etc/pacman.conf.post #Move pacman.conf to a chroot location
pacstrap -C /root/offlinefiles/pacman-offline.conf /mnt/ base btrfs-progs jkarch-mirrorlist
mv pacman.conf /mnt/etc/pacman.conf.post #Move pacman.conf to a chroot location
fi
@@ -322,6 +322,7 @@ if [[ $isoffline = 0 ]];then
cp -r /etc/netctl/* /mnt/etc/netctl/
else # Its offline
mv /root/chrootinstall.sh /mnt/root/inst/chrootinstall.sh
ln -s /run/archiso/offlinefiles/ offlinefiles/ #Crear link para resto de la instalacion
fi
chmod +x /mnt/root/inst/chrootinstall.sh
cp /root/translations.sh /mnt/root/inst/translations.sh