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
This commit is contained in:
parent
a85fb4fea1
commit
dac2ad288f
|
|
@ -5,6 +5,6 @@ build() {
|
||||||
add_binary /usr/lib/ostree/ostree-remount
|
add_binary /usr/lib/ostree/ostree-remount
|
||||||
|
|
||||||
add_file /usr/lib/systemd/system/ostree-prepare-root.service
|
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
|
/usr/lib/systemd/system/ostree-prepare-root.service
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue