aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2017-04-13 21:43:22 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-04-13 23:58:14 +0100
commit4f1f05295f12f619c87fb53e16e19a11775c2c84 (patch)
tree8a2e365d3fe3cfcd2ae5144b2980b6f323bda52b
parent3eed822b5c5661aa9f43af6582c1481bacf0d39a (diff)
downloadopenembedded-core-contrib-4f1f05295f12f619c87fb53e16e19a11775c2c84.tar.gz
openembedded-core-contrib-4f1f05295f12f619c87fb53e16e19a11775c2c84.tar.bz2
openembedded-core-contrib-4f1f05295f12f619c87fb53e16e19a11775c2c84.zip
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@intel.com>
-rw-r--r--meta/recipes-devtools/dnf/dnf_git.bb6
1 files changed, 0 insertions, 6 deletions
diff --git a/meta/recipes-devtools/dnf/dnf_git.bb b/meta/recipes-devtools/dnf/dnf_git.bb
index 1194928ac9..9f814fb211 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 \