]> code.ossystems Code Review - openembedded-core.git/commitdiff
Revert "dnf: remove systemd units in nativesdk builds"
authorRoss Burton <ross.burton@intel.com>
Thu, 13 Apr 2017 20:43:22 +0000 (21:43 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 13 Apr 2017 22:58:14 +0000 (23:58 +0100)
nativesdk builds now control the DISTRO_FEATURES (oe-core 731744) so this
workaround is no longer required.

This reverts commit 415b72ffcbd26e5f3664370d8b2a9b8105fb6342.

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/dnf/dnf_git.bb

index 1194928ac91bd591d59bc338fc04a459f6420d75..9f814fb211ae3e7e9a2e630fddceef2ca448258e 100644 (file)
@@ -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 \