Mageia Bugzilla – Attachment 8026 Details for
Bug 17223
Live: language + timezone + keyboard choice screens missing and in the boot screen, the language choice offers only English
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
Patch to enable finish-install to run when using gdm
prefdm.patch (text/plain), 713 bytes, created by
Martin Whitaker
on 2016-06-19 10:14:33 CEST
(
hide
)
Description:
Patch to enable finish-install to run when using gdm
Filename:
MIME Type:
Creator:
Martin Whitaker
Created:
2016-06-19 10:14:33 CEST
Size:
713 bytes
patch
obsolete
>--- etc/X11/prefdm.orig 2016-06-18 22:10:00.949688255 +0100 >+++ etc/X11/prefdm 2016-06-18 23:41:48.068809678 +0100 >@@ -67,6 +67,17 @@ > > shopt -s execfail > >+if [ "$dm" = "GNOME" ]; then >+ [ -f /etc/sysconfig/firstboot ] && . /etc/sysconfig/firstboot >+ [ -f /etc/sysconfig/finish-install ] && . /etc/sysconfig/finish-install >+ grep -q '\binstall\b' /proc/cmdline >+ RETVAL=$? >+ >+ if [ \( "x$FINISH_INSTALL" = "xyes" -a -x /usr/sbin/finish-install \) -o \( "x$FIRSTBOOT" = "xyes" -a -x /usr/bin/mozilla-firefox \) -o \( $RETVAL = 0 \) ]; then >+ /usr/bin/xinit /etc/X11/xdm/Xsetup_0 >+ fi >+fi >+ > preferred=`/etc/X11/lookupdm "$dm"` > [ -n "$preferred" ] && exec $preferred "$@" >/dev/null 2>&1 </dev/null >
--- etc/X11/prefdm.orig 2016-06-18 22:10:00.949688255 +0100 +++ etc/X11/prefdm 2016-06-18 23:41:48.068809678 +0100 @@ -67,6 +67,17 @@ shopt -s execfail +if [ "$dm" = "GNOME" ]; then + [ -f /etc/sysconfig/firstboot ] && . /etc/sysconfig/firstboot + [ -f /etc/sysconfig/finish-install ] && . /etc/sysconfig/finish-install + grep -q '\binstall\b' /proc/cmdline + RETVAL=$? + + if [ \( "x$FINISH_INSTALL" = "xyes" -a -x /usr/sbin/finish-install \) -o \( "x$FIRSTBOOT" = "xyes" -a -x /usr/bin/mozilla-firefox \) -o \( $RETVAL = 0 \) ]; then + /usr/bin/xinit /etc/X11/xdm/Xsetup_0 + fi +fi + preferred=`/etc/X11/lookupdm "$dm"` [ -n "$preferred" ] && exec $preferred "$@" >/dev/null 2>&1 </dev/null
View Attachment As Raw
Actions:
View
Attachments on
bug 17223
:
7999
|
8026
|
8085
|
8866