app-emulation/distrobuilder: image builder for lxc and lxd

Closes: https://bugs.gentoo.org/657478
Signed-off-by: William Hubbs <williamh@gentoo.org>
This commit is contained in:
William Hubbs
2020-08-25 10:10:42 -05:00
parent bb622e418c
commit 8fc5737fbe
3 changed files with 47 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
DIST distrobuilder-1.1.tar.gz 17339508 BLAKE2B 5dc023520783301bfaaee9dbdb7f6707a565b6b7cde18afe53051c47cf4ec243be4f279846753f4fdab75f8aa3333fc4e74d90376390073e36edcb57a1d22815 SHA512 4638cb7ad34032a4ab6d6d85a07b92b7ee3ebc6fe34672d148b0574d487ca2a572fbcc700f829865faa77ec07f78e47555246cb8a2455c713d5051f19cbf8426
@@ -0,0 +1,34 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit go-module linux-info
DESCRIPTION="System container image builder for LXC and LXD"
HOMEPAGE="https://linuxcontainers.org/distrobuilder/introduction/"
SRC_URI="https://linuxcontainers.org/downloads/distrobuilder/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-util/debootstrap
app-crypt/gnupg
sys-fs/squashfs-tools
dev-vcs/git
net-misc/rsync
"
CONFIG_CHECK="~OVERLAY_FS"
src_compile() {
cd _dist/src/github.com/lxc/distrobuilder || die "cd failed"
GO111MODULE="off" GOBIN="${S}/bin" GOPATH="${S}/_dist" \
go install ./... || die "compile failed"
}
src_install() {
dobin bin/*
}
+12
View File
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>williamh@gentoo.org</email>
<name>William Hubbs</name>
</maintainer>
<maintainer type="person">
<email>posting@vodacomm.ca</email>
<name>Stephen Bosch</name>
</maintainer>
</pkgmetadata>