diff options
author | Lennart Poettering <lennart@poettering.net> | 2024-07-02 16:01:47 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-09-10 21:47:44 +0200 |
commit | 408ab988dbf6723871afd3503d11bd0deb50f846 (patch) | |
tree | ba8e3ea4094108c9faa99e2a98a1711b3465a1e4 /tmpfiles.d/systemd.conf.in | |
parent | meson: increase default number of available sections for the stub (diff) | |
download | systemd-408ab988dbf6723871afd3503d11bd0deb50f846.tar.xz systemd-408ab988dbf6723871afd3503d11bd0deb50f846.zip |
tmpfiles: add separate fragment for stuff we copy from .extra/ into /run/systemd
Let's move copying out the PCR signature/key into its own tmpfiles
snippet.
And then let's add support for copying out the profile + os-release
information systemd-stub now places in the invoked initrd.
That way these four pieces of information are available even after the
initrd→host transition.
Diffstat (limited to 'tmpfiles.d/systemd.conf.in')
-rw-r--r-- | tmpfiles.d/systemd.conf.in | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tmpfiles.d/systemd.conf.in b/tmpfiles.d/systemd.conf.in index d36f0694af..815fb2dd40 100644 --- a/tmpfiles.d/systemd.conf.in +++ b/tmpfiles.d/systemd.conf.in @@ -65,9 +65,3 @@ d /var/lib/systemd/ephemeral-trees 0755 root root 0 d /var/lib/private 0700 root root - d /var/log/private 0700 root root - d /var/cache/private 0700 root root - - -{% if ENABLE_EFI %} -# Copy sd-stub provided PCR signature and public key file from initrd into /run/, so that it will survive the initrd stage -C /run/systemd/tpm2-pcr-signature.json 0444 root root - /.extra/tpm2-pcr-signature.json -C /run/systemd/tpm2-pcr-public-key.pem 0444 root root - /.extra/tpm2-pcr-public-key.pem -{% endif %} |