On 2019-07-14 19:37, Pete Wright wrote:
> Hey there folks,
> I am wondering if anyone has any pointers on creating a custom Qcow2
> FreeBSD that is akin in size to nanobsd.  I have an environment where we
> need to run a single binary and want to keep our disk image as small as
> possible.  It will run inside a user-mode Qemu process.  Reading through
> the nanobsd script it seems that it expects a raw disk for installation,
> so I do think using the nanobsd script itself well work well.  Has
> anyone else done something similar?  My goal is to have a disk image
> that is around 500MB.
> 
> Thanks in advance!
> -pete
> 

I would expect the answer is `poudriere image` with a src.conf with many
WITHOUT_* knobs to disable things you don't need to get the image down
in size. There is likely a list of such knobs you could borrow from nanobsd.

-- 
Allan Jude

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to