online-installation

This commit is contained in:
simono41 2018-05-27 02:41:02 +02:00
parent ce5e1551b0
commit d58f493e5a
5 changed files with 11 additions and 2 deletions

View file

@ -614,11 +614,13 @@ RemainAfterExit=yes
WantedBy=multi-user.target" > /etc/systemd/system/rc-local-shutdown.service
touch $RCLOCALSHUTDOWN
chmod +x $RCLOCALSHUTDOWN
systemctl enable rc-local-shutdown.service
if ! grep '#!' $RCLOCALSHUTDOWN; then
echo "#!/bin/bash" > $RCLOCALSHUTDOWN
fi
if [ "$version" != "lite" ]; then
### custom-installer

View file

@ -28,6 +28,12 @@ function minimalinstallation() {
pacstrap -c -d -G -M ${mountpoint} $(cat /opt/${repo}/base.txt)
fi
# aurinstaller
cp /opt/${repo}/aurinstall.sh ${mountpoint}/usr/bin/aurinstaller
chmod +x ${mountpoint}/usr/bin/aurinstaller
arch-chroot ${mountpoint} su "$username" -c "aurinstaller "https://aur.archlinux.org/plymouth.git""
}
function gitclone() {
@ -1170,8 +1176,6 @@ if [ "${name}" != "noinstall" ] && [ -z "${installationsfehler}" ] && [ "${offli
echo "lightdm nicht vorhanden!!!"
fi
arch-chroot ${mountpoint} systemctl enable rc-local-shutdown.service
fi
if [ "${update}" != "n" ] && [ "${offline}" == "n" ] || [ -n "${installationsfehler}" ]; then

View file

@ -40,6 +40,7 @@ squashfs-tools
syslinux
tar
traceroute
ttf-dejavu
ufw
wget
wireless_tools

View file

@ -40,6 +40,7 @@ squashfs-tools
syslinux
tar
traceroute
ttf-dejavu
ufw
wget
wireless_tools

View file

@ -41,6 +41,7 @@ squashfs-tools
syslinux
tar
traceroute
ttf-dejavu
ufw
wget
wireless_tools