From 372cb6ed351ea6b0cebab481c168fc168ae7ad437f8aafabe1dfb04a70105e1e Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Tue, 5 Sep 2023 09:28:38 +0000 Subject: [PATCH] - kmp-post.sh/kmp-postun.sh: * add/remove nosimplefb=1 kernel option in order to fix Linux console also on sle15-sp6/Leap 15.6 kernel, which will come with simpledrm support OBS-URL: https://build.opensuse.org/package/show/X11:Drivers:Video:Redesign/nvidia-open-driver-G06-signed?expand=0&rev=46 --- kmp-post.sh | 2 +- kmp-postun.sh | 2 +- nvidia-open-driver-G06-signed.changes | 8 ++++++++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/kmp-post.sh b/kmp-post.sh index c1b3316..7fd3a04 100644 --- a/kmp-post.sh +++ b/kmp-post.sh @@ -28,6 +28,6 @@ for dev in $(ls -d /sys/bus/pci/devices/*); do done # Workaround needed on TW for simpledrm (boo#1201392) -%if 0%{?suse_version} >= 1550 +%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150600 pbl --add-option nosimplefb=1 --config %endif diff --git a/kmp-postun.sh b/kmp-postun.sh index 8ee2e2d..c9c4215 100644 --- a/kmp-postun.sh +++ b/kmp-postun.sh @@ -2,7 +2,7 @@ if [ "$1" = 0 ] ; then # cleanup of bnc# 1000625 rm -f /usr/lib/tmpfiles.d/nvidia-logind-acl-trick-G06.conf # remove TW Workaround for simpledrm during uninstall (boo#1201392) - %if 0%{?suse_version} >= 1550 + %if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150600 pbl --del-option nosimplefb=1 --config %endif fi diff --git a/nvidia-open-driver-G06-signed.changes b/nvidia-open-driver-G06-signed.changes index 2935374..05d6c23 100644 --- a/nvidia-open-driver-G06-signed.changes +++ b/nvidia-open-driver-G06-signed.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue Sep 5 07:58:49 UTC 2023 - Stefan Dirsch + +- kmp-post.sh/kmp-postun.sh: + * add/remove nosimplefb=1 kernel option in order to fix Linux + console also on sle15-sp6/Leap 15.6 kernel, which will come + with simpledrm support + ------------------------------------------------------------------- Mon Aug 28 13:20:15 UTC 2023 - Stefan Dirsch