diff options
Diffstat (limited to 'chapter06/systemd.xml')
-rw-r--r-- | chapter06/systemd.xml | 38 |
1 files changed, 23 insertions, 15 deletions
diff --git a/chapter06/systemd.xml b/chapter06/systemd.xml index 76ed51378..922017a01 100644 --- a/chapter06/systemd.xml +++ b/chapter06/systemd.xml @@ -45,11 +45,11 @@ <screen><userinput remap="pre">sed -i "s:blkid/::" $(grep -rl "blkid/blkid.h")</userinput></screen> - <para>Apply the following patch so that compat - <command>pkg-config</command> files get installed without installing compat - libs which are useless on LFS:</para> + <para>Fix a potential security issue with framebuffer devices:</para> -<screen><userinput remap="pre">patch -Np1 -i ../&systemd-compat-patch;</userinput></screen> +<screen><userinput remap="pre">sed -e 's@DRI and frame buffer@DRI@' \ + -e '/SUBSYTEM==\"graphics\", KERNEL==\"fb\*\"/d' \ + -i src/login/70-uaccess.rules</userinput></screen> <para>Disable two tests that always fail:</para> @@ -87,17 +87,18 @@ EOF</userinput></screen> <para>Prepare systemd for compilation:</para> -<screen><userinput remap="configure">./configure --prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --config-cache \ - --with-rootprefix= \ - --with-rootlibdir=/lib \ - --enable-split-usr \ - --disable-firstboot \ - --disable-ldconfig \ - --disable-sysusers \ - --without-python \ +<screen><userinput remap="configure">./configure --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --config-cache \ + --with-rootprefix= \ + --with-rootlibdir=/lib \ + --enable-split-usr \ + --disable-firstboot \ + --disable-ldconfig \ + --disable-sysusers \ + --without-python \ + --with-default-dnssec=no \ --docdir=/usr/share/doc/systemd-&systemd-version;</userinput></screen> <variablelist> @@ -171,6 +172,13 @@ EOF</userinput></screen> </listitem> </varlistentry> + <varlistentry> + <term><parameter>--with-default-dnssec=no</parameter></term> + <listitem> + <para>This switch turns off the experimental DNSSEC suport.</para> + </listitem> + </varlistentry> + </variablelist> <para>Compile the package:</para> |