Magellan Linux

Annotation of /trunk/mcore-tools/mcore-tools-1.0.0-honor-variable-hdmi-configuration-fix.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3249 - (hide annotations) (download)
Fri Nov 16 14:25:07 2018 UTC (5 years, 5 months ago) by niro
File size: 1518 byte(s)
-added fix for fix
1 niro 3249 ------------------------------------------------------------------------
2     r2845 | niro | 2018-11-16 15:24:20 +0100 (Fr, 16. Nov 2018) | 1 Zeile
3    
4     -honor MROOT and fix typos en|disabled -> en|disable
5    
6     Index: mcore-tools/src/modules/basic-video/graphic.client.class.in
7     ===================================================================
8     --- mcore-tools/src/modules/basic-video/graphic.client.class.in (Revision 2844)
9     +++ mcore-tools/src/modules/basic-video/graphic.client.class.in (Revision 2845)
10     @@ -87,12 +87,12 @@
11     write_zotac_quirk=1
12     fi
13    
14     - if [ -f ${MCORE_CONFIG_PATH}/xorg/device/30-hdmi.conf ]
15     + if [ -f ${MROOT}/${MCORE_CONFIG_PATH}/xorg/device/hdmi ]
16     then
17     - source ${MCORE_CONFIG_PATH}/xorg/device/30-hdmi.conf
18     + source ${MROOT}/${MCORE_CONFIG_PATH}/xorg/device/hdmi
19     case "${graphic_hdmi}" in
20     - enabled) write_zotac_quirk=0 ;;
21     - disabled) write_zotac_quirk=1 ;;
22     + enable) write_zotac_quirk=0 ;;
23     + disable) write_zotac_quirk=1 ;;
24     esac
25     fi
26    
27     @@ -254,7 +254,7 @@
28    
29     case "${action}" in
30     enable|disable)
31     - CONFIG="${MCORE_CONFIG_PATH}/xorg/device/30-hdmi.conf"
32     + CONFIG="${MROOT}/${MCORE_CONFIG_PATH}/xorg/device/hdmi"
33     clearconfig
34     addconfig "graphic_hdmi=\"${action}\""
35     ;;
36     @@ -296,7 +296,7 @@
37    
38     get_graphic_hdmi()
39     {
40     - local CONFIG="${MCORE_CONFIG_PATH}/xorg/device/30-hdmi.conf"
41     + local CONFIG="${MROOT}/${MCORE_CONFIG_PATH}/xorg/device/hdmi"
42     if [ -f ${CONFIG} ]
43     then
44     rvecho "$(< ${CONFIG})"
45    
46     ------------------------------------------------------------------------