Revert "Add a QA check for systemd unit file install."
authorZac Medico <zmedico@gentoo.org>
Thu, 11 Apr 2013 17:51:08 +0000 (10:51 -0700)
committerZac Medico <zmedico@gentoo.org>
Thu, 11 Apr 2013 17:51:08 +0000 (10:51 -0700)
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.

bin/misc-functions.sh

index ce3d68129c8659d87efc7b25a38a80150a0af608..c83d21f68ebfaeed9651e6d4753a117d4b23212b 100755 (executable)
@@ -841,16 +841,6 @@ install_qa_check() {
 
                [[ ${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() {