Changeset 90389c2 for chapter08


Ignore:
Timestamp:
03/05/2023 07:27:40 AM (19 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/clfs-ng
Children:
a33431c
Parents:
5c3ffcb9 (diff), 271c856 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge remote-tracking branch 'origin/trunk' into xry111/clfs-ng

Location:
chapter08
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • chapter08/libelf.xml

    r5c3ffcb9 r90389c2  
    5959<screen><userinput remap="test">make check</userinput></screen>
    6060
    61     <!-- https://sourceware.org/bugzilla/show_bug.cgi?id=30047 -->
    62     <para>The test named <filename>run-native-test.sh</filename> is known to
    63     fail.</para>
    64 
    6561    <para>Install only Libelf:</para>
    6662
  • chapter08/make.xml

    r5c3ffcb9 r90389c2  
    4242    <title>Installation of Make</title>
    4343
    44     <para>First, fix some issues identified upstream:</para>
    45 
    46 <screen><userinput remap="pre">sed -e '/ifdef SIGPIPE/,+2 d' \
    47     -e '/undef  FATAL_SIG/i FATAL_SIG (SIGPIPE);' \
    48     -i src/main.c</userinput></screen>
    49 
    5044    <para>Prepare Make for compilation:</para>
    5145
     
    5650<screen><userinput remap="make">make</userinput></screen>
    5751
     52    <!-- Running tests as root causes failures:
     53         https://savannah.gnu.org/bugs/?63852 -->
    5854    <para>To test the results, issue:</para>
    5955
    60 <screen><userinput remap="test">make check</userinput></screen>
     56<screen><userinput remap="test">chown -Rv tester .
     57su tester -c "PATH=$PATH make check"</userinput></screen>
    6158
    6259    <para>Install the package:</para>
  • chapter08/systemd.xml

    r5c3ffcb9 r90389c2  
    4040  <sect2 role="installation">
    4141    <title>Installation of systemd</title>
    42 
    43 
    44     <para>First, fix a security issue in systemd-coredump:</para>
    45 
    46 <screen><userinput remap="pre">patch -Np1 -i ../&systemd-upstream-patch;</userinput></screen>
    47 
    4842
    4943    <para>Remove two unneeded groups,
     
    230224        systemctl), reboot (symlink to systemctl), resolvconf (symlink to
    231225        resolvectl), resolvectl, runlevel (symlink to systemctl), shutdown
    232         (symlink to systemctl), systemctl, systemd-analyze,
     226        (symlink to systemctl), systemctl, systemd-ac-power, systemd-analyze,
    233227        systemd-ask-password, systemd-cat, systemd-cgls, systemd-cgtop,
    234228        systemd-creds, systemd-delta, systemd-detect-virt,
     
    483477      </varlistentry>
    484478
     479      <varlistentry id="systemd-ac-power">
     480        <term><command>systemd-ac-power</command></term>
     481        <listitem>
     482          <para>Reports whether the system is connected to an external
     483          power source.</para>
     484          <indexterm zone="ch-system-systemd systemd-ac-power">
     485            <primary sortas="b-systemd-ac-power">systemd-ac-power</primary>
     486          </indexterm>
     487        </listitem>
     488      </varlistentry>
     489
    485490      <varlistentry id="systemd-analyze">
    486491        <term><command>systemd-analyze</command></term>
Note: See TracChangeset for help on using the changeset viewer.