Changeset 38de42d for chapter08


Ignore:
Timestamp:
03/31/2021 10:41:40 AM (3 years ago)
Author:
Xℹ Ruoyao <xry111@…>
Branches:
ml-11.0, multilib
Children:
402226e
Parents:
8acfbf67
git-author:
Thomas Trepl <thomas@…> (12/28/2020 08:33:15 AM)
git-committer:
Xℹ Ruoyao <xry111@…> (03/31/2021 10:41:40 AM)
Message:

Merge changes from trunk to multilib

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@12072 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Location:
chapter08
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • chapter08/autoconf.xml

    r8acfbf67 r38de42d  
    4141  <sect2 role="installation">
    4242    <title>Installation of Autoconf</title>
    43 
     43<!--
    4444    <para>First, apply a patch fixes several problems that occur with the latest
    4545    perl, libtool, and bash versions.</para>
    4646
    4747<screen><userinput remap="pre">patch -Np1 -i ../&autoconf-fixes-patch;</userinput></screen>
    48 
     48-->
    4949    <para>Prepare Autoconf for compilation:</para>
    5050
  • chapter08/bash.xml

    r8acfbf67 r38de42d  
    4141    <title>Installation of Bash</title>
    4242
    43     <para>Incorporate some upstream fixes:</para>
     43    <para>First, fix a race condition if using multiple cores:</para>
    4444
    45 <screen><userinput remap="pre">patch -Np1 -i ../&bash-fixes-patch;</userinput></screen>
     45<screen><userinput remap="pre">sed -i  '/^bashline.o:.*shmbchar.h/a bashline.o: ${DEFDIR}/builtext.h' Makefile.in</userinput></screen>
    4646
    4747    <para>Prepare Bash for compilation:</para>
  • chapter08/coreutils.xml

    r8acfbf67 r38de42d  
    6161<screen><userinput remap="pre">sed -i '/test.lock/s/^/#/' gnulib-tests/gnulib.mk</userinput></screen>
    6262
     63<para>Fix a problem with autoconf-2.70 in an included gnulib .m4 file:</para>
     64
     65<screen><userinput remap="pre">echo '# deleted' > m4/std-gnu11.m4</userinput></screen>
     66
    6367    <para>Now prepare Coreutils for compilation:</para>
    6468
     
    8488        <listitem>
    8589          <para>This environment variable allows the package to be
    86           built as the root user.
     90          built as the <systemitem class="username">root</systemitem> user.
    8791          </para>
    8892        </listitem>
  • chapter08/meson.xml

    r8acfbf67 r38de42d  
    4848  <sect2 role="installation">
    4949    <title>Installation of Meson</title>
     50
     51    <para>First, apply a patch that fixes an issue with pkgconfig files
     52    for static libraries:</para>
     53
     54<screen><userinput remap="pre">patch -Np1 -i ../&meson-fix-patch;</userinput></screen>
    5055
    5156    <para>Compile Meson with the following command:</para>
  • chapter08/openssl.xml

    r8acfbf67 r38de42d  
    6969make MANSUFFIX=ssl install</userinput></screen>
    7070
    71     <para>If desired, install the documentation:</para>
    72 
    73 <screen><userinput remap="install">mv -v /usr/share/doc/openssl /usr/share/doc/openssl-&openssl-version;
    74 cp -vfr doc/* /usr/share/doc/openssl-&openssl-version;</userinput></screen>
     71    <para>Add the version to the documentation directory name, to be
     72    consistent with other packages:</para>
     73
     74<screen><userinput remap="install">mv -v /usr/share/doc/openssl /usr/share/doc/openssl-&openssl-version;</userinput></screen>
     75
     76    <para>If desired, install some additional documentation:</para>
     77
     78<screen><userinput remap="install">cp -vfr doc/* /usr/share/doc/openssl-&openssl-version;</userinput></screen>
    7579
    7680  </sect2>
  • chapter08/systemd.xml

    r8acfbf67 r38de42d  
    4747-->
    4848
     49    <para>First, apply a patch to fix some regressions:</para>
     50
     51<screen><userinput remap="pre">patch -Np1 -i ../systemd-&systemd-version;-upstream_fixes-1.patch</userinput></screen>
     52
    4953    <para>Create a symlink to work around the xsltproc command not being installed:</para>
    5054
     
    5761    <para>Remove tests that cannot be built in chroot:</para>
    5862
    59 <screen><userinput remap="pre">sed '177,$ d' -i src/resolve/meson.build</userinput></screen>
     63<screen><userinput remap="pre">sed '181,$ d' -i src/resolve/meson.build</userinput></screen>
    6064
    6165    <para>Remove an unneeded group,
     
    9397      -Duserdb=false                \
    9498      -Dman=true                    \
     99      -Dmode=release                \
    95100      -Ddocdir=/usr/share/doc/systemd-&systemd-version; \
    96101      ..</userinput></screen>
     
    183188          <para>Remove two daemons that have dependencies that do not fit
    184189          the scope of LFS.</para>
     190        </listitem>
     191      </varlistentry>
     192
     193      <varlistentry>
     194        <term><parameter>-Dmode=release</parameter></term>
     195        <listitem>
     196          <para>Disable some features considered experimental by upstream.
     197          </para>
    185198        </listitem>
    186199      </varlistentry>
     
    366379        (symlink to systemctl), systemctl, systemd-analyze,
    367380        systemd-ask-password, systemd-cat, systemd-cgls, systemd-cgtop,
    368         systemd-delta, systemd-detect-virt, systemd-escape, systemd-hwdb,
    369         systemd-id128, systemd-inhibit, systemd-machine-id-setup,
     381        systemd-delta, systemd-detect-virt, systemd-dissect, systemd-escape,
     382        systemd-hwdb, systemd-id128, systemd-inhibit, systemd-machine-id-setup,
    370383        systemd-mount, systemd-notify, systemd-nspawn, systemd-path,
    371384        systemd-repart, systemd-resolve (symlink to resolvectl), systemd-run,
     
    695708      </varlistentry>
    696709
     710      <varlistentry id="systemd-dissect">
     711        <term><command>systemd-dissect</command></term>
     712        <listitem>
     713          <para>Is used to inspect OS disk images.</para>
     714          <indexterm zone="ch-system-systemd systemd-dissect">
     715            <primary sortas="b-systemd-dissect">systemd-dissect</primary>
     716          </indexterm>
     717        </listitem>
     718      </varlistentry>
     719
    697720      <varlistentry id="systemd-escape">
    698721        <term><command>systemd-escape</command></term>
  • chapter08/tar.xml

    r8acfbf67 r38de42d  
    5757        <listitem>
    5858          <para>This forces the test for <function>mknod</function> to be run
    59           as root.  It is generally considered dangerous to run this test as
    60           the root user, but as it is being run on a system that has only been
     59          as <systemitem class="username">root</systemitem>.
     60          It is generally considered dangerous to run this test as
     61          the <systemitem class="username">root</systemitem> user, but as it
     62          is being run on a system that has only been
    6163          partially built, overriding it is OK.</para>
    6264        </listitem>
  • chapter08/texinfo.xml

    r8acfbf67 r38de42d  
    4444    <para>Prepare Texinfo for compilation:</para>
    4545
    46 <screen><userinput remap="configure">./configure --prefix=/usr --disable-static</userinput></screen>
    47 
     46<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
     47<!--
    4848    <variablelist>
    4949      <title>The meaning of the configure option:</title>
    5050
    5151      <varlistentry>
    52         <term><parameter>--disable-static</parameter></term>
     52        <term><parameter>- -disable-static</parameter></term>
    5353        <listitem>
    5454          <para>In this case, the top-level configure script will complain that
     
    6161
    6262    </variablelist>
    63 
     63-->
    6464    <para>Compile the package:</para>
    6565
  • chapter08/util-linux.xml

    r8acfbf67 r38de42d  
    8989    <para>If desired, run the test suite as a non-root user:</para>
    9090
    91     <warning><para>Running the test suite as the root user can be harmful to
     91    <warning><para>Running the test suite as the
     92    <systemitem class="username">root</systemitem> user can be harmful to
    9293    your system.  To run it, the CONFIG_SCSI_DEBUG option for the kernel must
    9394    be available in the currently running system and must be built as a
Note: See TracChangeset for help on using the changeset viewer.