summaryrefslogtreecommitdiff
blob: 0bb9700005f665a088717ac9c8143954e676caba (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-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-fs/iprutils/iprutils-2.2.8.ebuild,v 1.1 2008/01/05 20:13:43 ranger Exp $

inherit eutils

S=${WORKDIR}/${PN}
DESCRIPTION="Binary PS3 Kernel"
SRC_URI="dev.gentoo.org/~ranger/downloads/ps3/${P}.tar.bz2"
HOMEPAGE=""

SLOT="0"
LICENSE="IPL-1"
KEYWORDS="~ppc ~ppc64"
IUSE=""

src_install () {
	insinto /boot/
	doins ${WORKDIR}/kernel-genkernel-ppc-${PV}-ps3
	doins ${WORKDIR}/System.map-genkernel-ppc-${PV}-ps3
	doins ${WORKDIR}/initramfs-genkernel-ppc-${PV}-ps3

	insinto /lib/modules/
	doins -r ${WORKDIR}/2.6.24-ps3/
}

pkg_postinst() {
	einfo "You now need to add an entry to your /etc/kboot.conf"
	einfo "that contains the newly installed binary kernel and "
	einfo "ramdisk.  Use the existing kboot.conf label as an"
	einfo "example.  Be sure to use a different label name for "
	einfo "the new kernel label."
	einfo ""
	einfo "After you reboot and are using this kernel, consider"
	einfo "running depmod."
	einfo ""

	ebeep 5
}