Re: Building VM-IMAGE(s) from Source

From: David Chisnall <theraven_at_FreeBSD.org>
Date: Thu, 16 Apr 2026 10:29:38 UTC
On 15 Apr 2026, at 11:24, vermaden <vermaden@interia.pl> wrote:
> 
> I was not able to get 'release.sh' to success even a single time - it always failed with different errors - the 'help' I received here also did not pushed things forward ... so I wrote my own verimg(8) tool for similar things as 'release.sh' does.

The only reason I would ever use the release script is if I wanted to have VM images with the same hashes as the public ones.  Your tool doesn’t do exactly the same thing, so probably won’t achieve that.

For every other use case, `poudriere image` is a far more flexible tool (does custom builds, can do base-system overlays, install packages, build packages from ports-tree overlays, and so on), so why would you write a tool that does a small subset of what it does?

David