app-emulation/hv-daemons: Drop 9999 ebuild

It doesn't make any sense because there is no 9999 version of coreos-sources.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
This commit is contained in:
James Le Cuirot 2025-12-10 22:31:38 +00:00
parent b5e9560fba
commit 3d1a2a44bd
No known key found for this signature in database
GPG Key ID: 1226415D00DD3137
3 changed files with 27 additions and 36 deletions

View File

@ -0,0 +1,27 @@
# Copyright 2025 The Flatcar Maintainers
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit coreos-kernel savedconfig systemd
DESCRIPTION="HyperV guest support daemons"
KEYWORDS="amd64 arm64"
src_compile() {
# Build hv_vss_daemon, hv_kvp_daemon, hv_fcopy_daemon
kmake tools/hv
}
src_install() {
local -a HV_DAEMONS=(hv_vss_daemon hv_kvp_daemon hv_fcopy_daemon hv_fcopy_uio_daemon)
local HV_DAEMON
for HV_DAEMON in "${HV_DAEMONS[@]}"
do
if [ -f "${S}/build/tools/hv/${HV_DAEMON}" ]; then
dobin "${S}/build/tools/hv/${HV_DAEMON}"
systemd_dounit "${FILESDIR}/${HV_DAEMON}.service"
systemd_enable_service "multi-user.target" "${HV_DAEMON}.service"
fi
done
}

View File

@ -1,31 +0,0 @@
# Copyright 2044-2016 The Flatcar Maintainers
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit coreos-kernel savedconfig systemd
DESCRIPTION="HyperV guest support daemons."
KEYWORDS="amd64 arm64"
if [[ "${PV}" == 9999 ]]; then
KEYWORDS="~amd64 ~arm64"
fi
src_compile() {
# Build hv_vss_daemon, hv_kvp_daemon, hv_fcopy_daemon
kmake tools/hv
}
src_install() {
local -a HV_DAEMONS=(hv_vss_daemon hv_kvp_daemon hv_fcopy_daemon hv_fcopy_uio_daemon)
local HV_DAEMON
for HV_DAEMON in "${HV_DAEMONS[@]}"
do
if [ -f "${S}/build/tools/hv/${HV_DAEMON}" ]; then
dobin "${S}/build/tools/hv/${HV_DAEMON}"
systemd_dounit "${FILESDIR}/${HV_DAEMON}.service"
systemd_enable_service "multi-user.target" "${HV_DAEMON}.service"
fi
done
}

View File

@ -1,4 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
</pkgmetadata>