mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Makefile.vm: Set CLEANDIRS correctly for vm-image
With multiple filesystems and disk image formats, we now use different staging directories; we need to include them all in CLEANDIRS. Fixes: 97bd53ef4d20b "Makefile.vm: Fix duplicate rc.conf files" MFC after: 3 days (cherry picked from commit 7ffa1f14e3c19f0061ec9f38bb74c564a49ffc17)
This commit is contained in:
parent
70dcf0608c
commit
d576c1dd97
1 changed files with 2 additions and 1 deletions
|
|
@ -145,9 +145,10 @@ cw-${_CW:tl}: cw-${_CW:tl}-${${_CW:tu}_FORMAT:[1]}
|
|||
.endif
|
||||
|
||||
.if defined(WITH_VMIMAGES) && !empty(WITH_VMIMAGES)
|
||||
CLEANDIRS+= ${VMTARGETS}
|
||||
CLEANFILES+= vm-image
|
||||
. for FORMAT in ${VMFORMATS}
|
||||
. for FS in ${VMFSLIST}
|
||||
CLEANDIRS+= vm-image-${FORMAT}-${FS}
|
||||
CLEANFILES+= ${FORMAT}.${FS}.img
|
||||
CLEANFILES+= ${VMBASE}.${FS}.${FORMAT}
|
||||
. endfor
|
||||
|
|
|
|||
Loading…
Reference in a new issue