update virtual-appliance ebuild
This commit is contained in:
parent
5034b80554
commit
145bbb198f
|
@ -1,2 +1,4 @@
|
|||
DIST virtual-appliance-2.0-r20220301.tar.gz 54200 BLAKE2B c9e4993109a1bdeefef712041caaefaea2cb73151d67ee3762d1471491d4e3ef93f1332b5998db098c1197db5b3b4973d9b07c9a6fc891ef62fcee0d63e6e9a0 SHA512 a98efd8310e57d16b4c1910ab3c8fde618cf89fffadee18c992c65758fbf051124206f768e6f270a0420adedf4ddc0efd0aaeb56de2e8c9438cd17d3e41ba483
|
||||
DIST virtual-appliance-2.0-r20230602.tar.gz 55573 BLAKE2B 5168969b9b97ee80e73b0e4013b674fe990b2913730f0e7ee9b8c59d61aaa79302fd0b35d80d9a7c821de756d0220870017069460a19ab29f54e73b2ec195d15 SHA512 bec6c4caba55a9ad22ab95758f363a0b60c70a38575f9e9417ab4f2edebf3f3a1a15a32e07ebdd86cd61261968cc0910016e778ac2b2db3bfc07e40b545bb063
|
||||
EBUILD virtual-appliance-2.0-r20220301.ebuild 1109 BLAKE2B 708b533fc39d5fd8aaa58c3bd8b203e219b5a94377dff3c4220fe84b821bc3674ca6517e338c848cc07b4b692d37f4069d9fa0b8c42f98e17e4aaf58b68a7749 SHA512 b25ca61e895a393d6ac26a5da6ed121b57275e7810e94cc8e4bdd86a2d4a1b7302ddcb84b0ba3e5c630811291c9435850bcdfb5261a41bf041cf34dedc570751
|
||||
EBUILD virtual-appliance-2.0-r20230602.ebuild 1109 BLAKE2B 708b533fc39d5fd8aaa58c3bd8b203e219b5a94377dff3c4220fe84b821bc3674ca6517e338c848cc07b4b692d37f4069d9fa0b8c42f98e17e4aaf58b68a7749 SHA512 b25ca61e895a393d6ac26a5da6ed121b57275e7810e94cc8e4bdd86a2d4a1b7302ddcb84b0ba3e5c630811291c9435850bcdfb5261a41bf041cf34dedc570751
|
||||
|
|
|
@ -0,0 +1,51 @@
|
|||
# Copyright Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=7
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
EGIT_REPO_URI="https://dev.unitas-network.de/r/VA/${PN}.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://git.unitas-network.de/VA/${PN}/archive/${PR/r/}.tar.gz -> ${P}-${PR}.tar.gz"
|
||||
KEYWORDS="amd64 x86"
|
||||
fi
|
||||
|
||||
|
||||
inherit eutils linux-info toolchain-funcs
|
||||
|
||||
DESCRIPTION="Programatically (re)create Gentoo Virtual Appliances"
|
||||
HOMEPAGE="https://git.unitas-network.de/VA/virtual-appliance"
|
||||
|
||||
LICENSE="unknown"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-emulation/qemu
|
||||
app-emulation/open-vmdk
|
||||
sys-block/parted"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
pkg_setup() {
|
||||
CONFIG_CHECK="BLK_DEV_NBD"
|
||||
linux-info_pkg_setup
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
einfo "Nothing to compile"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /opt/${PN}
|
||||
cp -r appliances ${D}/opt/${PN}/appliances
|
||||
cp -r configs ${D}/opt/${PN}/configs
|
||||
cp -r scripts ${D}/opt/${PN}/scripts
|
||||
cp -r Makefile ${D}/opt/${PN}/Makefile
|
||||
|
||||
echo "CONFIG_PROTECT=\"/opt/${PN}/configs\"" > "${T}"/99${PN}
|
||||
doenvd "${T}"/99${PN}
|
||||
}
|
Loading…
Reference in New Issue