+ # Hack for vod service for RSE with most/hvac demo hardware
+
+ # vod-client is provided as binary stored and delivered in staging/most-can-demo-bin.
+ install -m 0755 -d ${D}/usr/AGL/most
+ install -m 0755 ${S}/vod-client ${D}/usr/AGL/most
+
+ # Install HVAC DEMO hardware startup systemd service (user)
+ if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
+ install -m 644 -p -D ${WORKDIR}/hvac-demo.service ${D}${systemd_user_unitdir}/hvac-demo.service
+ fi
+
+ # Execute install manually for root user on behalf of systemctl script
+ # because it doesn't support user mode of systemd.
+ install -m 0755 -d ${D}/home/root/.config/systemd/user/default.target.wants/
+ ln -sf ${systemd_user_unitdir}/hvac-demo.service ${D}/home/root/.config/systemd/user/default.target.wants/hvac-demo.service