Changeset f1e1fe6


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

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    r3f60e0c rf1e1fe6  
    4444-->
    4545    <listitem revision="systemd">
     46      <para>2017-11-09</para>
     47      <itemizedlist>
     48        <listitem>
     49          <para>[dj] - Create additional symlinks to simplify build of systemd
     50          and remove text references to
     51          <filename class="directory">/tools/include</filename>.</para>
     52        </listitem>
     53      </itemizedlist>
     54    </listitem>
     55
     56    <listitem revision="systemd">
    4657      <para>2017-11-08</para>
    4758      <itemizedlist>
  • chapter06/createfiles.xml

    r3f60e0c rf1e1fe6  
    5656    ln -sv /tools/lib/lib$lib.so* /usr/lib
    5757    sed 's/tools/usr/' /tools/lib/lib${lib}.la > /usr/lib/lib${lib}.la
     58done
     59ln -svf /tools/include/blkid    /usr/include
     60ln -svf /tools/include/libmount /usr/include
     61ln -svf /tools/include/uuid     /usr/include
     62for pc in blkid mount uuid
     63do
     64    sed 's@tools@usr@g' /tools/lib/pkgconfig/${pc}.pc \
     65        > /usr/lib/pkgconfig/${pc}.pc
    5866done
    5967ln -sv bash /bin/sh</userinput></screen>
  • 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>
  • chapter06/util-linux.xml

    r3f60e0c rf1e1fe6  
    6161    -i tests/ts/ipcs/limits2</userinput></screen>
    6262-->
     63    <para revision="systemd">Remove the earlier created symlinks:</para>
     64
     65<screen revision="systemd"><userinput remap="pre">rm -vf /usr/include/{blkid,libmount,uuid}</userinput></screen>
     66
    6367    <para>Prepare Util-linux for compilation:</para>
    6468
  • general.ent

    r3f60e0c rf1e1fe6  
    1 <!ENTITY version         "SVN-20171106">
     1<!ENTITY version         "SVN-20171109">
    22<!ENTITY short-version   "svn">  <!-- Used below in &blfs-book;
    33                                      Change to x.y for release but not -rc releases -->
    44<!ENTITY generic-version "development"> <!-- Use "development"  or "x.y[-pre{x}]" -->
    55
    6 <!ENTITY versiond        "20171108-systemd">
     6<!ENTITY versiond        "20171109-systemd">
    77<!ENTITY short-versiond  "systemd">
    88<!ENTITY generic-versiond "systemd">
    99
    10 <!ENTITY releasedate     "November 6, 2017">
     10<!ENTITY releasedate     "November 9, 2017">
    1111
    1212<!ENTITY copyrightdate   "1999-2017"><!-- jhalfs needs a literal dash, not &ndash; -->
Note: See TracChangeset for help on using the changeset viewer.