diff --git a/scripts_archlinux/04_install_qubes.sh b/scripts_archlinux/04_install_qubes.sh index 9c3ab86..7973857 100755 --- a/scripts_archlinux/04_install_qubes.sh +++ b/scripts_archlinux/04_install_qubes.sh @@ -14,9 +14,9 @@ su -c "echo 'Include = /etc/pacman.d/mirrorlist' >> $INSTALLDIR/etc/pacman.conf" echo "--> Registering Qubes custom repository" cat >> $INSTALLDIR/etc/pacman.conf <> $INSTALLDIR/etc/fstab < Configuring system to our preferences" +# Name network devices using simple names (ethX) +ln -s /dev/null $INSTALLDIR/etc/udev/rules.d/80-net-name-slot.rules +# Initialize encoding to qubes standards +ln -s /etc/sysconfig/i18n $INSTALLDIR/etc/locale.conf +# Enable some locales (incl. UTF-8 +sed 's/#en_US/en_US/g' -i $INSTALLDIR/etc/locale.gen +./mnt_archlinux_dvd/usr/bin/arch-chroot $INSTALLDIR sh -c "locale-gen" + + mkdir -p $INSTALLDIR/lib/modules # Creating a random file in /lib/modules to ensure that the directory in never deleted when packages are removed touch $INSTALLDIR/lib/modules/QUBES diff --git a/scripts_archlinux/09_cleanup.sh b/scripts_archlinux/09_cleanup.sh index 7913424..bbe195d 100755 --- a/scripts_archlinux/09_cleanup.sh +++ b/scripts_archlinux/09_cleanup.sh @@ -18,6 +18,9 @@ echo "--> Cleaning up linux kernel" ./mnt_archlinux_dvd/usr/bin/arch-chroot $INSTALLDIR pacman --noconfirm -Rsc linux ./mnt_archlinux_dvd/usr/bin/arch-chroot $INSTALLDIR pacman --noconfirm -S linux-firmware +# Disable qubes local repository +sed '/QubesTMP/d' -i $INSTALLDIR/etc/pacman.conf + # Clean pacman cache ./mnt_archlinux_dvd/usr/bin/arch-chroot $INSTALLDIR pacman --noconfirm -Scc