mirror of
https://github.com/bhaiest/holoiso.git
synced 2024-11-15 07:42:48 +01:00
Installer: Fix default grub entry
This commit is contained in:
parent
ed74e52c8d
commit
b074af50a1
@ -186,7 +186,7 @@ full_install() {
|
||||
elif [[ "${HOLO_GPU_TYPE}" == "3" ]]; then
|
||||
echo "Installing gamescope for NVIDIA GPUs..."
|
||||
GAMESCOPE_INSTALL=(/usr/bin/pacman --noconfirm -S --needed --overwrite="*" holoiso/nvidia-utils holoiso/nvidia-dkms holoiso/opencl-nvidia gamescope)
|
||||
GRUB_UPD_CMD=(sed -i 's/splash/splash nvidia-drm.modeset=1/g' ${HOLO_INSTALL_DIR}/etc/grub.d/10_linux)
|
||||
sed -i 's/splash/splash nvidia-drm.modeset=1/g' ${HOLO_INSTALL_DIR}/etc/default/grub
|
||||
break
|
||||
else
|
||||
echo -e "You have made an invalid selection, please try again...\n"
|
||||
@ -208,7 +208,6 @@ full_install() {
|
||||
arch-chroot ${HOLO_INSTALL_DIR} ${CMD_PACMAN_INSTALL} flatpak packagekit-qt5 rsync unzip vim
|
||||
arch-chroot ${HOLO_INSTALL_DIR} flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
||||
arch-chroot ${HOLO_INSTALL_DIR} echo "recoveryinit" > /root/.bashrc
|
||||
${GRUB_UPD_CMD}
|
||||
arch-chroot ${HOLO_INSTALL_DIR} grub-mkconfig -o /boot/grub/grub.cfg
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user