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.
|
First, fix some files.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<screen><userinput>mv -vi pam/lxdm{,.orig} &&
|
<screen><userinput>cat > pam/lxdm << "EOF" &&
|
||||||
|
|
||||||
cat > pam/lxdm << "EOF" &&
|
|
||||||
<literal>#%PAM-1.0
|
<literal>#%PAM-1.0
|
||||||
auth required pam_unix.so
|
auth required pam_unix.so
|
||||||
auth requisite pam_nologin.so
|
auth requisite pam_nologin.so
|
||||||
@ -120,6 +118,7 @@ password required pam_unix.so
|
|||||||
session required pam_unix.so</literal>
|
session required pam_unix.so</literal>
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
sed -i 's:sysconfig/i18n:profile.d/i18n.sh:g' data/lxdm.in &&
|
||||||
sed -i 's/^bg/#&/' data/lxdm.conf.in</userinput></screen>
|
sed -i 's/^bg/#&/' data/lxdm.conf.in</userinput></screen>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
@ -141,9 +140,7 @@ make</userinput></screen>
|
|||||||
Now, as the <systemitem class="username">root</systemitem> user:
|
Now, as the <systemitem class="username">root</systemitem> user:
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<screen role="root"><userinput>make install &&
|
<screen role="root"><userinput>make install</userinput></screen>
|
||||||
sed 's:/etc/sysconfig/i18n:/etc/profile.d/i18n.sh:g' \
|
|
||||||
-i /usr/sbin/lxdm</userinput></screen>
|
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
@ -161,6 +158,11 @@ sed 's:/etc/sysconfig/i18n:/etc/profile.d/i18n.sh:g' \
|
|||||||
default one.
|
default one.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
<command>sed -i data/lxdm.in</command>: Fix greeter's locale for BLFS
|
||||||
|
specification.
|
||||||
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
<option>--with-pam</option>: This option enables use of pam
|
<option>--with-pam</option>: This option enables use of pam
|
||||||
authentication.
|
authentication.
|
||||||
@ -171,11 +173,6 @@ sed 's:/etc/sysconfig/i18n:/etc/profile.d/i18n.sh:g' \
|
|||||||
systemd.
|
systemd.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
|
||||||
<command>sed ... -i /usr/sbin/lxdm</command>: Fix <command>lxdm</command>
|
|
||||||
greeter to user locale.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 role="configuration">
|
<sect2 role="configuration">
|
||||||
|
Loading…
Reference in New Issue
Block a user