On Tue, Jun 11, 2019 at 11:52:31AM -0700, Johannes Lundberg wrote: > Hi > > This is probably overkill but I've attached a diff that show my patches > to image.sh. It's just a hack so far to make it do what I want and not > meant as general purpose. Use the changes you need for your application. > > Changes (only meant to work for building usb images on amd64 and i386) > > - mount devfs so pkg will work properly > - add "install packages from official repo" option so you won't have to > build your own packages for each jail > - downloaded packages from official repo is cached locally to avoid > excessive downloads > - hack for i386 so packages are installed properly > - increase swap space to allow for kernel core dumps (for usb image) > - execute post-install script "overlay.sh" in the jail if provided in > the overlay folder > > Bapt: Maybe you'll find some of these changes useful? :) > The first I already committed days ago in poudriere, just I should have added it as a patch to the poudriere version in ports, I will do it asap. As for other improvements, sure they sounds like useful, would be happy to review them if you make pull requests out of them! Thanks a lot, Bapt
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:20 UTC