Revert "Add a QA check for systemd unit file install."
This reverts commit dd2d661078771a41d4fd554c2bc3b1188ce7b53e.
Forcing use of a specific eclass is too restrictive. It would be better
to use a variable to control a warning like this. See bug #465562.
diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh
index ce3d681..c83d21f 100755
--- a/bin/misc-functions.sh
+++ b/bin/misc-functions.sh
@@ -841,16 +841,6 @@
[[ ${abort} == yes ]] && die "multilib-strict check failed!"
fi
-
- # ensure packages don't install systemd units automagically
- if ! has systemd ${INHERITED} && \
- [[ -d "${ED}"/lib/systemd/system ]]
- then
- eqawarn "QA Notice: package installs systemd unit files (/lib/systemd/system)"
- eqawarn " but does not inherit systemd.eclass."
- has stricter ${FEATURES} \
- && die "install aborted due to missing inherit of systemd.eclass"
- fi
}
install_qa_check_prefix() {