diff --git a/arch-install.sh b/arch-install.sh index 4f50a1b..8ba38a7 100755 --- a/arch-install.sh +++ b/arch-install.sh @@ -1239,6 +1239,9 @@ function abfrage() { read -p "Should you autologin in youre System? : [Y/n] " autologin [[ -z "${autologin}" ]] && autologin=y + read -p "Should you start Sway (default) or I3? : [SWAY/I3] " autostartdesktop + [[ -z "${autostartdesktop}" ]] && autostartdesktop=sway + if lspci | grep -e VGA -e 3D -m 1 | grep NVIDIA; then read -p "Will you have activate youre Nvidia driver? : [y/N] " nvidia fi @@ -1618,6 +1621,7 @@ if [ "${nvidia}" == "y" ]; then fi if [ "${amd}" == "y" ]; then + arch-chroot ${mountpoint} pacman -Sy lib32-amdvlk amdvlk opencl-mesa lib32-opencl-mesa --needed --noconfirm # https://wiki.archlinux.org/title/Vulkan#Selecting_Vulkan_driver echo "VK_ICD_FILENAMES=\"/usr/share/vulkan/icd.d/amd_icd64.json\"" >> ${mountpoint}/etc/environment fi diff --git a/make_mksquashfs-auto.sh b/make_mksquashfs-auto.sh index a60e7ec..11a961c 100755 --- a/make_mksquashfs-auto.sh +++ b/make_mksquashfs-auto.sh @@ -64,7 +64,7 @@ function mount_chroot() { function system() { - pacman -Syu arch-install-scripts squashfs-tools dosfstools libisoburn --needed --noconfirm + pacman -Sy arch-install-scripts squashfs-tools dosfstools libisoburn --needed --noconfirm if [ "${makesystem}" == "y" ]; then mkdir -p ${work_dir}/${arch}/airootfs diff --git a/packages.txt b/packages.txt index 17414f5..f230709 100644 --- a/packages.txt +++ b/packages.txt @@ -74,6 +74,7 @@ lib32-vulkan-validation-layers libheif libreoffice-fresh libva-intel-driver intel-media-driver org.freedesktop.secrets gnome-keyring +lib32-amdvlk amdvlk opencl-mesa lib32-opencl-mesa gamescope steam nvtop libva-mesa-driver lib32-libva-mesa-driver mesa-vdpau lib32-mesa-vdpau libvdpau-va-gl libwacom xf86-input-wacom man man-pages man-pages-de