online-installation
This commit is contained in:
parent
ce5e1551b0
commit
d58f493e5a
5 changed files with 11 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
1
base.txt
1
base.txt
|
@ -40,6 +40,7 @@ squashfs-tools
|
|||
syslinux
|
||||
tar
|
||||
traceroute
|
||||
ttf-dejavu
|
||||
ufw
|
||||
wget
|
||||
wireless_tools
|
||||
|
|
|
@ -40,6 +40,7 @@ squashfs-tools
|
|||
syslinux
|
||||
tar
|
||||
traceroute
|
||||
ttf-dejavu
|
||||
ufw
|
||||
wget
|
||||
wireless_tools
|
||||
|
|
|
@ -41,6 +41,7 @@ squashfs-tools
|
|||
syslinux
|
||||
tar
|
||||
traceroute
|
||||
ttf-dejavu
|
||||
ufw
|
||||
wget
|
||||
wireless_tools
|
||||
|
|
Loading…
Reference in a new issue