From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 76C2015ACFC for ; Sat, 29 Apr 2023 05:30:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 95C01E08A0; Sat, 29 Apr 2023 05:30:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 627ABE08A0 for ; Sat, 29 Apr 2023 05:30:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 97AF8340FA1 for ; Sat, 29 Apr 2023 05:30:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EBDDE8E4 for ; Sat, 29 Apr 2023 05:30:02 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <1682746196.2aa5121326365e40297d6b72af14b7459d46d967.robbat2@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/ganeti-os-simpleimage/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/ganeti-os-simpleimage/Manifest app-emulation/ganeti-os-simpleimage/ganeti-os-simpleimage-0_p20221113.ebuild app-emulation/ganeti-os-simpleimage/metadata.xml X-VCS-Directories: app-emulation/ganeti-os-simpleimage/ X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: 2aa5121326365e40297d6b72af14b7459d46d967 X-VCS-Branch: master Date: Sat, 29 Apr 2023 05:30:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f9481573-e494-441f-9a2a-1c4959d314d0 X-Archives-Hash: 6604d21f09060daff0e9a81a7a4e6242 commit: 2aa5121326365e40297d6b72af14b7459d46d967 Author: Robin H. Johnson gentoo org> AuthorDate: Sat Apr 29 05:23:04 2023 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Sat Apr 29 05:29:56 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2aa51213 app-emulation/ganeti-os-simpleimage: new package for easier disk images in ganeti Signed-off-by: Robin H. Johnson gentoo.org> app-emulation/ganeti-os-simpleimage/Manifest | 1 + .../ganeti-os-simpleimage-0_p20221113.ebuild | 39 ++++++++++++++++++++++ app-emulation/ganeti-os-simpleimage/metadata.xml | 11 ++++++ 3 files changed, 51 insertions(+) diff --git a/app-emulation/ganeti-os-simpleimage/Manifest b/app-emulation/ganeti-os-simpleimage/Manifest new file mode 100644 index 000000000000..01577c3e8385 --- /dev/null +++ b/app-emulation/ganeti-os-simpleimage/Manifest @@ -0,0 +1 @@ +DIST ganeti-os-simpleimage-07f67364e66b9f686a5b15d0c516310fcc3c7c9b.tar.gz 10722 BLAKE2B 7b9dfe0ba0f1c53ae61e5304b618e1f31ad08a93352b9781dd502bd27ca4426493eb3b61c4e751fe1787eb19c63ddf377a602a35a815042d5c8437ece991c5ba SHA512 278f9430d28c542b25ce4fd449dc57b97bcd56c0fc8b2c7bfacf08cc090c81d74eca44c0cc57faa28576bdaa3b1a0011d8780e8246acf5993765eb8de741e667 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 @@ + + + + + robbat2@gentoo.org + Robin H. Johnson + + + ganeti/instance-simpleimage + +