In systemd, "systemd-machine-id-setup" does not work when doing a DESTDIR

install, unless it is run after moving the DESTDIR to the system. So change
the remap attribute to "adjust".

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11213 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Pierre Labastie 2017-03-29 15:25:58 +00:00
parent 1e472fb9ac
commit 15f0f2145d

View File

@ -228,7 +228,7 @@ ln -sfv ../lib/systemd/systemd /sbin/init</userinput></screen>
<para>Create the <filename>/etc/machine-id</filename> file needed by
<command>systemd-journald</command>:</para>
<screen><userinput remap="install">systemd-machine-id-setup</userinput></screen>
<screen><userinput remap="adjust">systemd-machine-id-setup</userinput></screen>
<para>Since the testsuite largely depends on the host system kernel
configuration, some tests may fail. It also needs a modification in