tvmsdk: Pack the .vdi as well. - libdevuansdk - common library for devuan's simple distro kits
git clone https://git.parazyd.org/libdevuansdk
Log
Files
Refs
Submodules
README
LICENSE
---
commit e94ba2a34d68ea62313365a537dc34130f7cb7fe
parent f09da24f0872ba53afdf2a5d21b616b572d582dc
Author: parazyd 
Date:   Wed,  7 Feb 2018 10:19:06 +0100

vmsdk: Pack the .vdi as well.

Diffstat:
  M zlibs/vm                            |       3 +++

1 file changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/zlibs/vm b/zlibs/vm
t@@ -178,6 +178,7 @@ vm_pack_dist() {
         mkdir -p $R/dist
         mv $workdir/${vm_name}.box $R/dist
         mv $workdir/base.${imageformat} $R/dist/${vm_name}.${imageformat}
+        cp $workdir/base.vdi $R/dist/${vm_name}.vdi
 
         act "calculating sha256 sums..."
         silly
t@@ -185,6 +186,8 @@ vm_pack_dist() {
                 $R/dist/${vm_name}.box.sha
         sha256sum $R/dist/${vm_name}.${imageformat} > \
                 $R/dist/${vm_name}.${imageformat}.sha
+        sha256sum $R/dist/${vm_name}.vdi > \
+                $R/dist/${vm_name}.vdi.sha
 
         notice "cleaning up virtualbox leftovers"
         pushd "$workdir"