From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id D281D1388C0 for ; Tue, 23 Feb 2016 00:46:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2367B21C00F; Tue, 23 Feb 2016 00:46:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B366F21C00F for ; Tue, 23 Feb 2016 00:46:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C7A46340AF0 for ; Tue, 23 Feb 2016 00:46:05 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9669214CD for ; Tue, 23 Feb 2016 00:46:02 +0000 (UTC) From: "Anthony G. Basile" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" Message-ID: <1456188942.3faadaff44e4a25f13c271c323c51365f3109bee.blueness@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-portage/grs/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-portage/grs/grs-9999.ebuild X-VCS-Directories: app-portage/grs/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: 3faadaff44e4a25f13c271c323c51365f3109bee X-VCS-Branch: master Date: Tue, 23 Feb 2016 00:46:02 +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: 15f84be5-c4ea-4bf2-999a-ca2626fd492a X-Archives-Hash: 9059739db92c50ed8f569941d07ed5ed commit: 3faadaff44e4a25f13c271c323c51365f3109bee Author: Anthony G. Basile gentoo org> AuthorDate: Tue Feb 23 00:55:25 2016 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Tue Feb 23 00:55:42 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3faadaff app-portage/grs: check kernel config for CGROUPS Package-Manager: portage-2.2.26 app-portage/grs/grs-9999.ebuild | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/app-portage/grs/grs-9999.ebuild b/app-portage/grs/grs-9999.ebuild index 7eb8426..9f02750 100644 --- a/app-portage/grs/grs-9999.ebuild +++ b/app-portage/grs/grs-9999.ebuild @@ -1,9 +1,11 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI="5" +inherit linux-info + PYTHON_COMPAT=( python3_4 ) inherit distutils-r1 @@ -38,6 +40,12 @@ RDEPEND=" sys-kernel/genkernel-next )" +pkg_setup() { + linux-info_pkg_setup + CONFIG_CHECK="~CGROUPS" + ERROR_CGROUPS="WARNING: grsrun requires CONFIG_CGROUPS enabled in the kernel." +} + src_install() { distutils-r1_src_install echo "CONFIG_PROTECT=\"/etc/grs/systems.conf\"" > "${T}"/20grs