Skip to content

Commit

Permalink
app-emulation/hv-daemons: add hv_fcopy_uio_daemon
Browse files Browse the repository at this point in the history
  • Loading branch information
ader1990 committed Sep 19, 2024
1 parent 476037d commit 06de6c8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[Unit]
Description=Hyper-V FCOPY UIO daemon
ConditionPathExists=/sys/bus/vmbus/devices/eb765408-105f-49b6-b4aa-c123b64d17d4/uio

[Service]
ExecStart=/usr/bin/hv_fcopy_uio_daemon --no-daemon

[Install]
WantedBy=multi-user.target
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,7 @@ src_compile() {
}

src_install() {
if [ -f "${S}/build/tools/hv/hv_fcopy_uio_daemon" ]; then
cp "${S}/build/tools/hv/hv_fcopy_uio_daemon" "${S}/build/tools/hv/hv_fcopy_daemon"
fi


HV_DAEMONS=(hv_vss_daemon hv_kvp_daemon hv_fcopy_daemon)
HV_DAEMONS=(hv_vss_daemon hv_kvp_daemon hv_fcopy_daemon hv_fcopy_uio_daemon)
for HV_DAEMON in "$HV_DAEMONS[@]"
do
if [ -f "${S}/build/tools/hv/${HV_DAEMON}" ]; then
Expand Down

0 comments on commit 06de6c8

Please sign in to comment.