vmactions / netbsd-vm

Use NetBSD in github actions
MIT License
21 stars 1 forks source link

xsets #2

Open 0323pin opened 1 year ago

0323pin commented 1 year ago

Hi,

Thank you for providing these images. Would it be possible to include the xsets in the VM image? See, https://github.com/woelper/oculante/issues/106 for the reason.

Or, is it possible to fetch additional sets from the ftp-server directly and unpacking them? For most cases the xdebug set is probably not needed and this is the larger piece.

Thoughts?

Neilpang commented 1 year ago

Would it be possible to include the xsets in the VM image

How much size of the images would increase for xsets ?

, is it possible to fetch additional sets from the ftp-server directly and unpacking them?

Yes, I think you can run any shell script in the prepare: arg. Or do you need anything more?

0323pin commented 1 year ago

How much size of the images would increase for xsets ?

E.g. for amd64 9.3 release the last 6 in the list.

Yes, I think you can run any shell script in the prepare: arg.

Thanks! I need to confirm the unpacking phase.

Or do you need anything more?

In the use case above, we need the x11 libraries to be able to link them at compile time. But, if I'm able to fetch and unpack the sets, maybe it's possible.

gaborcsardi commented 7 hours ago

FWIW to get the libraries, this worked for me:

curl -s -L https://ftp.netbsd.org/pub/NetBSD/NetBSD-10.0/amd64/binary/sets/xbase.tar.xz | tar xzf - -C /