Changeset c556e59


Ignore:
Timestamp:
07/12/2019 08:38:13 PM (2 years ago)
Author:
Douglas R. Reno <renodr@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 9.0, 9.0-rc1, 9.1, 9.1-rc1, cross-chap5, ml-11.0, multilib, old-trunk, trunk, xry111/git-transition, xry111/glibc-2.34, xry111/tester-nohack, xry111/usr-move
Children:
84dbccb2
Parents:
d124b26
Message:

systemd: Fix a FTBFS related to GCC-9 by adding CFLAGS+=-Wno-format-overflow
Remove the obsolete meson option -Dkill-path
Add -Drpmmacrosdir=no to the meson command and remove the command+text as a result of that
Remove symlinks to Util-Linux libraries created earler in the installation process to prevent /tools contamination
Minor instruction/code cleanup

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

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    rd124b26 rc556e59  
    4444       -->
    4545
     46    <listitem revision="systemd">
     47      <para>2019-07-12</para>
     48      <itemizedlist>
     49        <listitem>
     50          <para>[renodr] - Fix an FTBFS for systemd and do minor text
     51          and instructions improvements. Also, fix symlinks that were not
     52          removed.</para>
     53        </listitem>
     54      </itemizedlist>
     55    </listitem>
     56
    4657    <listitem>
    4758      <para>2019-06-29</para>
  • chapter06/systemd.xml

    rd124b26 rc556e59  
    4040  <sect2 role="installation">
    4141    <title>Installation of systemd</title>
    42     <!--
    43     <para>Apply a patch to fix two critical security vulnerabilities:</para>
    44 
    45 <screen><userinput remap="pre">patch -Np1 -i ../systemd-240-security_fixes-2.patch</userinput></screen>
    46     -->
    4742
    4843    <para>Create a symlink to work around missing xsltproc:</para>
     
    7166<screen><userinput remap="pre">sed -i 's/GROUP="render", //' rules/50-udev-default.rules.in</userinput></screen>
    7267
     68<!-- EDITORS NOTE: At the next systemd release, see if the CFLAGS can be removed. -->
     69
    7370    <para>Prepare systemd for compilation:</para>
    7471
    75     <screen><userinput remap="configure">mkdir -p build
     72<screen><userinput remap="configure">mkdir -p build
    7673cd       build
    7774
    7875PKG_CONFIG_PATH="/usr/lib/pkgconfig:/tools/lib/pkgconfig" \
    7976LANG=en_US.UTF-8                   \
     77CFLAGS+="-Wno-format-overflow"     \
    8078meson --prefix=/usr                \
    8179      --sysconfdir=/etc            \
     
    8684      -Dfirstboot=false            \
    8785      -Dinstall-tests=false        \
    88       -Dkill-path=/bin/kill        \
    8986      -Dkmod-path=/bin/kmod        \
    9087      -Dldconfig=false             \
     
    9794      -Dumount-path=/bin/umount    \
    9895      -Db_lto=false                \
     96      -Drpmmacrosdir=no            \
    9997      ..</userinput></screen>
    10098
     
    175173      </varlistentry>
    176174
     175      <varlistentry>
     176        <term><parameter>-Drpmmacrosdir=no</parameter></term>
     177        <listitem>
     178          <para>This switch disables installation of RPM Macros
     179          for use with systemd because LFS does not support RPM.</para>
     180        </listitem>
     181      </varlistentry>
    177182    </variablelist>
    178183
     
    189194<screen><userinput remap="install">LANG=en_US.UTF-8 ninja install</userinput></screen>
    190195
    191     <para>Remove an unnecessary directory and file:</para>
    192 
    193 <screen><userinput remap="install">rm -rfv /usr/lib/rpm
    194 rm -f /usr/bin/xsltproc</userinput></screen>
     196    <para>Remove an unnecessary symbolic link:</para>
     197
     198<screen><userinput remap="install">rm -f /usr/bin/xsltproc</userinput></screen>
     199
     200    <para>Remove symbolic links to Util-Linux libraries:</para>
     201
     202<screen><userinput remap="install">rm -fv /usr/lib/lib{blkid,uuid,mount}.so*</userinput></screen>
    195203
    196204    <para>Create the <filename>/etc/machine-id</filename> file needed by
  • general.ent

    rd124b26 rc556e59  
    1 <!ENTITY version         "SVN-20190629">
     1<!ENTITY version         "SVN-20190712">
    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        "20190629-systemd">
     6<!ENTITY versiond        "20190712-systemd">
    77<!ENTITY short-versiond  "systemd">
    88<!ENTITY generic-versiond "systemd">
    99
    10 <!ENTITY releasedate     "June 29, 2019">
     10<!ENTITY releasedate     "July 12th, 2019">
    1111
    1212<!ENTITY copyrightdate   "1999-2019"><!-- jhalfs needs a literal dash, not &ndash; -->
Note: See TracChangeset for help on using the changeset viewer.