libdevuansdk

common library for devuan's simple distro kits
git clone https://git.parazyd.org/libdevuansdk
Log | Files | Refs | Submodules | README | LICENSE

commit 9a1874d072468eba55746aae926bbee235652da1
parent aedf124832b7643ab3f215395cb6083a9cf2db7f
Author: parazyd <parazyd@dyne.org>
Date:   Fri, 13 Nov 2020 11:21:31 +0100

Remove the raw VM image if not requested at build time.

Diffstat:
Mzlibs/vm | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/zlibs/vm b/zlibs/vm @@ -90,6 +90,10 @@ vm_pack_dist() $_xzcomp "${image_name}.vdi" || { zerr; return 1; } fi + if [[ "$imageformat" != raw ]]; then + rm -f "${image_name}.img" + fi + act "Calculating sha256 checksums" silly sha256sum "${image_name}.${_rsuffix}" > "${image_name}.${_rsuffix}.sha256"