sys-boot/grml-rescueboot - 0.6.7 (guru)

Search

Install

Install this version:

emerge -a =sys-boot/grml-rescueboot-0.6.7

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =sys-boot/grml-rescueboot-0.6.7

Or alternatively:

emerge --autounmask-write -a =sys-boot/grml-rescueboot-0.6.7

Package Information

Description:
grub2 script to add ISO images to the grub2 boot menu
Homepage:
https://wiki.grml.org/doku.php?id=rescueboot
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
0.6.7 8 ~amd64 0
View Raw Ebuild
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="grub2 script to add ISO images to the grub2 boot menu"
HOMEPAGE="https://wiki.grml.org/doku.php?id=rescueboot"
SRC_URI="https://github.com/grml/grml-rescueboot/releases/download/v${PV}/${PN}_${PV}+gh.tar.xz"
S="${WORKDIR}"/workspace

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

RDEPEND="sys-boot/grub"
BDEPEND="app-text/xmltoman"

src_install() {
	insinto /etc/default
	doins etc/default/grml-rescueboot

	exeinto /etc/grub.d/
	doexe 42_grml
}

pkg_postinst() {
	einfo "Default folder for ISOs is /boot/grml/"
	einfo "You can change it in /etc/default/grml-rescueboot"
	einfo "Put some ISOs to the folder,"
	einfo "mount your /boot:"
	einfo "mount /dev/sda1 /boot/"
	einfo "and run"
	einfo "grub-mkconfig -o /boot/grub/grub.cfg"
	einfo "Not all ISOs are bootable this way"
	einfo "Works for Ubuntu, Debian (not all ISOs)"
	einfo "https://grml.org/download/"
	einfo "but not for Gentoo ISO, see https://bugs.gentoo.org/568464"
}

Dependencies

RDEPEND

sys-boot/grub

BDEPEND

app-text/xmltoman

Manifest for 0.6.7

Type File Size Source URLs
DIST grml-rescueboot_0.6.7+gh.tar.xz 9616 bytes https://github.com/grml/grml-rescueboot/releases/download/v0.6.7/grml-rescueboot_0.6.7+gh.tar.xz