Revert "dnf: remove systemd units in nativesdk builds"
nativesdk builds now control the DISTRO_FEATURES (oe-core 731744) so this
workaround is no longer required.
This reverts commit 415b72ffcb
.
(From OE-Core rev: 4f1f05295f12f619c87fb53e16e19a11775c2c84)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
2bc2e67dd0
commit
135afdff02
|
@ -42,12 +42,6 @@ do_install_append_class-native() {
|
|||
RPM_NO_CHROOT_FOR_SCRIPTS=1
|
||||
}
|
||||
|
||||
# If the distro uses systemd then these won't be deleted by systemd.bbclass
|
||||
do_install_append_class-nativesdk() {
|
||||
rm -rf ${D}/${systemd_unitdir}
|
||||
rmdir --ignore-fail-on-non-empty ${D}${nonarch_base_libdir}
|
||||
}
|
||||
|
||||
SYSTEMD_SERVICE_${PN} = "dnf-makecache.service dnf-makecache.timer \
|
||||
dnf-automatic-download.service dnf-automatic-download.timer \
|
||||
dnf-automatic-install.service dnf-automatic-install.timer \
|
||||
|
|
Loading…
Reference in New Issue