diff options
Diffstat (limited to 'app-emulation/ganeti-os-simpleimage')
3 files changed, 53 insertions, 0 deletions
diff --git a/app-emulation/ganeti-os-simpleimage/Manifest b/app-emulation/ganeti-os-simpleimage/Manifest new file mode 100644 index 000000000000..27665fc7087d --- /dev/null +++ b/app-emulation/ganeti-os-simpleimage/Manifest @@ -0,0 +1,3 @@ +DIST ganeti-os-simpleimage-07f67364e66b9f686a5b15d0c516310fcc3c7c9b.tar.gz 10722 BLAKE2B 7b9dfe0ba0f1c53ae61e5304b618e1f31ad08a93352b9781dd502bd27ca4426493eb3b61c4e751fe1787eb19c63ddf377a602a35a815042d5c8437ece991c5ba SHA512 278f9430d28c542b25ce4fd449dc57b97bcd56c0fc8b2c7bfacf08cc090c81d74eca44c0cc57faa28576bdaa3b1a0011d8780e8246acf5993765eb8de741e667 +EBUILD ganeti-os-simpleimage-0_p20221113.ebuild 1303 BLAKE2B 07ec9ffbb42506e032bedb1a4e3dc4b411e16cd0711b532e5bc55b9043dc78cfbf7b5a8802f14eea5a9d3b7be04003d4a08b8e2fedcafb4dec39f75ef8486143 SHA512 3485eb16c37d890bb49fa3aa2e137d53cd531681627d47b409366b274731067c1f8e5e620b48bc06895c1e66933829aa40e0f06e5641fd3a961a0a0a4b7208c4 +MISC metadata.xml 343 BLAKE2B a8ace1158ed8c7fe43993e543795434da2376f577c150e42ba65a2a39ecceeb97273417c90951ab1d57a5605d96bb5c30016591778a0b55b256d6ee7478173dd SHA512 c2cdc9fabd0cd7233128cdc2d32761f13b02f589b63db411f6b026cc5493cf4a93e7f48a6064e0dc606e51ce5d4f305218fda0aa673604193a4fbe87bdb7e73b diff --git a/app-emulation/ganeti-os-simpleimage/ganeti-os-simpleimage-0_p20221113.ebuild b/app-emulation/ganeti-os-simpleimage/ganeti-os-simpleimage-0_p20221113.ebuild new file mode 100644 index 000000000000..b0858bcc0e55 --- /dev/null +++ b/app-emulation/ganeti-os-simpleimage/ganeti-os-simpleimage-0_p20221113.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +COMMIT=07f67364e66b9f686a5b15d0c516310fcc3c7c9b +MY_PV=$COMMIT + +DESCRIPTION="Ganeti OS provider for simple images " +HOMEPAGE="https://github.com/ganeti/instance-simpleimage" +SRC_URI="https://github.com/ganeti/instance-simpleimage/archive/${MY_PV}.tar.gz -> ${PN}-${MY_PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +S="${WORKDIR}/instance-simpleimage-${MY_PV}" + +src_install() { + # Config + keepdir /etc/ganeti/instance-simpleimage/default/ + keepdir /etc/ganeti/instance-simpleimage/default/hooks + touch "${D}/etc/ganeti/instance-simpleimage/default/config" + + insinto /usr/share/ganeti/os/simpleimage + doins ganeti_api_version parameters.list common.sh + exeinto /usr/share/ganeti/os/simpleimage + doexe create export import rename verify + # This is moved into /etc because sysadmins are expected to modify it, and + # add matching dirs for each variant in + # /etc/ganeti/instance-simpleimage/$VARIANT/ + insinto /etc/ganeti/instance-simpleimage/ + doins variants.list + dosym ../../../../../etc/ganeti/instance-simpleimage/variants.list \ + /usr/share/ganeti/os/simpleimage/variants.list + + # Docs + dodoc README.md + docinto example-hooks + dodoc example-hooks/debian-cloud-image-config +} diff --git a/app-emulation/ganeti-os-simpleimage/metadata.xml b/app-emulation/ganeti-os-simpleimage/metadata.xml new file mode 100644 index 000000000000..10f9cbd5fa6a --- /dev/null +++ b/app-emulation/ganeti-os-simpleimage/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>robbat2@gentoo.org</email> + <name>Robin H. Johnson</name> + </maintainer> + <upstream> + <remote-id type="github">ganeti/instance-simpleimage</remote-id> + </upstream> +</pkgmetadata> |