insystem-install
This commit is contained in:
parent
7184f8b425
commit
7c6d6e1faa
1 changed files with 10 additions and 4 deletions
14
arch-install
14
arch-install
|
@ -230,13 +230,19 @@ function installation {
|
||||||
#installation
|
#installation
|
||||||
if [ "${offline}" != "n" ]
|
if [ "${offline}" != "n" ]
|
||||||
then
|
then
|
||||||
if [ -f /run/archiso/bootmnt/arch/$(uname -m)/airootfs.sfs ]
|
if [ -f /run/archiso/bootmnt/arch/$(uname -m)/airootfs.sfs ]; then
|
||||||
then
|
|
||||||
echo "Es ist kein copytoram System."
|
echo "Es ist kein copytoram System."
|
||||||
unsquashfs -f -d ${mountpoint} /run/archiso/bootmnt/arch/$(uname -m)/airootfs.sfs
|
unsquashfs -f -d ${mountpoint} /run/archiso/bootmnt/arch/$(uname -m)/airootfs.sfs
|
||||||
else
|
elif [ -f /run/archiso/copytoram/airootfs.sfs ]; then
|
||||||
echo "Es ist ein copytoram System."
|
echo "Es ist ein copytoram System."
|
||||||
unsquashfs -f -d ${mountpoint} /run/archiso/copytoram/airootfs.sfs
|
unsquashfs -f -d ${mountpoint} /run/archiso/copytoram/airootfs.sfs
|
||||||
|
else
|
||||||
|
read -p "Wo ist die airootfs.sfs? Bitte den kompletten Pfad angeben oder die onlineinstallation wählen? [/airootfs.sfs/online] : " installationfehler
|
||||||
|
if [ "${installationfehler}" == "online" ]; then
|
||||||
|
minimalinstallation
|
||||||
|
else
|
||||||
|
unsquashfs -f -d ${mountpoint} ${installationfehler}
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
minimalinstallation
|
minimalinstallation
|
||||||
|
@ -997,7 +1003,7 @@ else
|
||||||
arch-chroot ${mountpoint} systemctl disable x11vnc.service
|
arch-chroot ${mountpoint} systemctl disable x11vnc.service
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${update}" != "n" ] && [ "${offline}" == "n" ]; then
|
if [ "${update}" != "n" ] && [ "${offline}" == "n" ] || [ "${installationfehler}" == "online" ]; then
|
||||||
read -p "Soll die erweiterte Installation durchgeführt werden? [Y/n] " graphical
|
read -p "Soll die erweiterte Installation durchgeführt werden? [Y/n] " graphical
|
||||||
if [ "$graphical" != "n" ]
|
if [ "$graphical" != "n" ]
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in a new issue