Author: fernando
Date: Sun Apr 27 16:21:41 2014
New Revision: 13001

Log:
Fix Polkit-0.112 build, now that systemd is installed by LFS but system may be 
running sysvinit.

Modified:
   trunk/BOOK/postlfs/security/polkit.xml

Modified: trunk/BOOK/postlfs/security/polkit.xml
==============================================================================
--- trunk/BOOK/postlfs/security/polkit.xml      Sun Apr 27 16:02:27 2014        
(r13000)
+++ trunk/BOOK/postlfs/security/polkit.xml      Sun Apr 27 16:21:41 2014        
(r13001)
@@ -129,11 +129,12 @@
       commands:
     </para>
 
-<screen><userinput>./configure --prefix=/usr        \
-            --sysconfdir=/etc    \
-            --localstatedir=/var \
-            --disable-static     \
-            --with-authfw=shadow &amp;&amp;
+<screen><userinput>./configure --prefix=/usr             \
+            --sysconfdir=/etc         \
+            --localstatedir=/var      \
+            --disable-static          \
+            --enable-libsystemd-login \
+            --with-authfw=shadow      &amp;&amp;
 make</userinput></screen>
 
     <para>
@@ -156,10 +157,16 @@
     <title>Command Explanations</title>
 
     <para>
+      <parameter>--enable-libsystemd-login</parameter>: This parameter fixes
+      building with <application>systemd</application>, if the system is 
running
+      <application>sysvinit</application>.
+    </para>
+
+    <para>
       <parameter>--with-authfw=shadow</parameter>: This parameter configures 
the
       package to use the <application>Shadow</application> rather than the
-      <application>Linux PAM</application> Authentication framework. Remove it 
if
-      you would like to use <application>Linux PAM</application>.
+      <application>Linux PAM</application> Authentication framework. Remove it
+      if you would like to use <application>Linux PAM</application>.
     </para>
 
     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude";
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to