Skip to content

Commit

Permalink
Use zstd for bhyve image compression
Browse files Browse the repository at this point in the history
  • Loading branch information
citrus-it committed Mar 25, 2021
1 parent 526f27f commit 8ca13aa
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions build/bhyve
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,8 @@ zfs snapshot $HVMdataset@final
zfs send $HVMdataset@final | pv > $BUILDSEND_MP/r$VERSION.bhyve
zfs destroy -r $HVMdataset

rm -f $BUILDSEND_MP/r$VERSION.bhyve.xz
xz -9v $BUILDSEND_MP/r$VERSION.bhyve

ls -lh $BUILDSEND_MP/r$VERSION.bhyve.xz
zstd -9fv --rm $BUILDSEND_MP/r$VERSION.bhyve
ls -lh $BUILDSEND_MP/r$VERSION.bhyve.zst

# Vim hints
# vim:ts=4:sw=4:et:fdm=marker

0 comments on commit 8ca13aa

Please sign in to comment.