]> git.ipfire.org Git - thirdparty/systemd.git/commit
install: Fall back to system presets if there are no initrd presets 38790/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 2 Sep 2025 09:58:17 +0000 (11:58 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 4 Sep 2025 06:55:40 +0000 (08:55 +0200)
commit41ae31a9ac0252ae7481dc30f51b91cfb59afc07
tree881eb5388ab25b217253fa3d2ad88efdb2ffd31b
parentc8e1e5814fae679ea1e85c9d4697089ab9156072
install: Fall back to system presets if there are no initrd presets

We might be operating with a newer systemctl on an image with older
systemd and thus without an initrd-preset directory. Before
4a8c395167c1631224c02d990c847955a2bf23b0, we would use the system
presets, let's make sure we keep doing that if we're operating on an
image without initrd presets.

Follow up for 4a8c395167c1631224c02d990c847955a2bf23b0.
src/shared/install.c