summaryrefslogtreecommitdiff
path: root/sys-boot/customrescuecd-x86_64-grub/customrescuecd-x86_64-grub-0.1.ebuild
blob: 8c86237c659d2c55c790e5be3d4a84c01b888823 (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
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="Grub menu entries for the .iso image of customrescuecd"
HOMEPAGE="https://sourceforge.net/projects/customrescuecd/"

S="${WORKDIR}"

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

RDEPEND="app-admin/customrescuecd-x86_64
	sys-boot/grub"

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

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

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