> On May 22, 2016, at 1:28 PM, K. Macy <km...@freebsd.org> wrote:
> On Sunday, May 22, 2016, Tim Kientzle <t...@kientzle.com> wrote:
> Crochet has some experimental hooks to install packages onto the system being
> built, but this seems to be hitting problems due to limitations in 'pkg -c'.
> In particular, it seems that pkg performs the chroot before it does any
> network lookups. This is a problem if the chroot is not a complete system
> environment (which it cannot be when you're building an image for another
> There's some further discussion on github:
> Any suggestions?
> Just like you need to mount devfs you should have a resolv.conf in your
> chroot first. Just copy it over before running pkg. This works for me in my
> image creation script.
Sometimes the image does already have a resolv.conf, but if it does, it's for
the target environment (where the image will ultimately be running) and may not
be appropriate for the environment where the image is being built.
firstname.lastname@example.org mailing list
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"