aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYixun Lan <dlan@gentoo.org>2022-09-06 10:03:55 +0800
committerYixun Lan <dlan@gentoo.org>2022-09-06 10:03:55 +0800
commit7bcdf60177d90ae6176b7ca8ebd0afc2a8ed8659 (patch)
treec7258ff46871e91f34712c2fffebb2f976db6772 /app-emulation
parentwww-client/firefox: drop 98.0.2 (diff)
downloadriscv-7bcdf60177d90ae6176b7ca8ebd0afc2a8ed8659.tar.gz
riscv-7bcdf60177d90ae6176b7ca8ebd0afc2a8ed8659.tar.bz2
riscv-7bcdf60177d90ae6176b7ca8ebd0afc2a8ed8659.zip
app-emulation/kvmtool: switch official repo
Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/kvmtool/kvmtool-9999.ebuild12
1 files changed, 1 insertions, 11 deletions
diff --git a/app-emulation/kvmtool/kvmtool-9999.ebuild b/app-emulation/kvmtool/kvmtool-9999.ebuild
index b5f35de..90c16c9 100644
--- a/app-emulation/kvmtool/kvmtool-9999.ebuild
+++ b/app-emulation/kvmtool/kvmtool-9999.ebuild
@@ -3,6 +3,7 @@
EAPI=8
+EGIT_REPO_URI="https://git.kernel.org/pub/scm/linux/kernel/git/will/kvmtool.git"
inherit git-r3 linux-info
DESCRIPTION="A lightweight tool for hosting KVM guests"
@@ -41,8 +42,6 @@ pkg_pretend() {
if use riscv && kernel_is lt 5 16; then
ewarn "RISC-V KVM official support landed in kernel 5.16,"
ewarn "and requires the hypervisor extension."
- ewarn "Try out https://github.com/kvm-riscv/linux in qemu"
- ewarn "if your kernel/hardware doesn't support it"
fi
if ! linux_config_exists; then
@@ -53,15 +52,6 @@ pkg_pretend() {
fi
}
-src_unpack() {
- if use riscv ; then
- EGIT_REPO_URI="https://github.com/kvm-riscv/kvmtool.git"
- else
- EGIT_REPO_URI="https://git.kernel.org/pub/scm/linux/kernel/git/will/kvmtool.git"
- fi
- git-r3_src_unpack
-}
-
src_prepare() {
default
sed -e 's/^CFLAGS\t:=/CFLAGS := $(CFLAGS)/' \