diff options
author | Jakov Smolić <jsmolic@gentoo.org> | 2021-12-13 17:27:58 +0100 |
---|---|---|
committer | Jakov Smolić <jsmolic@gentoo.org> | 2021-12-13 17:27:58 +0100 |
commit | ef9d5342526ef4f5c3cdffb5f2ff537bdf7401d1 (patch) | |
tree | a7a99c9aa92b91d7d6d949675abd524c63f1b5b6 /app-emulation/grub-xen-host | |
parent | app-emulation/grub-xen-host: Stabilize 1.0-r1 amd64, #698916 (diff) | |
download | gentoo-ef9d5342526ef4f5c3cdffb5f2ff537bdf7401d1.tar.gz gentoo-ef9d5342526ef4f5c3cdffb5f2ff537bdf7401d1.tar.bz2 gentoo-ef9d5342526ef4f5c3cdffb5f2ff537bdf7401d1.zip |
app-emulation/grub-xen-host: Drop EAPI-5 ebuild
Bug: https://bugs.gentoo.org/698916
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'app-emulation/grub-xen-host')
-rw-r--r-- | app-emulation/grub-xen-host/grub-xen-host-1.0.ebuild | 79 |
1 files changed, 0 insertions, 79 deletions
diff --git a/app-emulation/grub-xen-host/grub-xen-host-1.0.ebuild b/app-emulation/grub-xen-host/grub-xen-host-1.0.ebuild deleted file mode 100644 index 9150a04e8c80..000000000000 --- a/app-emulation/grub-xen-host/grub-xen-host-1.0.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -DESCRIPTION="Grub2 built as a PV grub per the Xen PV Boot Protocol" -HOMEPAGE="https://blog.xenproject.org/2015/01/07/using-grub-2-as-a-bootloader-for-xen-pv-guests/" -SRC_URI="" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="amd64" -IUSE="" - -DEPEND="sys-boot/grub:2=[grub_platforms_xen] - app-emulation/xen-tools:=" -RDEPEND="${DEPEND}" - -S="${WORKDIR}" - -RESTRICT="binchecks strip test" - -src_configure() { - : -} - -src_compile() { - cat > "${S}/grub-bootstrap.cfg" <<- EOF || die - normal (memdisk)/grub.cfg - EOF - - cat > "${S}/grub.cfg" <<- EOF || die - if search -s -f /boot/xen/pvboot-x86_64.elf ; then - echo "Chainloading (${root})/boot/xen/pvboot-x86_64.elf" - multiboot "/boot/xen/pvboot-x86_64.elf" - boot - fi - - if search -s -f /xen/pvboot-x86_64.elf ; then - echo "Chainloading (${root})/xen/pvboot-x86_64.elf" - multiboot "/xen/pvboot-x86_64.elf" - boot - fi - - if search -s -f /boot/grub/grub.cfg ; then - echo "Reading (${root})/boot/grub/grub.cfg" - configfile /boot/grub/grub.cfg - fi - - if search -s -f /grub/grub.cfg ; then - echo "Reading (${root})/grub/grub.cfg" - configfile /grub/grub.cfg - fi - EOF - - tar cf memdisk.tar grub.cfg || die "failed to tar" - - local grub_mkimage=grub-mkimage - if type grub2-mkimage &> /dev/null; then - grub_mkimage=grub2-mkimage - fi - - local args=( - "${grub_mkimage}" - -O x86_64-xen - -c grub-bootstrap.cfg - -m memdisk.tar - -o grub-x86_64-xen.bin - /usr/lib/grub/x86_64-xen/*.mod - ) - - echo "${args[@]}" - "${args[@]}" || die "failed to grub-mkimage" -} - -src_install() { - exeinto /usr/libexec/xen/bin - doexe grub-x86_64-xen.bin -} |