From d58f493e5ae4ad6c8708eeba75a7bc99d9ed02d7 Mon Sep 17 00:00:00 2001 From: simono41 Date: Sun, 27 May 2018 02:41:02 +0200 Subject: [PATCH] online-installation --- arch-graphical-install-auto | 2 ++ arch-install | 8 ++++++-- base.txt | 1 + base_libre.txt | 1 + base_manjaro.txt | 1 + 5 files changed, 11 insertions(+), 2 deletions(-) diff --git a/arch-graphical-install-auto b/arch-graphical-install-auto index 00fbb6c..0dcdbf9 100755 --- a/arch-graphical-install-auto +++ b/arch-graphical-install-auto @@ -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 diff --git a/arch-install b/arch-install index 964e3d2..209a8e9 100755 --- a/arch-install +++ b/arch-install @@ -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 diff --git a/base.txt b/base.txt index dd29366..1b398c8 100755 --- a/base.txt +++ b/base.txt @@ -40,6 +40,7 @@ squashfs-tools syslinux tar traceroute +ttf-dejavu ufw wget wireless_tools diff --git a/base_libre.txt b/base_libre.txt index f00a4a2..b042aad 100755 --- a/base_libre.txt +++ b/base_libre.txt @@ -40,6 +40,7 @@ squashfs-tools syslinux tar traceroute +ttf-dejavu ufw wget wireless_tools diff --git a/base_manjaro.txt b/base_manjaro.txt index 60b90bb..18f7025 100755 --- a/base_manjaro.txt +++ b/base_manjaro.txt @@ -41,6 +41,7 @@ squashfs-tools syslinux tar traceroute +ttf-dejavu ufw wget wireless_tools