commit e94ba2a34d68ea62313365a537dc34130f7cb7fe
parent f09da24f0872ba53afdf2a5d21b616b572d582dc
Author: parazyd <parazyd@dyne.org>
Date: Wed, 7 Feb 2018 10:19:06 +0100
vmsdk: Pack the .vdi as well.
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/zlibs/vm b/zlibs/vm
@@ -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
@@ -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"