diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-11-02 03:04:24 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-11-02 03:04:24 +0000 |
commit | 37a097af13d675b83911ac006ee9ee22d2163f9a (patch) | |
tree | 75294129093c3332ea0ba918643a3485b19550f6 /app-emulation/grub-xen-host | |
parent | aac5e1b02ac846f5e1ce85f4f66fdec46aa9b0d1 (diff) |
gentoo auto-resync : 02:11:2024 - 03:04:23
Diffstat (limited to 'app-emulation/grub-xen-host')
-rw-r--r-- | app-emulation/grub-xen-host/Manifest | 1 | ||||
-rw-r--r-- | app-emulation/grub-xen-host/grub-xen-host-1.0-r1.ebuild | 98 |
2 files changed, 0 insertions, 99 deletions
diff --git a/app-emulation/grub-xen-host/Manifest b/app-emulation/grub-xen-host/Manifest index b2c0d928151f..2c1163fd11bb 100644 --- a/app-emulation/grub-xen-host/Manifest +++ b/app-emulation/grub-xen-host/Manifest @@ -1,3 +1,2 @@ -EBUILD grub-xen-host-1.0-r1.ebuild 2007 BLAKE2B 6c4bb9ac18792b9c7253dbc9136c1c724600371abe9249df4c7aa0fc14b7d6d19e683586f1ee0c60621a256395c31e02a71a344feeaea0a0465e778c5674b4e7 SHA512 0f146b3e7a2602f0e9d3ece86448e86104797bec9ab8d7de8b604a29fd51d94b4b3539c49f09b3ce622382125a322b04a617e62c137eebc2b1333e6a57eb0a9e EBUILD grub-xen-host-1.0-r2.ebuild 2002 BLAKE2B 0b5362fa1470fa1e50944010ce7f6e4f7127204d0333f3824829170fba45568412641b5805ea6601392b945b0314b4ad0d5ea227b4a91c1b22862f195714f7bc SHA512 4a594e83d82a27b3231d413735cfe301ddb72a959e2f9c5e7de0f07f69d18fea907edb5a2a3b7458a3d3e8b09064d29183765b6f7f83dece7735e7d04b035cee MISC metadata.xml 516 BLAKE2B f9183f3e1f7b6de089e478a77b9ff6282cdffc9cad59ed045488025ea05a12997ac18506f089396e99320d98159d8c1631d5ee8a81debc0647b24b66f253e9d3 SHA512 495b6a380e366760ce97f8d865c2ae118ed6a7c189983d871c6517b08e1a86e8d6a47fb43b85c2f175a10a234e1895fbabc98c4806eb79aade14955841a90813 diff --git a/app-emulation/grub-xen-host/grub-xen-host-1.0-r1.ebuild b/app-emulation/grub-xen-host/grub-xen-host-1.0-r1.ebuild deleted file mode 100644 index 2aaa8eb6a896..000000000000 --- a/app-emulation/grub-xen-host/grub-xen-host-1.0-r1.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Grub2 built as a PV grub per the Xen PV Boot Protocol" -HOMEPAGE="https://wiki.xenproject.org/wiki/PvGrub2" -SRC_URI="" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="amd64" -IUSE="pvh" - -DEPEND="sys-boot/grub:2=[grub_platforms_xen] - pvh? ( >=sys-boot/grub-2.04:2=[grub_platforms_xen-pvh] ) - 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" - - if use pvh; then - local args=( - "${grub_mkimage}" - -O i386-xen_pvh - -c grub-bootstrap.cfg - -m memdisk.tar - -o grub-i386-xen_pvh.bin - /usr/lib/grub/i386-xen_pvh/*.mod - ) - - echo "${args[@]}" - "${args[@]}" || die "failed to grub-mkimage" - fi - -} - -src_install() { - exeinto /usr/libexec/xen/bin - doexe grub-x86_64-xen.bin - if use pvh; then - doexe grub-i386-xen_pvh.bin - fi -} |