Install this version:
emerge -a =sys-apps/hashboot-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =sys-apps/hashboot-9999
Or alternatively:
emerge --autounmask-write -a =sys-apps/hashboot-9999
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 8 | 0 |
# Copyright 1999-2019,2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit git-r3
DESCRIPTION="Check integrity of files in /boot"
HOMEPAGE="https://schlomp.space/tastytea/hashboot"
EGIT_REPO_URI="https://schlomp.space/tastytea/hashboot.git"
LICENSE="hug-ware"
SLOT="0"
KEYWORDS=""
IUSE="firmware"
RDEPEND="firmware? ( sys-apps/flashrom )"
DEPEND="app-text/asciidoc"
pkg_preinst() {
if grep -q '^rc_parallel="YES"' /etc/rc.conf; then
ewarn "hashboot does not work properly with parallel boot enabled."
fi
}
src_compile() {
./build_manpage.sh
}
src_install() {
default
dobin hashboot
newinitd init/openrc hashboot
doman ${PN}.1
exeinto etc/kernel/postinst.d
newexe hooks/kernel-postinst zzz-hashboot
}
pkg_postinst() {
elog "You have to run hashboot index before enabling the init script."
}
Manage flags for this package:
euse -i <flag> -p sys-apps/hashboot |
euse -E <flag> -p sys-apps/hashboot |
euse -D <flag> -p sys-apps/hashboot
app-text/asciidoc
firmware? ( sys-apps/flashrom )