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:
Helmut Buchsbaum
2022-04-04 12:11:57 +02:00
committed by acrnsi-robot
parent aa8d636507
commit 300a8b259d
49 changed files with 1417 additions and 0 deletions

9
debian/lifemngr/acrn-lifemngr.conf vendored Normal file
View 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
View 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}