[oe-commits] [openembedded-core] 12/14: Revert "dnf: remove systemd units in nativesdk builds"

git at git.openembedded.org git at git.openembedded.org
Thu Apr 13 22:58:55 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 4f1f05295f12f619c87fb53e16e19a11775c2c84
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Thu Apr 13 21:43:22 2017 +0100

    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 415b72ffcbd26e5f3664370d8b2a9b8105fb6342.
    
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-devtools/dnf/dnf_git.bb | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/meta/recipes-devtools/dnf/dnf_git.bb b/meta/recipes-devtools/dnf/dnf_git.bb
index 1194928..9f814fb 100644
--- a/meta/recipes-devtools/dnf/dnf_git.bb
+++ b/meta/recipes-devtools/dnf/dnf_git.bb
@@ -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 \

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list