From d87262dd706fec50cd150aab3e93883b6337466d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 20:56:41 +0100 Subject: gentoo resync : 14.07.2018 --- .../grub-xen-host/grub-xen-host-1.0.ebuild | 83 ---------------------- 1 file changed, 83 deletions(-) delete mode 100644 app-emulation/grub-xen-host/grub-xen-host-1.0.ebuild (limited to 'app-emulation/grub-xen-host/grub-xen-host-1.0.ebuild') 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 8fe09f145e0f..000000000000 --- a/app-emulation/grub-xen-host/grub-xen-host-1.0.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# 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}" - -STRIP_MASK="usr/libexec/xen/bin/grub-x86_64-xen.bin" -QA_EXECSTACK="usr/libexec/xen/bin/grub-x86_64-xen.bin" -QA_WX_LOAD="usr/libexec/xen/bin/grub-x86_64-xen.bin" -QA_PRESTRIPPED="usr/libexec/xen/bin/grub-x86_64-xen.bin" -RESTRICT="test" - -src_configure() { - : -} - -src_compile() { - cat > "${S}/grub-bootstrap.cfg" <<- EOF - normal (memdisk)/grub.cfg - EOF - - cat > "${S}/grub.cfg" <<- EOF - 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 -} -- cgit v1.2.3