From: Zac Medico Date: Thu, 11 Apr 2013 17:51:08 +0000 (-0700) Subject: Revert "Add a QA check for systemd unit file install." X-Git-Tag: v2.2.0_alpha172~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8dd1f89c91dac45c7db4984a93249ed494fa2323;p=portage.git 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 ce3d68129..c83d21f68 100755 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -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() {