mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-25 02:41:45 +00:00
debian: acrn-hypervisor: Refactor debconf
Tracked-On: #6688 Signed-off-by: Helmut Buchsbaum <helmut.buchsbaum@opensource.tttech-industrial.com>
This commit is contained in:
committed by
acrnsi-robot
parent
e49f18f1f3
commit
46416f9fc4
10
debian/acrn-hypervisor.postinst.in
vendored
10
debian/acrn-hypervisor.postinst.in
vendored
@@ -11,16 +11,6 @@ ACRNDIR=@acrndir@
|
||||
|
||||
db_get acrn-hypervisor/board
|
||||
BOARD=${RET}
|
||||
|
||||
SCENARIOS=$(find ${ACRNDIR}/${BOARD} -maxdepth 1 -type d \
|
||||
| tail -n +2 | sed "s#${ACRNDIR}/${BOARD}/##" \
|
||||
| sort | awk '{s=s (s?OFS:x) $1} END {print s}' OFS=", ")
|
||||
|
||||
db_subst acrn-hypervisor/scenario scenariolist ${SCENARIOS}
|
||||
db_clear
|
||||
db_input critical acrn-hypervisor/scenario || true
|
||||
db_go || true
|
||||
|
||||
db_get acrn-hypervisor/scenario
|
||||
SCENARIO=${RET}
|
||||
|
||||
|
Reference in New Issue
Block a user