diff options
Diffstat (limited to 'meta-phosphor/recipes-core')
-rw-r--r-- | meta-phosphor/recipes-core/systemd/systemd_%.bbappend | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-core/systemd/systemd_%.bbappend b/meta-phosphor/recipes-core/systemd/systemd_%.bbappend index 7ab626e00..213f32797 100644 --- a/meta-phosphor/recipes-core/systemd/systemd_%.bbappend +++ b/meta-phosphor/recipes-core/systemd/systemd_%.bbappend @@ -15,3 +15,8 @@ FILES_${PN} += "${systemd_unitdir}/network/default.network" do_install_append() { install -m 644 ${WORKDIR}/default.network ${D}${systemd_unitdir}/network/ } + +ALTERNATIVE_${PN} += "init" +ALTERNATIVE_TARGET[init] = "${rootlibexecdir}/systemd/systemd" +ALTERNATIVE_LINK_NAME[init] = "${base_sbindir}/init" +ALTERNATIVE_PRIORITY[init] ?= "300" |