diff options
-rw-r--r-- | meta/recipes-core/systemd/systemd-compat-units.bb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/meta/recipes-core/systemd/systemd-compat-units.bb b/meta/recipes-core/systemd/systemd-compat-units.bb index 9b4a8a4abc..c47c14bf95 100644 --- a/meta/recipes-core/systemd/systemd-compat-units.bb +++ b/meta/recipes-core/systemd/systemd-compat-units.bb | |||
@@ -21,11 +21,6 @@ do_install() { | |||
21 | install -m 0644 ${WORKDIR}/machineid.service ${D}${systemd_unitdir}/system | 21 | install -m 0644 ${WORKDIR}/machineid.service ${D}${systemd_unitdir}/system |
22 | ln -sf ../machineid.service ${D}${systemd_unitdir}/system/sysinit.target.wants/ | 22 | ln -sf ../machineid.service ${D}${systemd_unitdir}/system/sysinit.target.wants/ |
23 | ln -sf ../machineid.service ${D}${systemd_unitdir}/system/basic.target.wants/ | 23 | ln -sf ../machineid.service ${D}${systemd_unitdir}/system/basic.target.wants/ |
24 | |||
25 | # hack to make old style sysvinit postinsts succeed | ||
26 | install -d ${D}${bindir} | ||
27 | echo "echo 1" > ${D}${bindir}/runlevel | ||
28 | chmod 0755 ${D}${bindir}/runlevel | ||
29 | } | 24 | } |
30 | 25 | ||
31 | SYSTEMD_DISABLED_SYSV_SERVICES = " \ | 26 | SYSTEMD_DISABLED_SYSV_SERVICES = " \ |