diff --git a/arch-graphical-install-auto.sh b/arch-graphical-install-auto.sh index 44100b9..5d4aa8c 100755 --- a/arch-graphical-install-auto.sh +++ b/arch-graphical-install-auto.sh @@ -593,10 +593,6 @@ if ! [ -f "/etc/X11/xorg.conf.d/40-libinput.conf" ]; then ln -s /usr/share/X11/xorg.conf.d/40-libinput.conf /etc/X11/xorg.conf.d/40-libinput.conf fi -if [ "${archisoinstall}" == "y" ]; then - links -fi - su ${user} -c "chezmoi init --apply https://git.spectreos.de/simono41/dotfiles.git" su ${user} -c "chezmoi update -v" @@ -672,6 +668,8 @@ if [ "${archisoinstall}" == "y" ]; then echo "ExecStart=" >> ${mountpoint}/etc/systemd/system/getty\@tty1.service.d/autologin.conf echo "ExecStart=-/usr/bin/agetty --autologin ${user} -s %I 115200,38400,9600 vt102" >> ${mountpoint}/etc/systemd/system/getty\@tty1.service.d/autologin.conf + links + pacman -Qq > /pkglist.txt if [ $(ls /var/cache/pacman/pkg | wc -w) -gt 0 ]; then rm -R /var/cache/pacman/pkg/* diff --git a/make_mksquashfs-auto.sh b/make_mksquashfs-auto.sh index 34a1542..192af32 100755 --- a/make_mksquashfs-auto.sh +++ b/make_mksquashfs-auto.sh @@ -66,7 +66,7 @@ function mount_chroot() { function system() { - pacman -Sy arch-install-scripts squashfs-tools dosfstools libisoburn --needed + pacman -Sy arch-install-scripts squashfs-tools dosfstools libisoburn --needed --noconfirm if [ "${makesystem}" == "y" ]; then mkdir -p ${work_dir}/${arch}/airootfs