mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-07-16 17:25:08 +01:00
systemd: Disable systemd-sysupdate with a better way
This commit is contained in:
parent
9afac649f2
commit
7380559028
@ -69,6 +69,7 @@ meson setup \
|
||||
-Dpamconfdir=no \
|
||||
-Ddev-kvm-mode=0660 \
|
||||
-Dnobody-group=nogroup \
|
||||
-Dsysupdate=disabled \
|
||||
-Dukify=disabled \
|
||||
-Ddocdir=/usr/share/doc/systemd-&systemd-version; \
|
||||
..</userinput></screen>
|
||||
@ -190,6 +191,17 @@ meson setup \
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><parameter>-Dsysupdate=disabled</parameter></term>
|
||||
<listitem>
|
||||
<para>Do not install the <command>systemd-sysupdate</command>
|
||||
tool. It's designed for automatically upgrading binary distros,
|
||||
so it's useless for a basic Linux system built from source.
|
||||
And it will report errors on boot if it's enabled but not properly
|
||||
configured.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><parameter>-Dukify=disabled</parameter></term>
|
||||
<listitem>
|
||||
@ -227,12 +239,6 @@ meson setup \
|
||||
|
||||
<screen><userinput remap="adjust">systemctl preset-all</userinput></screen>
|
||||
|
||||
<para>Disable two services for upgrading binary distros. They are useless for
|
||||
a basic Linux system built from source, and each one will report an error if
|
||||
it's enabled but not configured:</para>
|
||||
|
||||
<screen><userinput remap="adjust">systemctl disable systemd-sysupdate{,-reboot}</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 -->
|
||||
<!--
|
||||
|
Loading…
Reference in New Issue
Block a user