Re: pkg: Cannot open /dev/null:No such file or directory

From: Baptiste Daroussin <bapt_at_freebsd.org>
Date: Wed, 12 Jun 2019 08:21:45 +0200
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

Received on Wed Jun 12 2019 - 04:21:47 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:20 UTC