No build reason found for SLE-Module-Basesystem:s390x

File nvidia-pre-install of Package x11-tools

#!/bin/sh

echo "blacklist nouveau" > /etc/modprobe.d/nvidia.conf

# recreate initrd without KMS, if the use of KMS is enabled in initrd
if grep -q NO_KMS_IN_INITRD=\"no\" /etc/sysconfig/kernel; then
  sed -i 's/NO_KMS_IN_INITRD.*/NO_KMS_IN_INITRD="yes"/g' /etc/sysconfig/kernel
  mkinitrd
fi

openSUSE Build Service is sponsored by