nvidia_offline_fix

This commit is contained in:
simono41 2018-05-27 03:24:22 +02:00
parent 35ff43d93f
commit 197d107cbe
2 changed files with 5 additions and 2 deletions

View file

@ -362,7 +362,7 @@ function installation {
fi fi
echo "" echo ""
if [ "${version}" == "libre" ] || [ "${offline}" == "n" ] || [ "${version}" == "manjaro" ]; then if [ "${version}" == "libre" ] || [ "${version}" == "manjaro" ]; then
echo "MODULES=\"i915 radeon ata_generic ata_piix nls_cp437 vfat ext4 btrfs\"" > ${mountpoint}/etc/mkinitcpio.conf echo "MODULES=\"i915 radeon ata_generic ata_piix nls_cp437 vfat ext4 btrfs\"" > ${mountpoint}/etc/mkinitcpio.conf
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
@ -1207,7 +1207,7 @@ if [ "${name}" != "noinstall" ] && [ -z "${installationsfehler}" ]; then
arch-chroot ${mountpoint} chfn -f "${name}" user1 arch-chroot ${mountpoint} chfn -f "${name}" user1
arch-chroot ${mountpoint} passwd user1 arch-chroot ${mountpoint} passwd user1
if [ -f /usr/bin/lightdm ]; then if [ -f ${mountpoint}/usr/bin/lightdm ]; then
mkdir -p ${mountpoint}/etc/lightdm/ mkdir -p ${mountpoint}/etc/lightdm/
cp /opt/${repo}/Xsession /opt/${repo}/keys.conf /opt/${repo}/lightdm-gtk-greeter.conf /opt/${repo}/lightdm.conf /opt/${repo}/users.conf ${mountpoint}/etc/lightdm/ cp /opt/${repo}/Xsession /opt/${repo}/keys.conf /opt/${repo}/lightdm-gtk-greeter.conf /opt/${repo}/lightdm.conf /opt/${repo}/users.conf ${mountpoint}/etc/lightdm/
if [ "${autostart}" == "n" ]; then if [ "${autostart}" == "n" ]; then

View file

@ -25,11 +25,14 @@ grub
htop htop
intel-ucode intel-ucode
iw iw
lib32-nvidia-utils
links links
mkinitcpio-nfs-utils mkinitcpio-nfs-utils
nbd nbd
networkmanager networkmanager
ntp ntp
nvidia
nvidia-utils
openssh openssh
openvpn openvpn
os-prober os-prober