From 8dd1f89c91dac45c7db4984a93249ed494fa2323 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 11 Apr 2013 10:51:08 -0700 Subject: [PATCH] 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. --- bin/misc-functions.sh | 10 ---------- 1 file changed, 10 deletions(-) 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() { -- 2.26.2