From 134a597db77ef479383371d75b42801c7626aa2b Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Fri, 6 Aug 2010 23:15:29 +0200 Subject: Minor changes for the Xserver plugin stuff ... --- os-plugins/plugins/xserver/OpenSLX/Distro/Suse.pm | 3 ++- os-plugins/plugins/xserver/init-hooks/00-started/xserver.sh | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'os-plugins/plugins/xserver') diff --git a/os-plugins/plugins/xserver/OpenSLX/Distro/Suse.pm b/os-plugins/plugins/xserver/OpenSLX/Distro/Suse.pm index 90fe5086..55f42117 100644 --- a/os-plugins/plugins/xserver/OpenSLX/Distro/Suse.pm +++ b/os-plugins/plugins/xserver/OpenSLX/Distro/Suse.pm @@ -42,7 +42,8 @@ sub setupXserverScript $script .= unshiftHereDoc(<<' End-of-Here'); # SuSE specific extension to stage3 xserver.sh # Xorg hardware is autodetected, so no module information provided - sed -e "/Section \"Device\"/,/EndSection/d" -i ${xfc} + [ -z "${xmodule}" ] && \ + sed "/Section \"Device\"/,/EndSection/d" -i ${xfc} testmkd /mnt/etc/X11/xorg.conf.d testmkd /mnt/var/lib/xkb/compiled testmkd /mnt/var/lib/X11 diff --git a/os-plugins/plugins/xserver/init-hooks/00-started/xserver.sh b/os-plugins/plugins/xserver/init-hooks/00-started/xserver.sh index 579e5a9a..3e50b77f 100644 --- a/os-plugins/plugins/xserver/init-hooks/00-started/xserver.sh +++ b/os-plugins/plugins/xserver/init-hooks/00-started/xserver.sh @@ -36,7 +36,8 @@ tabletdetect () { } # hardware detection not really needed for Xorg => 1.7 used in newer versions -# distro distinguishing here not 100% conform to the OpenSLX ideas ... +# distro distinguishing here not 100% conform to the OpenSLX ideas. Hardware +# detection might be needed for proprietary Xorg drivers ... # (clean up expected with rewritten stage3) case ${slxconf_distro_ver} in "10.04"|"11.3") -- cgit v1.2.3-55-g7522