commit:     6d71e158d712f6a332418e0795cf68a56e242a69
Author:     Sebastian Hamann <code <AT> ares-macrotechnology <DOT> com>
AuthorDate: Sun Nov  7 12:51:04 2021 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Nov 10 10:57:44 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d71e158

app-emulation/firecracker-bin: Drop check for kernel VSOCK support

Firecracker does not use AF_VSOCK on the host, only on the guest.

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Sebastian Hamann <code <AT> ares-macrotechnology.com>
Closes: https://github.com/gentoo/gentoo/pull/22857
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 app-emulation/firecracker-bin/firecracker-bin-0.24.5.ebuild | 5 +----
 app-emulation/firecracker-bin/firecracker-bin-0.25.0.ebuild | 5 +----
 app-emulation/firecracker-bin/firecracker-bin-0.25.1.ebuild | 5 +----
 3 files changed, 3 insertions(+), 12 deletions(-)

diff --git a/app-emulation/firecracker-bin/firecracker-bin-0.24.5.ebuild 
b/app-emulation/firecracker-bin/firecracker-bin-0.24.5.ebuild
index 23b5841d8c5..b52d481d808 100644
--- a/app-emulation/firecracker-bin/firecracker-bin-0.24.5.ebuild
+++ b/app-emulation/firecracker-bin/firecracker-bin-0.24.5.ebuild
@@ -36,7 +36,7 @@ pkg_pretend() {
                if ! linux_config_exists; then
                        eerror "Unable to check your kernel for KVM support"
                else
-                       CONFIG_CHECK="~KVM ~TUN ~BRIDGE ~VHOST_VSOCK"
+                       CONFIG_CHECK="~KVM ~TUN ~BRIDGE"
                        ERROR_KVM="You must enable KVM in your kernel to 
continue"
                        ERROR_KVM_AMD="If you have an AMD CPU, you must enable 
KVM_AMD in"
                        ERROR_KVM_AMD+=" your kernel configuration."
@@ -47,9 +47,6 @@ pkg_pretend() {
                        ERROR_TUN+=" virtual network devices."
                        ERROR_BRIDGE="You will also need support for 802.1d"
                        ERROR_BRIDGE+=" Ethernet Bridging for some network 
configurations."
-                       ERROR_VHOST_VSOCK="To use AF_VSOCK sockets for 
communication"
-                       ERROR_VHOST_VSOCK+=" between host and guest, you will 
need to enable"
-                       ERROR_VHOST_VSOCK+=" the vhost virtio-vsock driver in 
your kernel."
 
                        if use amd64 || use amd64-linux; then
                                if grep -q AuthenticAMD /proc/cpuinfo; then

diff --git a/app-emulation/firecracker-bin/firecracker-bin-0.25.0.ebuild 
b/app-emulation/firecracker-bin/firecracker-bin-0.25.0.ebuild
index 23b5841d8c5..b52d481d808 100644
--- a/app-emulation/firecracker-bin/firecracker-bin-0.25.0.ebuild
+++ b/app-emulation/firecracker-bin/firecracker-bin-0.25.0.ebuild
@@ -36,7 +36,7 @@ pkg_pretend() {
                if ! linux_config_exists; then
                        eerror "Unable to check your kernel for KVM support"
                else
-                       CONFIG_CHECK="~KVM ~TUN ~BRIDGE ~VHOST_VSOCK"
+                       CONFIG_CHECK="~KVM ~TUN ~BRIDGE"
                        ERROR_KVM="You must enable KVM in your kernel to 
continue"
                        ERROR_KVM_AMD="If you have an AMD CPU, you must enable 
KVM_AMD in"
                        ERROR_KVM_AMD+=" your kernel configuration."
@@ -47,9 +47,6 @@ pkg_pretend() {
                        ERROR_TUN+=" virtual network devices."
                        ERROR_BRIDGE="You will also need support for 802.1d"
                        ERROR_BRIDGE+=" Ethernet Bridging for some network 
configurations."
-                       ERROR_VHOST_VSOCK="To use AF_VSOCK sockets for 
communication"
-                       ERROR_VHOST_VSOCK+=" between host and guest, you will 
need to enable"
-                       ERROR_VHOST_VSOCK+=" the vhost virtio-vsock driver in 
your kernel."
 
                        if use amd64 || use amd64-linux; then
                                if grep -q AuthenticAMD /proc/cpuinfo; then

diff --git a/app-emulation/firecracker-bin/firecracker-bin-0.25.1.ebuild 
b/app-emulation/firecracker-bin/firecracker-bin-0.25.1.ebuild
index 11497d56c91..7c7a5f1bce4 100644
--- a/app-emulation/firecracker-bin/firecracker-bin-0.25.1.ebuild
+++ b/app-emulation/firecracker-bin/firecracker-bin-0.25.1.ebuild
@@ -37,7 +37,7 @@ pkg_pretend() {
                        eerror "Unable to check your kernel for KVM support"
                else
                        CONFIG_CHECK="~KVM ~TUN ~BRIDGE"
-                       CONFIG_CHECK="~KVM ~TUN ~BRIDGE ~VHOST_VSOCK"
+                       CONFIG_CHECK="~KVM ~TUN ~BRIDGE"
                        ERROR_KVM_AMD="If you have an AMD CPU, you must enable 
KVM_AMD in"
                        ERROR_KVM_AMD+=" your kernel configuration."
                        ERROR_KVM_INTEL="If you have an Intel CPU, you must 
enable"
@@ -47,9 +47,6 @@ pkg_pretend() {
                        ERROR_TUN+=" virtual network devices."
                        ERROR_BRIDGE="You will also need support for 802.1d"
                        ERROR_BRIDGE+=" Ethernet Bridging for some network 
configurations."
-                       ERROR_VHOST_VSOCK="To use AF_VSOCK sockets for 
communication"
-                       ERROR_VHOST_VSOCK+=" between host and guest, you will 
need to enable"
-                       ERROR_VHOST_VSOCK+=" the vhost virtio-vsock driver in 
your kernel."
 
                        if use amd64 || use amd64-linux; then
                                if grep -q AuthenticAMD /proc/cpuinfo; then

Reply via email to