summaryrefslogtreecommitdiff
path: root/src/boot
diff options
context:
space:
mode:
authorMatt Bilker <mbilker@pyramidhc.com>2020-08-25 18:12:52 -0400
committerMatt Bilker <mbilker@pyramidhc.com>2020-08-25 18:12:55 -0400
commitdac2ad288f40ba93a125e69f78edd6a7c3866074 (patch)
treeca8ad500603db55abac2132f0d02ecfef7a9586d /src/boot
parenta85fb4fea14c3a54316c21bb474b79d1eae78a05 (diff)
downloadostree-dac2ad288f40ba93a125e69f78edd6a7c3866074.tar.gz
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
Diffstat (limited to 'src/boot')
-rw-r--r--src/boot/mkinitcpio/ostree2
1 files changed, 1 insertions, 1 deletions
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
}