From 6f72cc958469f746756f894ba6f74ac5fe5b13ba Mon Sep 17 00:00:00 2001 From: David Roman Date: Tue, 22 Oct 2024 11:24:12 +0200 Subject: [PATCH] sys-boot/customrescuecd-x86-grub: treeclean Signed-off-by: David Roman --- profiles/package.mask | 5 --- .../customrescuecd-x86-grub-0.1.ebuild | 30 ------------- .../files/customrescuecd.default | 7 --- .../files/customrescuecd.grub | 43 ------------------- sys-boot/customrescuecd-x86-grub/metadata.xml | 15 ------- 5 files changed, 100 deletions(-) delete mode 100644 sys-boot/customrescuecd-x86-grub/customrescuecd-x86-grub-0.1.ebuild delete mode 100644 sys-boot/customrescuecd-x86-grub/files/customrescuecd.default delete mode 100644 sys-boot/customrescuecd-x86-grub/files/customrescuecd.grub delete mode 100644 sys-boot/customrescuecd-x86-grub/metadata.xml diff --git a/profiles/package.mask b/profiles/package.mask index b03ed62e7f..0f930ecc63 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -123,11 +123,6 @@ mail-client/heirloom-mailx # Removal on 2024-10-21 app-misc/tai -# David Roman (2024-09-21) -# Dead SRC_URI for two years -# Removal on 2024-10-21 -sys-boot/customrescuecd-x86-grub - # Julien Roy (2024-03-21) # sys-libs/libucontext is masked in ::gentoo sys-libs/gcompat diff --git a/sys-boot/customrescuecd-x86-grub/customrescuecd-x86-grub-0.1.ebuild b/sys-boot/customrescuecd-x86-grub/customrescuecd-x86-grub-0.1.ebuild deleted file mode 100644 index 2b35cd8356..0000000000 --- a/sys-boot/customrescuecd-x86-grub/customrescuecd-x86-grub-0.1.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# 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="~x86" - -RDEPEND="app-admin/customrescuecd-x86 - 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" -} diff --git a/sys-boot/customrescuecd-x86-grub/files/customrescuecd.default b/sys-boot/customrescuecd-x86-grub/files/customrescuecd.default deleted file mode 100644 index ce093e352f..0000000000 --- a/sys-boot/customrescuecd-x86-grub/files/customrescuecd.default +++ /dev/null @@ -1,7 +0,0 @@ -Here you can set custom bootoptions for the CustomRescueCD -# -# You can add for example in a space separated list: -# copytoram: causes the iso file to be fully loaded into memory -# this requires 1.5G of memory to cache everything -# -CRCD_BOOTOPTIONS="" diff --git a/sys-boot/customrescuecd-x86-grub/files/customrescuecd.grub b/sys-boot/customrescuecd-x86-grub/files/customrescuecd.grub deleted file mode 100644 index 31294388be..0000000000 --- a/sys-boot/customrescuecd-x86-grub/files/customrescuecd.grub +++ /dev/null @@ -1,43 +0,0 @@ -#!/bin/sh -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -. /usr/share/grub/grub-mkconfig_lib - -if [ -r /etc/default/customrescuecd ] ; then - . /etc/default/customrescuecd -fi - -# srcd = path of newest link to iso of customrescuecd, created by the ebuild -# of customrescuecd-x86 - -crcd="/usr/share/systemrescuecd/systemrescuecd-x86-newest.iso" - -longname="CustomRescueCD" -bootops=")" - -if [ ! -z "${CRCD_BOOTOPTIONS}" ]; then - bootops=" with bootoptions)" -fi - -if [ -f "${crcd}" ]; then - - device=$(${grub_probe} --target=device "${crcd}") - path=$(make_system_path_relative_to_its_root "${crcd}") - grub_string=$(prepare_grub_to_access_device "${device}" | grub_add_tab | grub_add_tab) - - gettext_printf "Found %s on %s\n" "${longname}" "${device}" >&2 - onstr=$(gettext_printf "(on %s)" "${device}") - - cat << EOF -submenu "${longname}" --class submenu { - menuentry "${longname} (32bit standard${bootops}" --class rescue { -${grub_string} - set isofile=${path} - loopback loop \${isofile} - linux (loop)/boot/x86/customrescue32 ${CRCD_BOOTOPTIONS} customisobasedir=customresccd customisolabel=CRC32 vga=791 net.ifnames=0 - } -} -EOF - -fi diff --git a/sys-boot/customrescuecd-x86-grub/metadata.xml b/sys-boot/customrescuecd-x86-grub/metadata.xml deleted file mode 100644 index e8f15959ab..0000000000 --- a/sys-boot/customrescuecd-x86-grub/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - andrea.postiglione@gmail.com - Andrea Postiglione - - - This package adds menu entries in GRUB for the CustomRescueCD. You can - add custom bootoptions for CustomRescueCD in a special config file. - - - customrescuecd - -