mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-27 19:53:58 +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
9
debian/rules
vendored
9
debian/rules
vendored
@@ -165,7 +165,14 @@ debian/acrn-hypervisor.templates: debian/acrn-hypervisor.templates.in
|
||||
@$(call echo-silent,CREATE $@)
|
||||
$(Q)sed -e 's/@boardlist@/$(call commasep,$(boardlist))/g' $< > $@
|
||||
|
||||
override_dh_installdebconf-arch: debian/acrn-hypervisor.templates
|
||||
debian/acrn-hypervisor.config: debian/acrn-hypervisor.config.in
|
||||
@$(call echo-verbose)
|
||||
@$(call echo-silent,CREATE $@)
|
||||
@# create scenarios as bash associative array
|
||||
$(Q)sed -e 's%@acrndir@%$(libdir)/acrn%g' \
|
||||
-e 's%@scenarios@%($(foreach b,$(boardlist),[$b]="$(call commasep,$(scenariolist_$b))"))%g' $< > $@
|
||||
|
||||
override_dh_installdebconf-arch: debian/acrn-hypervisor.templates debian/acrn-hypervisor.config
|
||||
$(Q)dh_installdebconf -a
|
||||
|
||||
### build-arch ###############################################################
|
||||
|
Reference in New Issue
Block a user