From dac2ad288f40ba93a125e69f78edd6a7c3866074 Mon Sep 17 00:00:00 2001 From: Matt Bilker Date: Tue, 25 Aug 2020 18:12:52 -0400 Subject: [PATCH] Fix mkinitcpio with newer systemd versions - Fixes systemd failing to determine if `/sysroot` is valid because of `/etc/os-release` not being available yet. - Related: #1759 --- src/boot/mkinitcpio/ostree | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/boot/mkinitcpio/ostree b/src/boot/mkinitcpio/ostree index 7f21cacd..3aa0659f 100644 --- a/src/boot/mkinitcpio/ostree +++ b/src/boot/mkinitcpio/ostree @@ -5,6 +5,6 @@ build() { add_binary /usr/lib/ostree/ostree-remount add_file /usr/lib/systemd/system/ostree-prepare-root.service - add_symlink /usr/lib/systemd/system/initrd-switch-root.target.wants/ostree-prepare-root.service \ + add_symlink /usr/lib/systemd/system/initrd-root-fs.target.wants/ostree-prepare-root.service \ /usr/lib/systemd/system/ostree-prepare-root.service }