-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
506560c
commit cded58e
Showing
14 changed files
with
125 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# Copyright 1999-2016 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI=6 | ||
|
||
inherit linux-info | ||
|
||
DESCRIPTION="Script for defining VMs from images provided in thin LVM pool" | ||
HOMEPAGE="https://www.famera.cz/blog/fast-vm/about.html" | ||
SRC_URI="https://github.com/OndrejHome/fast-vm/archive/1.6.tar.gz" | ||
|
||
LICENSE="GPL-3+" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~x86" | ||
IUSE="+hack-file-dependencies +bash-completion +zstd" | ||
|
||
# built time dependencies | ||
DEPEND="" | ||
# runtime dependencies | ||
RDEPEND=" | ||
app-emulation/libvirt[virt-network] | ||
net-dns/dnsmasq[dhcp-tools,script] | ||
sys-apps/gawk | ||
sys-apps/coreutils | ||
app-admin/sudo | ||
dev-libs/libxml2 | ||
sys-fs/lvm2[thin] | ||
net-misc/openssh | ||
|| ( net-misc/curl net-misc/wget ) | ||
hack-file-dependencies? ( | ||
>=app-emulation/libguestfs-1.36.4 | ||
>=app-emulation/libguestfs-appliance-1.36.1 | ||
app-emulation/libvirt[virt-network,qemu] | ||
) | ||
bash-completion? ( app-shells/bash-completion ) | ||
zstd? ( app-arch/zstd ) | ||
" | ||
|
||
src_compile() { | ||
return | ||
} | ||
|
||
pkg_setup() { | ||
# check if some basic kernel modules not checked elsewhere are needed | ||
CONFIG_CHECK=" | ||
~DM_SNAPSHOT | ||
~DM_THIN_PROVISIONING | ||
~CONFIG_NF_NAT_IPV4 | ||
~CONFIG_NF_NAT_MASQUERADE_IPV4" | ||
if [[ -n ${CONFIG_CHECK} ]]; then | ||
linux-info_pkg_setup | ||
fi | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters