mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-28 12:05:59 +00:00
Add debianization support
Add support to generate Debian packages. For details see debian/README. debian/changelog is manually intialized, ready to be updated by gbp dch command. Tracked-On: #6688 Signed-off-by: Helmut Buchsbaum <helmut.buchsbaum@opensource.tttech-industrial.com>
This commit is contained in:
committed by
acrnsi-robot
parent
aa8d636507
commit
300a8b259d
9
debian/lifemngr/acrn-lifemngr.conf
vendored
Normal file
9
debian/lifemngr/acrn-lifemngr.conf
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
# ACRN lifemngr invocation configuration file
|
||||
|
||||
# set the following items accordingly to override default:
|
||||
|
||||
# Use 'sos' or 'uos' here. Usually detect automatically.
|
||||
# LIFEMNGR_VM=<vm type>
|
||||
|
||||
# Use the respective serial port here:
|
||||
# LIFEMNGR_TTY=<serial port device>
|
14
debian/lifemngr/start-acrn-lifemngr.sh
vendored
Executable file
14
debian/lifemngr/start-acrn-lifemngr.sh
vendored
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
# helper to start ACRN lifemnr according to VM type
|
||||
|
||||
LIFEMNGR_CONF=/usr/share/acrn-lifemngr/acrn-lifemngr.conf
|
||||
|
||||
# eventually include configuration for overriding default configuration
|
||||
if [ -f ${LIFEMNGR_CONF} ]; then
|
||||
. ${LIFEMNGR_CONF}
|
||||
fi
|
||||
|
||||
LIFEMNGR_VM=${LIFEMNGR_VM:-$(if [ -c /dev/acrn_hsm ]; then echo sos; else echo uos; fi)}
|
||||
LIFEMNGR_TTY=${LIFEMNGR_TTY:-/dev/ttyS1}
|
||||
|
||||
/usr/bin/acrn-lifemngr ${LIFEMNGR_VM} ${LIFEMNGR_TTY}
|
Reference in New Issue
Block a user