Skip to content

Commit

Permalink
overlay/core: update target for coreos-live module
Browse files Browse the repository at this point in the history
The default target in the initrd is `initrd.target` [1].
`default.target` is an alias symlinked to that, and it's not recommended
to order on it as it is a moving targeto [2].

`default.target` is not present in c10s/RHEL10 initrd so it breaks the
initramfs build.

[1] https://www.freedesktop.org/software/systemd/man/latest/bootup.html
[2] https://www.freedesktop.org/software/systemd/man/latest/systemd.special.html#default.target
  • Loading branch information
jbtrystram committed Feb 19, 2025
1 parent a4e1fd2 commit 6b07a63
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ install() {
"ignition-complete.target"

install_and_enable_unit "coreos-liveiso-persist-osmet.service" \
"default.target"
"initrd.target"

install_and_enable_unit "coreos-livepxe-persist-osmet.service" \
"default.target"
"initrd.target"
}

0 comments on commit 6b07a63

Please sign in to comment.