Install this version:
emerge -a =sys-kernel/virtme-ng-1.41
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =sys-kernel/virtme-ng-1.41
Or alternatively:
emerge --autounmask-write -a =sys-kernel/virtme-ng-1.41
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 1.41 | 8 | ~amd64 | 0 |
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..14} )
RUST_MIN_VER="1.75.0"
# for virtme-ng-init
CRATES="
base64@0.22.1
bitflags@2.11.0
cfg-if@1.0.4
cfg_aliases@0.2.1
libc@0.2.183
nix@0.29.0
"
inherit cargo distutils-r1 shell-completion
DESCRIPTION="Quickly build and run kernels inside a virtualized snapshot of your live system"
HOMEPAGE="https://github.com/arighi/virtme-ng"
SRC_URI="
https://github.com/arighi/virtme-ng/archive/refs/tags/v${PV}.tar.gz
-> ${P}.gh.tar.gz
${CARGO_CRATE_URIS}
"
LICENSE="GPL-2"
# Dependent crate licenses for virtme-ng-init
LICENSE+=" MIT"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
dev-python/argcomplete[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
"
RDEPEND="
${DEPEND}
app-emulation/qemu
app-emulation/virtiofsd
net-misc/openssh
net-misc/socat
sys-apps/busybox[static]
"
BDEPEND="dev-python/argparse-manpage[${PYTHON_USEDEP}]"
src_prepare() {
default
sed -i /data_files=data_files/d setup.py || die
}
src_configure() {
distutils-r1_src_configure
cd virtme_ng_init || die
cargo_src_configure
}
src_compile() {
distutils-r1_src_compile
cd virtme_ng_init || die
cargo_src_compile
}
src_test() {
distutils-r1_src_test
cd virtme_ng_init || die
cargo_src_test
}
src_install() {
distutils-r1_src_install
newbashcomp virtme-ng-prompt virtme-ng
newbashcomp vng-prompt vng
dozshcomp virtme-ng-prompt vng-prompt
cd virtme_ng_init || die
cargo_src_install
}
dev-python/argcomplete[] dev-python/requests[]
dev-python/argcomplete[] dev-python/requests[] app-emulation/qemu app-emulation/virtiofsd net-misc/openssh net-misc/socat sys-apps/busybox[static]
dev-python/argparse-manpage[]
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | virtme-ng-1.41.gh.tar.gz | 126314 bytes | https://github.com/arighi/virtme-ng/archive/refs/tags/v1.41.tar.gz |