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 \