From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 37EAB1382C5 for ; Tue, 15 May 2018 22:11:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3A92AE083E; Tue, 15 May 2018 22:11:23 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 14063E083B for ; Tue, 15 May 2018 22:11:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7F622335C5C for ; Tue, 15 May 2018 22:11:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 41D8C29B for ; Tue, 15 May 2018 22:11:20 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1526419662.958f57d895b6573b39e62097e5e9881f16174715.williamh@OpenRC> Subject: [gentoo-commits] proj/openrc:master commit in: src/rc/ X-VCS-Repository: proj/openrc X-VCS-Files: src/rc/openrc-run.c X-VCS-Directories: src/rc/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 958f57d895b6573b39e62097e5e9881f16174715 X-VCS-Branch: master Date: Tue, 15 May 2018 22:11:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 7ea11aca-c698-4210-8853-4a20cfae70dd X-Archives-Hash: ef67c04f02d3fec35368b52c7be3cbd3 commit: 958f57d895b6573b39e62097e5e9881f16174715 Author: William Hubbs gmail com> AuthorDate: Tue May 15 21:27:42 2018 +0000 Commit: William Hubbs gentoo org> CommitDate: Tue May 15 21:27:42 2018 +0000 URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=958f57d8 openrc-run: respect the RC_NODEPS environment variable src/rc/openrc-run.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/rc/openrc-run.c b/src/rc/openrc-run.c index ac682c4c..43889f2d 100644 --- a/src/rc/openrc-run.c +++ b/src/rc/openrc-run.c @@ -1268,6 +1268,9 @@ int main(int argc, char **argv) case_RC_COMMON_GETOPT } + if (rc_yesno(getenv("RC_NODEPS"))) + deps = false; + /* If we're changing runlevels and not called by rc then we cannot work with any dependencies */ if (deps && getenv("RC_PID") == NULL &&