diff options
author | Ross Burton <ross.burton@intel.com> | 2017-04-13 21:43:22 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-04-14 09:47:08 +0100 |
commit | 135afdff020276920aa7bf0cba8bda877ae41a7d (patch) | |
tree | 0691e8518cda8f83ac0d40963a0f8193322d1fe2 /meta/recipes-devtools | |
parent | 2bc2e67dd02cc0a63573d85a0549ccfd06852d1e (diff) | |
download | poky-135afdff020276920aa7bf0cba8bda877ae41a7d.tar.gz |
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.
(From OE-Core rev: 4f1f05295f12f619c87fb53e16e19a11775c2c84)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/dnf/dnf_git.bb | 6 |
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() { | |||
42 | RPM_NO_CHROOT_FOR_SCRIPTS=1 | 42 | RPM_NO_CHROOT_FOR_SCRIPTS=1 |
43 | } | 43 | } |
44 | 44 | ||
45 | # If the distro uses systemd then these won't be deleted by systemd.bbclass | ||
46 | do_install_append_class-nativesdk() { | ||
47 | rm -rf ${D}/${systemd_unitdir} | ||
48 | rmdir --ignore-fail-on-non-empty ${D}${nonarch_base_libdir} | ||
49 | } | ||
50 | |||
51 | SYSTEMD_SERVICE_${PN} = "dnf-makecache.service dnf-makecache.timer \ | 45 | SYSTEMD_SERVICE_${PN} = "dnf-makecache.service dnf-makecache.timer \ |
52 | dnf-automatic-download.service dnf-automatic-download.timer \ | 46 | dnf-automatic-download.service dnf-automatic-download.timer \ |
53 | dnf-automatic-install.service dnf-automatic-install.timer \ | 47 | dnf-automatic-install.service dnf-automatic-install.timer \ |