Ignore:
Timestamp:
11/09/2017 05:48:55 AM (6 years ago)
Author:
DJ Lucas <dj@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
1e16f1a8
Parents:
3f60e0c
Message:

Simplify linking for systemd and remove text references to /tools/include.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11326 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/systemd.xml

    r3f60e0c rf1e1fe6  
    4747    <para>Prepare systemd for compilation:</para>
    4848
    49 <screen><userinput remap="configure">PKG_CONFIG_PATH=/usr/lib/pkgconfig:/tools/lib/pkgconfig \
    50 LANG=en_US.UTF-8                          \
    51     meson --prefix /usr                   \
    52           --sysconfdir /etc               \
    53           --localstatedir /var            \
    54           -Dblkid=true                    \
    55           -Dbuildtype=release             \
    56           -Ddefault-dnssec=no             \
    57           -Dfirstboot=false               \
    58           -Dkill-path=/bin/kill           \
    59           -Dkmod-path=/bin/kmod           \
    60           -Dldconfig=false                \
    61           -Dmount-path=/bin/mount         \
    62           -Drootprefix=                   \
    63           -Drootlibdir=/lib               \
    64           -Dsplit-usr=true                \
    65           -Dsulogin-path=/sbin/sulogin    \
    66           -Dsysusers=false                \
    67           -Dumount-path=/bin/umount       \
    68           -Db_lto=false                   \
    69           -Dc_link_args="-lblkid -lmount" \
    70           -Dc_args="-I/tools/include/blkid -I/tools/include/libmount" \
    71           $PWD build</userinput></screen>
     49    <screen><userinput remap="configure">
     50LANG=en_US.UTF-8  meson --prefix=/usr                   \
     51                        --sysconfdir /etc               \
     52                        --localstatedir /var            \
     53                        -Dblkid=true                    \
     54                        -Dbuildtype=release             \
     55                        -Ddefault-dnssec=no             \
     56                        -Dfirstboot=false               \
     57                        -Dkill-path=/bin/kill           \
     58                        -Dkmod-path=/bin/kmod           \
     59                        -Dldconfig=false                \
     60                        -Dmount-path=/bin/mount         \
     61                        -Drootprefix=                   \
     62                        -Drootlibdir=/lib               \
     63                        -Dsplit-usr=true                \
     64                        -Dsulogin-path=/sbin/sulogin    \
     65                        -Dsysusers=false                \
     66                        -Dumount-path=/bin/umount       \
     67                        -Db_lto=false                   \
     68                        $PWD build</userinput></screen>
    7269
    7370    <variablelist>
     
    138135          <filename>/etc/passwd</filename> files. Both files
    139136          were created early in this chapter.</para>
    140         </listitem>
    141       </varlistentry>
    142 
    143       <varlistentry>
    144         <term><parameter>-Dc_link_args="-lblkid -lmount"</parameter></term>
    145         <listitem>
    146           <para>This switch manually adds libblkid and libmount to the
    147           linker flags as they only exist in <filename>/tools/lib</filename>
    148           until <application>Util-Linux</application> is installed later in
    149           this chapter.</para>
    150         </listitem>
    151       </varlistentry>
    152 
    153       <varlistentry>
    154         <term><parameter>-Dc_args="-I/tools/include/blkid -I/tools/include/libmount"</parameter></term>
    155         <listitem>
    156           <para>This switch manually adds the include paths for libblkid and
    157           libmount to the CFLAGS variable as the packages are not yet installed
    158           in the final system.</para>
    159137        </listitem>
    160138      </varlistentry>
Note: See TracChangeset for help on using the changeset viewer.