mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 14:47:17 +08:00
LXDM-0.5.0 fixes: Now, hopefully, it is the definive localization fix.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@14187 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
2019fa9676
commit
b43538ae04
@ -109,9 +109,7 @@
|
||||
First, fix some files.
|
||||
</para>
|
||||
|
||||
<screen><userinput>mv -vi pam/lxdm{,.orig} &&
|
||||
|
||||
cat > pam/lxdm << "EOF" &&
|
||||
<screen><userinput>cat > pam/lxdm << "EOF" &&
|
||||
<literal>#%PAM-1.0
|
||||
auth required pam_unix.so
|
||||
auth requisite pam_nologin.so
|
||||
@ -120,6 +118,7 @@ password required pam_unix.so
|
||||
session required pam_unix.so</literal>
|
||||
EOF
|
||||
|
||||
sed -i 's:sysconfig/i18n:profile.d/i18n.sh:g' data/lxdm.in &&
|
||||
sed -i 's/^bg/#&/' data/lxdm.conf.in</userinput></screen>
|
||||
|
||||
<para>
|
||||
@ -141,9 +140,7 @@ make</userinput></screen>
|
||||
Now, as the <systemitem class="username">root</systemitem> user:
|
||||
</para>
|
||||
|
||||
<screen role="root"><userinput>make install &&
|
||||
sed 's:/etc/sysconfig/i18n:/etc/profile.d/i18n.sh:g' \
|
||||
-i /usr/sbin/lxdm</userinput></screen>
|
||||
<screen role="root"><userinput>make install</userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
@ -161,6 +158,11 @@ sed 's:/etc/sysconfig/i18n:/etc/profile.d/i18n.sh:g' \
|
||||
default one.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<command>sed -i data/lxdm.in</command>: Fix greeter's locale for BLFS
|
||||
specification.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<option>--with-pam</option>: This option enables use of pam
|
||||
authentication.
|
||||
@ -171,11 +173,6 @@ sed 's:/etc/sysconfig/i18n:/etc/profile.d/i18n.sh:g' \
|
||||
systemd.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<command>sed ... -i /usr/sbin/lxdm</command>: Fix <command>lxdm</command>
|
||||
greeter to user locale.
|
||||
</para>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 role="configuration">
|
||||
|
Loading…
Reference in New Issue
Block a user