nvidia-fix
This commit is contained in:
parent
39df91b429
commit
2df801d1f9
12 changed files with 13 additions and 2 deletions
|
@ -311,6 +311,7 @@ gitclone
|
||||||
# modprobe.d
|
# modprobe.d
|
||||||
mkdir -p /etc/modprobe.d/
|
mkdir -p /etc/modprobe.d/
|
||||||
echo "blacklist floppy" > /etc/modprobe.d/blacklist-floppy.conf
|
echo "blacklist floppy" > /etc/modprobe.d/blacklist-floppy.conf
|
||||||
|
echo "blacklist nouveau" > /etc/modprobe.d/blacklist_nouveau.conf
|
||||||
|
|
||||||
# startup
|
# startup
|
||||||
cp /opt/${repo}/startup /usr/bin/
|
cp /opt/${repo}/startup /usr/bin/
|
||||||
|
|
|
@ -293,9 +293,10 @@ function installation {
|
||||||
fi
|
fi
|
||||||
echo "HOOKS=\"${parameter}\"" >> ${mountpoint}/etc/mkinitcpio.conf
|
echo "HOOKS=\"${parameter}\"" >> ${mountpoint}/etc/mkinitcpio.conf
|
||||||
echo "COMPRESSION=\"lz4\"" >> ${mountpoint}/etc/mkinitcpio.conf
|
echo "COMPRESSION=\"lz4\"" >> ${mountpoint}/etc/mkinitcpio.conf
|
||||||
echo "FILES=\"/etc/modprobe.d/blacklist-floppy.conf\"" >> ${mountpoint}/etc/mkinitcpio.conf
|
echo "FILES=\"/etc/modprobe.d/blacklist-floppy.conf /etc/modprobe.d/blacklist_nouveau.conf\"" >> ${mountpoint}/etc/mkinitcpio.conf
|
||||||
echo ""
|
echo ""
|
||||||
echo "blacklist floppy" > ${mountpoint}/etc/modprobe.d/blacklist-floppy.conf
|
echo "blacklist floppy" > ${mountpoint}/etc/modprobe.d/blacklist-floppy.conf
|
||||||
|
echo "blacklist nouveau" > ${mountpoint}/etc/modprobe.d/blacklist_nouveau.conf
|
||||||
echo "tmpfs /tmp tmpfs defaults 0 0" > ${mountpoint}/etc/fstab
|
echo "tmpfs /tmp tmpfs defaults 0 0" > ${mountpoint}/etc/fstab
|
||||||
echo "tmpfs /dev/shm tmpfs defaults 0 0" >> ${mountpoint}/etc/fstab
|
echo "tmpfs /dev/shm tmpfs defaults 0 0" >> ${mountpoint}/etc/fstab
|
||||||
|
|
||||||
|
|
|
@ -101,7 +101,7 @@ function filesystem() {
|
||||||
echo "HOOKS=\"base udev plymouth memdisk archiso_shutdown archiso archiso_loop_mnt archiso_pxe_common archiso_pxe_nbd archiso_pxe_http archiso_pxe_nfs archiso_kms block pcmcia filesystems keyboard cow_device\"" >> ${work_dir}/${arch}/airootfs/etc/mkinitcpio.conf
|
echo "HOOKS=\"base udev plymouth memdisk archiso_shutdown archiso archiso_loop_mnt archiso_pxe_common archiso_pxe_nbd archiso_pxe_http archiso_pxe_nfs archiso_kms block pcmcia filesystems keyboard cow_device\"" >> ${work_dir}/${arch}/airootfs/etc/mkinitcpio.conf
|
||||||
fi
|
fi
|
||||||
echo "COMPRESSION=\"lz4\"" >> ${work_dir}/${arch}/airootfs/etc/mkinitcpio.conf
|
echo "COMPRESSION=\"lz4\"" >> ${work_dir}/${arch}/airootfs/etc/mkinitcpio.conf
|
||||||
echo "FILES=\"/etc/modprobe.d/blacklist-floppy.conf\"" >> ${work_dir}/${arch}/airootfs/etc/mkinitcpio.conf
|
echo "FILES=\"/etc/modprobe.d/blacklist-floppy.conf /etc/modprobe.d/blacklist_nouveau.conf\"" >> ${work_dir}/${arch}/airootfs/etc/mkinitcpio.conf
|
||||||
|
|
||||||
# hooks
|
# hooks
|
||||||
cp -v install/archiso* ${work_dir}/${arch}/airootfs/usr/lib/initcpio/install/
|
cp -v install/archiso* ${work_dir}/${arch}/airootfs/usr/lib/initcpio/install/
|
||||||
|
|
|
@ -90,6 +90,7 @@ ntfs-3g
|
||||||
ntp
|
ntp
|
||||||
nvidia-dkms
|
nvidia-dkms
|
||||||
nvidia-libgl
|
nvidia-libgl
|
||||||
|
nvidia-lts
|
||||||
nvidia-settings
|
nvidia-settings
|
||||||
nvidia-utils
|
nvidia-utils
|
||||||
onboard
|
onboard
|
||||||
|
|
|
@ -89,6 +89,7 @@ ntfs-3g
|
||||||
ntp
|
ntp
|
||||||
nvidia-dkms
|
nvidia-dkms
|
||||||
nvidia-libgl
|
nvidia-libgl
|
||||||
|
nvidia-lts
|
||||||
nvidia-settings
|
nvidia-settings
|
||||||
nvidia-utils
|
nvidia-utils
|
||||||
onboard
|
onboard
|
||||||
|
|
|
@ -87,6 +87,7 @@ ntfs-3g
|
||||||
ntp
|
ntp
|
||||||
nvidia-dkms
|
nvidia-dkms
|
||||||
nvidia-libgl
|
nvidia-libgl
|
||||||
|
nvidia-lts
|
||||||
nvidia-settings
|
nvidia-settings
|
||||||
nvidia-utils
|
nvidia-utils
|
||||||
onboard
|
onboard
|
||||||
|
|
|
@ -80,6 +80,7 @@ ntfs-3g
|
||||||
ntp
|
ntp
|
||||||
nvidia-dkms
|
nvidia-dkms
|
||||||
nvidia-libgl
|
nvidia-libgl
|
||||||
|
nvidia-lts
|
||||||
nvidia-settings
|
nvidia-settings
|
||||||
nvidia-utils
|
nvidia-utils
|
||||||
opencl-nvidia
|
opencl-nvidia
|
||||||
|
|
|
@ -85,6 +85,7 @@ ntfs-3g
|
||||||
ntp
|
ntp
|
||||||
nvidia-dkms
|
nvidia-dkms
|
||||||
nvidia-libgl
|
nvidia-libgl
|
||||||
|
nvidia-lts
|
||||||
nvidia-settings
|
nvidia-settings
|
||||||
nvidia-utils
|
nvidia-utils
|
||||||
onboard
|
onboard
|
||||||
|
|
|
@ -87,6 +87,7 @@ ntfs-3g
|
||||||
ntp
|
ntp
|
||||||
nvidia-dkms
|
nvidia-dkms
|
||||||
nvidia-libgl
|
nvidia-libgl
|
||||||
|
nvidia-lts
|
||||||
nvidia-settings
|
nvidia-settings
|
||||||
nvidia-utils
|
nvidia-utils
|
||||||
onboard
|
onboard
|
||||||
|
|
|
@ -87,6 +87,7 @@ ntfs-3g
|
||||||
ntp
|
ntp
|
||||||
nvidia-dkms
|
nvidia-dkms
|
||||||
nvidia-libgl
|
nvidia-libgl
|
||||||
|
nvidia-lts
|
||||||
nvidia-settings
|
nvidia-settings
|
||||||
nvidia-utils
|
nvidia-utils
|
||||||
onboard
|
onboard
|
||||||
|
|
|
@ -139,6 +139,7 @@ ntfs-3g
|
||||||
ntp
|
ntp
|
||||||
nvidia-dkms
|
nvidia-dkms
|
||||||
nvidia-libgl
|
nvidia-libgl
|
||||||
|
nvidia-lts
|
||||||
nvidia-settings
|
nvidia-settings
|
||||||
nvidia-utils
|
nvidia-utils
|
||||||
obs-studio
|
obs-studio
|
||||||
|
|
|
@ -84,6 +84,7 @@ ntfs-3g
|
||||||
ntp
|
ntp
|
||||||
nvidia-dkms
|
nvidia-dkms
|
||||||
nvidia-libgl
|
nvidia-libgl
|
||||||
|
nvidia-lts
|
||||||
nvidia-settings
|
nvidia-settings
|
||||||
nvidia-utils
|
nvidia-utils
|
||||||
onboard
|
onboard
|
||||||
|
|
Loading…
Reference in a new issue