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
|
||||
mkdir -p /etc/modprobe.d/
|
||||
echo "blacklist floppy" > /etc/modprobe.d/blacklist-floppy.conf
|
||||
echo "blacklist nouveau" > /etc/modprobe.d/blacklist_nouveau.conf
|
||||
|
||||
# startup
|
||||
cp /opt/${repo}/startup /usr/bin/
|
||||
|
|
|
@ -293,9 +293,10 @@ function installation {
|
|||
fi
|
||||
echo "HOOKS=\"${parameter}\"" >> ${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 "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 /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
|
||||
fi
|
||||
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
|
||||
cp -v install/archiso* ${work_dir}/${arch}/airootfs/usr/lib/initcpio/install/
|
||||
|
|
|
@ -90,6 +90,7 @@ ntfs-3g
|
|||
ntp
|
||||
nvidia-dkms
|
||||
nvidia-libgl
|
||||
nvidia-lts
|
||||
nvidia-settings
|
||||
nvidia-utils
|
||||
onboard
|
||||
|
|
|
@ -89,6 +89,7 @@ ntfs-3g
|
|||
ntp
|
||||
nvidia-dkms
|
||||
nvidia-libgl
|
||||
nvidia-lts
|
||||
nvidia-settings
|
||||
nvidia-utils
|
||||
onboard
|
||||
|
|
|
@ -87,6 +87,7 @@ ntfs-3g
|
|||
ntp
|
||||
nvidia-dkms
|
||||
nvidia-libgl
|
||||
nvidia-lts
|
||||
nvidia-settings
|
||||
nvidia-utils
|
||||
onboard
|
||||
|
|
|
@ -80,6 +80,7 @@ ntfs-3g
|
|||
ntp
|
||||
nvidia-dkms
|
||||
nvidia-libgl
|
||||
nvidia-lts
|
||||
nvidia-settings
|
||||
nvidia-utils
|
||||
opencl-nvidia
|
||||
|
|
|
@ -85,6 +85,7 @@ ntfs-3g
|
|||
ntp
|
||||
nvidia-dkms
|
||||
nvidia-libgl
|
||||
nvidia-lts
|
||||
nvidia-settings
|
||||
nvidia-utils
|
||||
onboard
|
||||
|
|
|
@ -87,6 +87,7 @@ ntfs-3g
|
|||
ntp
|
||||
nvidia-dkms
|
||||
nvidia-libgl
|
||||
nvidia-lts
|
||||
nvidia-settings
|
||||
nvidia-utils
|
||||
onboard
|
||||
|
|
|
@ -87,6 +87,7 @@ ntfs-3g
|
|||
ntp
|
||||
nvidia-dkms
|
||||
nvidia-libgl
|
||||
nvidia-lts
|
||||
nvidia-settings
|
||||
nvidia-utils
|
||||
onboard
|
||||
|
|
|
@ -139,6 +139,7 @@ ntfs-3g
|
|||
ntp
|
||||
nvidia-dkms
|
||||
nvidia-libgl
|
||||
nvidia-lts
|
||||
nvidia-settings
|
||||
nvidia-utils
|
||||
obs-studio
|
||||
|
|
|
@ -84,6 +84,7 @@ ntfs-3g
|
|||
ntp
|
||||
nvidia-dkms
|
||||
nvidia-libgl
|
||||
nvidia-lts
|
||||
nvidia-settings
|
||||
nvidia-utils
|
||||
onboard
|
||||
|
|
Loading…
Reference in a new issue