Changeset d3e7e98 for chapter08/systemd.xml
- Timestamp:
- 05/30/2022 03:45:10 AM (2 years ago)
- Branches:
- multilib
- Children:
- bdb4c90
- Parents:
- e8d4ea4 (diff), 5f3777a (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/systemd.xml
re8d4ea4 rd3e7e98 41 41 <title>Installation of systemd</title> 42 42 43 <para>First, apply a patch to fix a security vulnerability and regressions44 with hostnames and idle units:</para>45 46 <screen><userinput remap="pre">patch -Np1 -i ../systemd-&systemd-version;-upstream_fixes-1.patch</userinput></screen>47 48 <para>Now, apply a patch to fix a problem with the linux kernel's headers in49 version 5.17 and later:</para>50 51 <screen><userinput remap="pre">patch -Np1 -i ../systemd-&systemd-version;-kernel_5.17_fixes-1.patch</userinput></screen>52 53 43 <para>Remove two unneeded groups, 54 44 <systemitem class="groupname">render</systemitem> and … … 65 55 66 56 meson --prefix=/usr \ 67 --sysconfdir=/etc \68 --localstatedir=/var \69 57 --buildtype=release \ 70 -Dblkid=true \71 58 -Ddefault-dnssec=no \ 72 59 -Dfirstboot=false \ … … 74 61 -Dldconfig=false \ 75 62 -Dsysusers=false \ 76 -Db_lto=false \77 63 -Drpmmacrosdir=no \ 78 64 -Dhomed=false \ … … 80 66 -Dman=false \ 81 67 -Dmode=release \ 68 -Dpamconfdir=no \ 82 69 -Ddocdir=/usr/share/doc/systemd-&systemd-version; \ 83 70 ..</userinput></screen> … … 174 161 </varlistentry> 175 162 163 <varlistentry> 164 <term><parameter>-Dpamconfdir=no</parameter></term> 165 <listitem> 166 <para>Prevent the installation of a PAM configuration file not 167 functional on LFS.</para> 168 </listitem> 169 </varlistentry> 176 170 </variablelist> 177 171 … … 186 180 <para>Install the man pages:</para> 187 181 188 <screen><userinput remap="install">tar -xf ../../systemd-man-pages-&systemd-man-version;.tar.xz -C /usr/share/man</userinput></screen> 189 190 <para>Remove a useless directory:</para> 191 192 <screen><userinput remap="install">rm -rf /usr/lib/pam.d</userinput></screen> 182 <!-- Please make sure systemd man pages tarball has a common leading 183 component in the path. --> 184 <screen><userinput remap="install">tar -xf ../../systemd-man-pages-&systemd-man-version;.tar.xz --strip-components=1 -C /usr/share/man</userinput></screen> 193 185 194 186 <para>Create the <filename>/etc/machine-id</filename> file needed by … … 200 192 201 193 <screen><userinput remap="adjust">systemctl preset-all</userinput></screen> 194 195 <para>Disable a service for upgrading binary distros. It's useless for 196 a basic Linux system built from source, and it will report an error if 197 it's enabled but not configured:</para> 198 199 <screen><userinput remap="adjust">systemctl disable systemd-sysupdate</userinput></screen> 202 200 203 201 <!-- dev: 50-pid-max.conf is not removed in BLFS, so I commented the following out.
Note:
See TracChangeset
for help on using the changeset viewer.