mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-01 08:56:55 +00:00
DM: add service to support auot boot UOS
add acrn_guest.service, and modify makefile to install it into root fs. Signed-off-by: Minggui Cao <minggui.cao@intel.com> Reviewed-by: Like Yan <like.yan@intel.com>
This commit is contained in:
13
devicemodel/samples/apl-mrb/acrn_guest.service
Normal file
13
devicemodel/samples/apl-mrb/acrn_guest.service
Normal file
@@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=Start ACRN UOS
|
||||
After=systemd-networkd.service
|
||||
|
||||
ConditionPathExists=/sys/kernel/gvt
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
RemainAfterExit=false
|
||||
ExecStart=/bin/sh /usr/share/acrn/samples/apl-mrb/launch_uos.sh -V 5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Reference in New Issue
Block a user