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 16419138334 for ; Tue, 4 Dec 2018 15:11:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0D800E0B65; Tue, 4 Dec 2018 15:11:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 D5198E0B65 for ; Tue, 4 Dec 2018 15:11:17 +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 B02C1335CD9 for ; Tue, 4 Dec 2018 15:11:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EE77442E for ; Tue, 4 Dec 2018 15:11:12 +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: <1543936239.e57f808ac2cdb22feb6c4ac856d71ff124c88dfd.williamh@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/opentmpfiles/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/opentmpfiles/opentmpfiles-0.2.ebuild sys-apps/opentmpfiles/opentmpfiles-9999.ebuild X-VCS-Directories: sys-apps/opentmpfiles/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: e57f808ac2cdb22feb6c4ac856d71ff124c88dfd X-VCS-Branch: master Date: Tue, 4 Dec 2018 15:11:12 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0e4f0d52-86a7-47f3-93bd-097a59930471 X-Archives-Hash: ca650f4cd174565e1390de03abbbebfa commit: e57f808ac2cdb22feb6c4ac856d71ff124c88dfd Author: William Hubbs gentoo org> AuthorDate: Tue Dec 4 15:06:28 2018 +0000 Commit: William Hubbs gentoo org> CommitDate: Tue Dec 4 15:10:39 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e57f808a sys-apps/opentmpfiles: create runlevel directories if they do not exist Closes: https://bugs.gentoo.org/649480 Package-Manager: Portage-2.3.51, Repoman-2.3.11 Signed-off-by: William Hubbs gentoo.org> sys-apps/opentmpfiles/opentmpfiles-0.2.ebuild | 1 + sys-apps/opentmpfiles/opentmpfiles-9999.ebuild | 1 + 2 files changed, 2 insertions(+) diff --git a/sys-apps/opentmpfiles/opentmpfiles-0.2.ebuild b/sys-apps/opentmpfiles/opentmpfiles-0.2.ebuild index 6752d491222..29060e14d37 100644 --- a/sys-apps/opentmpfiles/opentmpfiles-0.2.ebuild +++ b/sys-apps/opentmpfiles/opentmpfiles-0.2.ebuild @@ -42,6 +42,7 @@ add_service() { local runlevel=$2 elog "Auto-adding '${initd}' service to your ${runlevel} runlevel" + mkdir -p "${EROOT}"etc/runlevels/${runlevel} ln -snf /etc/init.d/${initd} "${EROOT}"etc/runlevels/${runlevel}/${initd} } diff --git a/sys-apps/opentmpfiles/opentmpfiles-9999.ebuild b/sys-apps/opentmpfiles/opentmpfiles-9999.ebuild index 55ea0afa6fa..212bffd098d 100644 --- a/sys-apps/opentmpfiles/opentmpfiles-9999.ebuild +++ b/sys-apps/opentmpfiles/opentmpfiles-9999.ebuild @@ -42,6 +42,7 @@ add_service() { local runlevel=$2 elog "Auto-adding '${initd}' service to your ${runlevel} runlevel" + mkdir -p "${EROOT}"etc/runlevels/${runlevel} ln -snf /etc/init.d/${initd} "${EROOT}"etc/runlevels/${runlevel}/${initd} }