Changeset c556e59 for chapter06/systemd.xml
- Timestamp:
- 07/12/2019 08:38:13 PM (5 years ago)
- 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, 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:
- 84dbccb2
- Parents:
- d124b26
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/systemd.xml
rd124b26 rc556e59 40 40 <sect2 role="installation"> 41 41 <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 -->47 42 48 43 <para>Create a symlink to work around missing xsltproc:</para> … … 71 66 <screen><userinput remap="pre">sed -i 's/GROUP="render", //' rules/50-udev-default.rules.in</userinput></screen> 72 67 68 <!-- EDITORS NOTE: At the next systemd release, see if the CFLAGS can be removed. --> 69 73 70 <para>Prepare systemd for compilation:</para> 74 71 75 72 <screen><userinput remap="configure">mkdir -p build 76 73 cd build 77 74 78 75 PKG_CONFIG_PATH="/usr/lib/pkgconfig:/tools/lib/pkgconfig" \ 79 76 LANG=en_US.UTF-8 \ 77 CFLAGS+="-Wno-format-overflow" \ 80 78 meson --prefix=/usr \ 81 79 --sysconfdir=/etc \ … … 86 84 -Dfirstboot=false \ 87 85 -Dinstall-tests=false \ 88 -Dkill-path=/bin/kill \89 86 -Dkmod-path=/bin/kmod \ 90 87 -Dldconfig=false \ … … 97 94 -Dumount-path=/bin/umount \ 98 95 -Db_lto=false \ 96 -Drpmmacrosdir=no \ 99 97 ..</userinput></screen> 100 98 … … 175 173 </varlistentry> 176 174 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> 177 182 </variablelist> 178 183 … … 189 194 <screen><userinput remap="install">LANG=en_US.UTF-8 ninja install</userinput></screen> 190 195 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> 195 203 196 204 <para>Create the <filename>/etc/machine-id</filename> file needed by
Note:
See TracChangeset
for help on using the changeset viewer.