summaryrefslogtreecommitdiff
blob: 32f5706c0b58cd4cff0d80aa2b6e1f958444e807 (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
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

DESCRIPTION="Grub menu entries for the .iso image of systemrescuecd-x86"
HOMEPAGE="http://www.sysresccd.org/"
SRC_URI=""

LICENSE="GPL-2"
SLOT=0
KEYWORDS="~amd64 ~x86"
IUSE=""

S=${WORKDIR}

RDEPEND="app-admin/systemrescuecd-x86
	sys-boot/grub"

src_install() {
	exeinto /etc/grub.d
	newexe "${FILESDIR}"/systemrescuecd.grub 39_systemrescuecd

	insinto /etc/default
	newins "${FILESDIR}"/systemrescuecd.default systemrescuecd
}

pkg_postinst() {
	elog "To add the menu entries for systemrescuecd to grub, you should now run"
	elog "	grub-mkconfig -o /boot/grub/grub.cfg"
	elog "You can set custom bootoptions in /etc/default/systemrescuecd"
}