Author: pierre Date: Fri Aug 21 05:42:39 2020 New Revision: 23592 Log: Fix polkit detection of elogind (again!)
Modified: trunk/BOOK/postlfs/security/polkit.xml Modified: trunk/BOOK/postlfs/security/polkit.xml ============================================================================== --- trunk/BOOK/postlfs/security/polkit.xml Fri Aug 21 05:19:40 2020 (r23591) +++ trunk/BOOK/postlfs/security/polkit.xml Fri Aug 21 05:42:39 2020 (r23592) @@ -73,6 +73,12 @@ <bridgehead renderas="sect3">Additional Downloads</bridgehead> <itemizedlist spacing="compact"> + <listitem revision="sysv"> + <para> + Recommended patch: + <ulink url="&patch-root;/polkit-&polkit-version;-fix_elogind_detection-1.patch"/> + </para> + </listitem> <listitem> <para> Recommended file for tests: @@ -188,6 +194,14 @@ <screen><userinput>sed -i "s:/sys/fs/cgroup/systemd/:/sys:g" configure</userinput></screen> </note> + <para revision="sysv"> + Fix an issue introduced in recent <application>Polkit</application> + releases with elogind: + </para> + +<screen revision="sysv"><userinput>patch -Np1 -i ../polkit-&polkit-version;-fix_elogind_detection-1.patch && +autoreconf -fi</userinput></screen> + <para> Install <application>Polkit</application> by running the following commands: @@ -205,7 +219,7 @@ --localstatedir=/var \ --disable-static \ --with-os-type=LFS \ - --enable-libsystemd-login=no && + --disable-libsystemd-login && make</userinput></screen> <para> @@ -229,6 +243,12 @@ <sect2 role="commands"> <title>Command Explanations</title> + <para revision="sysv"> + <parameter>--disable-libsystemd-login</parameter>: This switch forces + polkit to build with elogind support (if available) rather than + systemd-logind. + </para> + <para> <option>--with-authfw=shadow</option>: This switch enables the package to use the <application>Shadow</application> rather than the @@ -242,11 +262,6 @@ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../../xincludes/gtk-doc-rebuild.xml"/> - <para revision="sysv"> - <parameter>--enable-libsystemd-login=no</parameter>: This switch forces - polkit to build with elogind support (if available) rather than systemd. - </para> - </sect2> <sect2 role="configuration"> -- http://lists.linuxfromscratch.org/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page