commit:     7bcdf60177d90ae6176b7ca8ebd0afc2a8ed8659
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Tue Sep  6 02:03:55 2022 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Tue Sep  6 02:03:55 2022 +0000
URL:        https://gitweb.gentoo.org/proj/riscv.git/commit/?id=7bcdf601

app-emulation/kvmtool: switch official repo

Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 app-emulation/kvmtool/kvmtool-9999.ebuild | 12 +-----------
 1 file changed, 1 insertion(+), 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)/' \

Reply via email to