debian: Use original acrnd.service

Part of fix for
https://github.com/tttech-industrial-buchsbaum/acrn-hypervisor/issues/6

Tracked-On: #6688
Signed-off-by: Helmut Buchsbaum <helmut.buchsbaum@opensource.tttech-industrial.com>
This commit is contained in:
Helmut Buchsbaum 2022-05-02 23:37:33 +02:00 committed by acrnsi-robot
parent a344010e68
commit 78b64c21b3
4 changed files with 2 additions and 18 deletions

View File

@ -1,3 +1,4 @@
usr/bin/acrnd
usr/bin/acrnctl
usr/share/doc/acrnd/examples/
lib/systemd/system/acrnd.service

14
debian/acrnd.service vendored
View File

@ -1,14 +0,0 @@
[Unit]
Description=ACRN manager deamon
After=systemd-resolved.service
ConditionPathExists=/sys/kernel/debug/gvt
ConditionPathExists=/dev/acrn_hsm
[Service]
Type=simple
ExecStart=/usr/bin/acrnd -t
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=multi-user.target

2
debian/control vendored
View File

@ -92,7 +92,7 @@ Description: Devicemodel for ACRN Hypervisor
Package: acrnd
Architecture: amd64
Depends: ${shlibs:Depends}, ${misc:Depends}
Depends: ${shlibs:Depends}, ${misc:Depends}, acrn-lifemngr
Suggests: acrn-doc
Description: ACRN Hypervisor control daemon
ACRN is an open source reference hypervisor, built to meet the unique

3
debian/rules vendored
View File

@ -274,9 +274,6 @@ override_dh_auto_install-arch:
$(Q)sed -i 's/acrn_tap\* //g' \
$(DESTDIR)$(docdir)/acrnd/examples/50-acrn.network
@:
@# remove acrnd.service, use explicitly provided service file instead
$(Q)rm -f $(DESTDIR)$(systemd_unitdir)/system/acrnd.service
@:
@# move devicemodel samples
$(Q)mkdir -p $(DESTDIR)$(docdir)/acrn-devicemodel
$(Q)mv $(DESTDIR)$(datadir)/acrn/samples \