debian: Fix cleanup for 'debuild clean'

Tracked-On: #8246
Signed-off-by: Helmut Buchsbaum <helmut.buchsbaum@opensource.tttech-industrial.com>
This commit is contained in:
Helmut Buchsbaum 2022-10-21 08:57:39 +02:00 committed by acrnsi-robot
parent f26640e6f1
commit f4e931c762
1 changed files with 8 additions and 0 deletions

8
debian/rules vendored
View File

@ -364,6 +364,14 @@ override_dh_auto_clean:
@$(foreach b,$(boardlist),echo " $b: $(bold)$(call commasep,$(scenariolist_$b))$(sgr0)";)
@$(call echo-verbose)
@$(call echo-silent,CLEAN)
$(Q)rm -rf .pybuild/
$(Q)find . -type d -name __pycache__ | xargs rm -rf
$(Q)rm -f debian/acrn-hypervisor.config
$(Q)rm -f debian/acrn-hypervisor.postinst
$(Q)rm -f debian/acrn-hypervisor.postrm
$(Q)rm -f debian/acrn-hypervisor.prerm
$(Q)rm -f debian/acrn-hypervisor.templates
$(Q)rm -rf debian/acrn-board-inspector/build
$(Q)dh_auto_clean $(devnull)
### others ###################################################################