| # |
| # Copyright 2022 Google LLC |
| # |
| # This program is free software; you can redistribute it and/or |
| # modify it under the terms of the GNU General Public License |
| # version 2 as published by the Free Software Foundation. |
| # |
| # This program is distributed in the hope that it will be useful, |
| # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| # GNU General Public License for more details. |
| # |
| EAPI=7 |
| |
| DESCRIPTION="Give the chronos user sudo access." |
| HOMEPAGE="" |
| |
| LICENSE="BSD-Google" |
| SLOT="0" |
| KEYWORDS="*" |
| IUSE="minimal" |
| RDEPEND="app-admin/sudo" |
| |
| S="${WORKDIR}" |
| |
| src_install() { |
| insinto /etc/sudoers.d/ |
| doins "${FILESDIR}/chronos" |
| fperms 400 /etc/sudoers.d/chronos |
| } |