diff options
author | Xi Ruoyao <xry111@mengyan1223.wang> | 2021-02-05 06:51:37 +0000 |
---|---|---|
committer | Xi Ruoyao <xry111@mengyan1223.wang> | 2021-02-05 06:51:37 +0000 |
commit | a815ec734c6d239e816278cc5820e71024d5a09f (patch) | |
tree | 495a01c66104b19c7d0b510fdee7b91324ae4350 /chapter08 | |
parent | a649b07603141f5c1a33cdf381806e69aae35a27 (diff) |
ch08/systemd: sync with BLFS
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12128 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter08')
-rw-r--r-- | chapter08/systemd.xml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/chapter08/systemd.xml b/chapter08/systemd.xml index 31eed51b2..899ee3f14 100644 --- a/chapter08/systemd.xml +++ b/chapter08/systemd.xml @@ -212,6 +212,10 @@ meson --prefix=/usr \ <screen><userinput remap="install">rm -f /usr/bin/xsltproc</userinput></screen> + <para>Remove an useless directory:</para> + +<screen><userinput remap="install">rm -rf /usr/lib/pam.d</userinput></screen> + <para>Create the <filename>/etc/machine-id</filename> file needed by <command>systemd-journald</command>:</para> @@ -228,10 +232,14 @@ meson --prefix=/usr \ <screen><userinput remap="adjust">systemctl disable systemd-time-wait-sync.service</userinput></screen> +<!-- dev: 50-pid-max.conf is not removed in BLFS, so I commented the following out. + If it causes any trouble, we can add this back and also copy it into BLFS --> +<!-- <para>Prevent systemd from resetting the maximum PID value which causes some problems with packages and units in BLFS:</para> <screen><userinput remap="adjust">rm -f /usr/lib/sysctl.d/50-pid-max.conf</userinput></screen> +--> </sect2> |