blob: 7012198044b59f40dc3f5a9a4dbc9c6fea4023b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit mount-boot
DESCRIPTION="A 'genkernel all' kernel image compiled on gentoo-sources"
HOMEPAGE="https://www.gentoo.org"
SRC_URI="https://dev.gentoo.org/~ago/distfiles/${PN}/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="${PVR}"
KEYWORDS="-* ~amd64"
RDEPEND="sys-kernel/linux-firmware"
RESTRICT="binchecks strip"
pkg_setup() {
if [[ ${MERGE_TYPE} != buildonly ]]
then
ewarn
ewarn
ewarn "You may want to configure your bootloader by setting a portage HOOK (/etc/portage/bashrc)."
ewarn "A valid example is available into /usr/share/doc/${PF}/bashrc.bz2"
ewarn
ewarn
fi
}
src_install() {
insinto /boot
doins *genkernel*
insinto /lib/modules
doins -r "${PV}"-gentoo
insinto /usr/share/doc/${PF}
doins "${FILESDIR}"/bashrc
}
|