From 398f2137bb2b7f6f59152bb1264b820549b6c4b5 Mon Sep 17 00:00:00 2001 From: simono41 Date: Sat, 26 May 2018 02:16:03 +0200 Subject: [PATCH 1/2] fix --- make_mksquashfs-auto.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/make_mksquashfs-auto.sh b/make_mksquashfs-auto.sh index ff0832c..6abfad9 100755 --- a/make_mksquashfs-auto.sh +++ b/make_mksquashfs-auto.sh @@ -49,6 +49,7 @@ if [ "${version}" == "libre" ]; then fi function minimalinstallation() { + pacman -Syu $(cat base.txt) --needed --noconfirm cp mirrorlist* /etc/pacman.d/ if [ "${deletecache}" == "y" ]; then @@ -169,7 +170,7 @@ function IMAGE() { mkdir -p ${work_dir}/iso/${install_dir}/${arch}/airootfs/ - arch-chroot ${work_dir}/${arch}/airootfs /bin/bash < Date: Sat, 26 May 2018 03:00:13 +0200 Subject: [PATCH 2/2] fix --- arch-install | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch-install b/arch-install index ac4c8d8..eb777a7 100755 --- a/arch-install +++ b/arch-install @@ -1155,14 +1155,14 @@ if [ "${name}" != "noinstall" ] && [ -z "${installationsfehler}" ] && [ "${offli arch-chroot ${mountpoint} chfn -f "${name}" user1 arch-chroot ${mountpoint} passwd user1 - if [ "${autostart}" != "n" ]; then - if [ -f /usr/bin/lightdm ]; then - mkdir -p ${mountpoint}/etc/lightdm/ - cp /opt/${repo}/Xsession /opt/${repo}/keys.conf /opt/${repo}/lightdm-gtk-greeter.conf /opt/${repo}/lightdm.conf /opt/${repo}/users.conf ${mountpoint}/etc/lightdm/ + if [ -f /usr/bin/lightdm ]; then + mkdir -p ${mountpoint}/etc/lightdm/ + cp /opt/${repo}/Xsession /opt/${repo}/keys.conf /opt/${repo}/lightdm-gtk-greeter.conf /opt/${repo}/lightdm.conf /opt/${repo}/users.conf ${mountpoint}/etc/lightdm/ + if [ "${autostart}" == "n" ]; then arch-chroot ${mountpoint} systemctl enable lightdm-plymouth.service - else - echo "lightdm nicht vorhanden!!!" fi + else + echo "lightdm nicht vorhanden!!!" fi arch-chroot ${mountpoint} systemctl enable rc-local-shutdown.service