nvidia-fix

This commit is contained in:
simono41 2018-04-02 04:14:38 +02:00
parent 39df91b429
commit 2df801d1f9
12 changed files with 13 additions and 2 deletions

View file

@ -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/

View file

@ -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

View file

@ -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/

View file

@ -90,6 +90,7 @@ ntfs-3g
ntp
nvidia-dkms
nvidia-libgl
nvidia-lts
nvidia-settings
nvidia-utils
onboard

View file

@ -89,6 +89,7 @@ ntfs-3g
ntp
nvidia-dkms
nvidia-libgl
nvidia-lts
nvidia-settings
nvidia-utils
onboard

View file

@ -87,6 +87,7 @@ ntfs-3g
ntp
nvidia-dkms
nvidia-libgl
nvidia-lts
nvidia-settings
nvidia-utils
onboard

View file

@ -80,6 +80,7 @@ ntfs-3g
ntp
nvidia-dkms
nvidia-libgl
nvidia-lts
nvidia-settings
nvidia-utils
opencl-nvidia

View file

@ -85,6 +85,7 @@ ntfs-3g
ntp
nvidia-dkms
nvidia-libgl
nvidia-lts
nvidia-settings
nvidia-utils
onboard

View file

@ -87,6 +87,7 @@ ntfs-3g
ntp
nvidia-dkms
nvidia-libgl
nvidia-lts
nvidia-settings
nvidia-utils
onboard

View file

@ -87,6 +87,7 @@ ntfs-3g
ntp
nvidia-dkms
nvidia-libgl
nvidia-lts
nvidia-settings
nvidia-utils
onboard

View file

@ -139,6 +139,7 @@ ntfs-3g
ntp
nvidia-dkms
nvidia-libgl
nvidia-lts
nvidia-settings
nvidia-utils
obs-studio

View file

@ -84,6 +84,7 @@ ntfs-3g
ntp
nvidia-dkms
nvidia-libgl
nvidia-lts
nvidia-settings
nvidia-utils
onboard