Changeset bdcc868 for chapter08


Ignore:
Timestamp:
07/01/2024 07:01:53 AM (2 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/arm64
Children:
fd4bf9d
Parents:
2324b83 (diff), 201aa93 (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/arm64

Location:
chapter08
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • chapter08/expect.xml

    r2324b83 rbdcc868  
    8383            --with-tcl=/usr/lib     \
    8484            --enable-shared         \
     85            --disable-rpath         \
    8586            --mandir=/usr/share/man \
    8687            --with-tclinclude=/usr/include</userinput></screen>
  • chapter08/glibc.xml

    r2324b83 rbdcc868  
    357357    locales necessary for the optimal coverage of tests:</para>
    358358
    359 <screen role="nodump"><userinput remap="locale-test">mkdir -pv /usr/lib/locale
    360 localedef -i C -f UTF-8 C.UTF-8
     359<screen role="nodump"><userinput remap="locale-test">localedef -i C -f UTF-8 C.UTF-8
    361360localedef -i cs_CZ -f UTF-8 cs_CZ.UTF-8
    362361localedef -i de_DE -f ISO-8859-1 de_DE
  • chapter08/grub.xml

    r2324b83 rbdcc868  
    122122
    123123  <para>Making your LFS system bootable with GRUB will be discussed in
    124   <xref linkend="ch-bootable-grub"/>.</para>
     124  <xref linkend="ch-bootable-grub" role='.'/></para>
    125125
    126126  </sect2>
  • chapter08/readline.xml

    r2324b83 rbdcc868  
    4949<screen><userinput remap="pre">sed -i '/MV.*old/d' Makefile.in
    5050sed -i '/{OLDSUFF}/c:' support/shlib-install</userinput></screen>
     51
     52    <para>Prevent hard coding library search paths (rpath) into
     53    the shared libraries.  This package does not need rpath for an
     54    installation into the standard location, and rpath may sometimes cause
     55    unwanted effects or even security issues:</para>
     56
     57<screen><userinput>sed -i 's/-Wl,-rpath,[^ ]*//' support/shobj-conf</userinput></screen>
    5158
    5259    <para>Now fix a problem identified upstream:</para>
  • chapter08/shadow.xml

    r2324b83 rbdcc868  
    243243          even though the account has been created correctly. That is why we
    244244          created the group <systemitem class="groupname">users</systemitem>
    245           with this group ID in <xref linkend='ch-tools-createfiles'/>.</para>
     245          with this group ID in
     246          <xref linkend='ch-tools-createfiles' role='.'/></para>
    246247
    247248        </listitem>
  • chapter08/systemd.xml

    r2324b83 rbdcc868  
    4848 <screen><userinput remap="pre">sed -i -e 's/GROUP="render"/GROUP="video"/' \
    4949       -e 's/GROUP="sgx", //' rules.d/50-udev-default.rules.in</userinput></screen>
    50 
    51     <!-- https://github.com/systemd/systemd/pull/30549 -->
    52     <para>Now fix a security vulnerability in the DNSSEC verification of
    53     <command>systemd-resolved</command> and a bug breaking running
    54     <command>systemd-analyze verify</command> on an instantiated systemd
    55     unit:</para>
    56 
    57 <screen><userinput remap='pre'>patch -Np1 -i ../&systemd-upstream-patch;</userinput></screen>
    5850
    5951    <para>Prepare systemd for compilation:</para>
     
    233225ninja test</userinput></screen>
    234226
    235     <!-- This test needs /run/systemd/inaccessible/sock, which only exists
     227    <!-- test-namespace needs /run/systemd/inaccessible/sock, which only exists
    236228         after initializing the system with systemd.  -->
    237     <para>One test named <literal>systemd:core / test-namespace</literal>
    238     is known to fail in the LFS chroot environment.  Some other tests may
     229    <para>Three tests: <literal>systemd:core / test-namespace</literal>,
     230    <literal>test-chase</literal>, and <literal>test-systemd-tmpfiles</literal>,
     231    are known to fail in the LFS chroot environment.  Some other tests may
    239232    fail because they depend on various kernel configuration options.</para>
    240233
  • chapter08/tcl.xml

    r2324b83 rbdcc868  
    5656cd unix
    5757./configure --prefix=/usr           \
    58             --mandir=/usr/share/man</userinput></screen>
     58            --mandir=/usr/share/man \
     59            --disable-rpath</userinput></screen>
     60
     61    <variablelist>
     62      <title>The meaning of the new configure parameters:</title>
     63
     64      <varlistentry>
     65        <term><parameter>--disable-rpath</parameter></term>
     66        <listitem>
     67          <para>This parameter prevents hard coding library search paths
     68          (rpath) into the binary executable files and shared libraries.
     69          This package does not need rpath for an installation into the
     70          standard location, and rpath may sometimes cause unwanted effects
     71          or even security issues.</para>
     72        </listitem>
     73      </varlistentry>
     74    </variablelist>
    5975
    6076    <para>Build the package:</para>
Note: See TracChangeset for help on using the changeset viewer.