File tree Expand file tree Collapse file tree 1 file changed +15
-12
lines changed
sdk_container/src/third_party/coreos-overlay/app-emulation/hv-daemons Expand file tree Collapse file tree 1 file changed +15
-12
lines changed Original file line number Diff line number Diff line change @@ -13,20 +13,23 @@ if [[ "${PV}" == 9999 ]]; then
13
13
fi
14
14
15
15
src_compile () {
16
- # Build hv_vss_daemon, hv_kvp_daemon, hv_fcopy_daemon
16
+ # Build hv_vss_daemon, hv_kvp_daemon, hv_fcopy_daemon
17
17
kmake tools/hv
18
18
}
19
19
20
20
src_install () {
21
- dobin " ${S} /build/tools/hv/hv_fcopy_daemon"
22
- dobin " ${S} /build/tools/hv/hv_kvp_daemon"
23
- dobin " ${S} /build/tools/hv/hv_vss_daemon"
24
-
25
- systemd_dounit " ${FILESDIR} /hv_fcopy_daemon.service"
26
- systemd_dounit " ${FILESDIR} /hv_kvp_daemon.service"
27
- systemd_dounit " ${FILESDIR} /hv_vss_daemon.service"
28
-
29
- systemd_enable_service " multi-user.target" " hv_fcopy_daemon.service"
30
- systemd_enable_service " multi-user.target" " hv_kvp_daemon.service"
31
- systemd_enable_service " multi-user.target" " hv_vss_daemon.service"
21
+ if [ -f " ${S} /build/tools/hv/hv_fcopy_uio_daemon" ]; then
22
+ cp " ${S} /build/tools/hv/hv_fcopy_uio_daemon" " ${S} /build/tools/hv/hv_fcopy_daemon"
23
+ fi
24
+
25
+
26
+ HV_DAEMONS=(hv_vss_daemon hv_kvp_daemon hv_fcopy_daemon)
27
+ for HV_DAEMON in " $HV_DAEMONS [@]"
28
+ do
29
+ if [ -f " ${S} /build/tools/hv/${HV_DAEMON} " ]; then
30
+ dobin " ${S} /build/tools/hv/${HV_DAEMON} "
31
+ systemd_dounit " ${FILESDIR} /${HV_DAEMON} .service"
32
+ systemd_enable_service " multi-user.target" " ${HV_DAEMON} .service"
33
+ fi
34
+ done
32
35
}
You can’t perform that action at this time.
0 commit comments