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 WantedBy=multi-user.target" > /etc/systemd/system/rc-local-shutdown.service
touch $RCLOCALSHUTDOWN touch $RCLOCALSHUTDOWN
chmod +x $RCLOCALSHUTDOWN chmod +x $RCLOCALSHUTDOWN
systemctl enable rc-local-shutdown.service
if ! grep '#!' $RCLOCALSHUTDOWN; then if ! grep '#!' $RCLOCALSHUTDOWN; then
echo "#!/bin/bash" > $RCLOCALSHUTDOWN echo "#!/bin/bash" > $RCLOCALSHUTDOWN
fi fi
if [ "$version" != "lite" ]; then if [ "$version" != "lite" ]; then
### custom-installer ### custom-installer

View file

@ -28,6 +28,12 @@ function minimalinstallation() {
pacstrap -c -d -G -M ${mountpoint} $(cat /opt/${repo}/base.txt) pacstrap -c -d -G -M ${mountpoint} $(cat /opt/${repo}/base.txt)
fi 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() { function gitclone() {
@ -1170,8 +1176,6 @@ if [ "${name}" != "noinstall" ] && [ -z "${installationsfehler}" ] && [ "${offli
echo "lightdm nicht vorhanden!!!" echo "lightdm nicht vorhanden!!!"
fi fi
arch-chroot ${mountpoint} systemctl enable rc-local-shutdown.service
fi fi
if [ "${update}" != "n" ] && [ "${offline}" == "n" ] || [ -n "${installationsfehler}" ]; then if [ "${update}" != "n" ] && [ "${offline}" == "n" ] || [ -n "${installationsfehler}" ]; then

View file

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

View file

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

View file

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