forked from tastytea/overlay
Package-Manager: Portage-2.3.51, Repoman-2.3.11 Manifest-Sign-Key: 3555266864CA6D7FF45AA6E7CFC39497F1B26E07
51 lines
837 B
Bash
51 lines
837 B
Bash
# Copyright 1999-2019 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
EGIT_REPO_URI="https://github.com/tastytea/hashboot.git"
|
|
|
|
inherit git-r3
|
|
|
|
DESCRIPTION="Check integrity of files in /boot"
|
|
HOMEPAGE="https://github.com/tastytea/hashboot/"
|
|
LICENSE="hug-ware"
|
|
SLOT="0"
|
|
KEYWORDS=""
|
|
IUSE=""
|
|
|
|
RDEPEND="
|
|
sys-apps/coreutils
|
|
app-arch/tar
|
|
sys-apps/findutils
|
|
sys-apps/grep
|
|
virtual/awk
|
|
app-shells/bash:*
|
|
sys-apps/util-linux
|
|
sys-apps/diffutils
|
|
sys-apps/sed
|
|
"
|
|
DEPEND="sys-apps/grep"
|
|
|
|
src_unpack() {
|
|
git-r3_src_unpack
|
|
}
|
|
|
|
src_prepare() {
|
|
default
|
|
if grep -q '^rc_parallel="YES"' /etc/rc.conf
|
|
then
|
|
ewarn "hashboot does not work properly with parallel boot enabled."
|
|
fi
|
|
|
|
mkdir init
|
|
mv initscript.openrc init/hashboot
|
|
}
|
|
|
|
src_install() {
|
|
dodoc README
|
|
|
|
dobin hashboot
|
|
doinitd init/hashboot
|
|
}
|