Ignore:
Timestamp:
Jun 24, 2014, 10:06:08 AM (10 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-3.0.0-systemd, master, systemd
Children:
b27af42
Parents:
b0c53c0
Message:

Avoid running setcap during systemd installation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/systemd.xml

    rb0c53c0 r62afd55  
    3333<screen os="p2"><userinput>patch -Np1 -i ../&systemd-compat-patch;</userinput></screen>
    3434
    35     <para os="s1">The <filename>timesyncd.conf</filename> file contains a
     35    <para os="s1">Prevent the <filename>Makefile</filename> from trying to run
     36    <command>setcap</command> on <command>systemd-detect-virt</command>,
     37    which will fail if the kernel or file system does not support extended
     38    capabilities:</para>
     39
     40<screen os="s2"><userinput>sed -i '/virt-install-hook /d' Makefile.in</userinput></screen>
     41
     42    <para os="s3">The <filename>timesyncd.conf</filename> file contains a
    3643    reference to a non-existent <filename>timesyncd.conf(5)</filename> man
    3744    page. Remove that reference to avoid possible confusion:</para>
    3845
    39 <screen os="s2"><userinput>sed -i '/timesyncd.conf/d' src/timesync/timesyncd.conf.in</userinput></screen>
     46<screen os="s4"><userinput>sed -i '/timesyncd.conf/d' src/timesync/timesyncd.conf.in</userinput></screen>
    4047
    4148    <para os="a">Prepare systemd for compilation:</para>
Note: See TracChangeset for help on using the changeset viewer.