Date: Wed, 12 Jun 2019 08:21:45 +0200 From: Baptiste Daroussin <bapt@freebsd.org> To: Johannes Lundberg <johalun@FreeBSD.org> Cc: jbwlists@hilltopgroup.com, freebsd-current <freebsd-current@freebsd.org> Subject: Re: pkg: Cannot open /dev/null:No such file or directory Message-ID: <20190612062145.ssvzsstb7rc3ubdm@ivaldir.net> In-Reply-To: <a97754ed-9e20-f21f-ec4f-67b9ef5b2294@FreeBSD.org> References: <20190604073209.4e42a0eb@freyja> <20190604054409.4anei2ljzimqc75m@ivaldir.net> <d4f93ec9-da6b-cfed-000e-2488e5619c1d@FreeBSD.org> <935a44aa7587cdc07fadc2e33caed1f7@hilltopgroup.com> <a97754ed-9e20-f21f-ec4f-67b9ef5b2294@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--gfkfnwlwfwv6nu24 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 11, 2019 at 11:52:31AM -0700, Johannes Lundberg wrote: > Hi >=20 > 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. >=20 > Changes (only meant to work for building usb images on amd64 and i386) >=20 > - 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 >=20 > Bapt: Maybe you'll find some of these changes useful? :) >=20 The first I already committed days ago in poudriere, just I should have add= ed 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 --gfkfnwlwfwv6nu24 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEgOTj3suS2urGXVU3Y4mL3PG3PloFAl0AmfMACgkQY4mL3PG3 PloUUg/6A3+jkc0imUEwQeVcG1h/2/AjRc2lrTweiovuKBs75lthUxSyBht3fdpw QroKQWFKV3LXWsfPIQa4cuCoTmqoF8GntZZjnUQeUwNBuXvTKrNP3H8lVkx9jNYl pODH3bve32jcPzvjSJIiDKOGLntVbPE/A08BYHXrFN3MprOt9kJ20pZ2T/RzWJ1V LHwqVbXNkG1o6N7lQZL9ty7bgT7hILA9H5hK2ikZQydk1pHTK2e2/H7pZGqT7D5f /CDwagdTUqaZXcNiQTQzyyalpUntieXZbwNYKJ/bZ0ltir9lx86L1gX3JcEksK+j qXpsv/8eL5lzs/T4g3950e4dV53KR3x8CnorNKHTb/QbdN6qZoQes5DC3co+PnAV GaRfbrguiEUflgknoxkl2nGKMJX4eejVyxXk659Sgex3rdj5ajwlgidpS6GN0d6r nxiHgDD3hew2XJlb8ZoH1AZKHO47IngXvxaE0FBAz5kzepG+CWwpiHPVDMVj5afi vlRsvkewvM9vgtkoPiQ9h1kmIBp3HvhjiMpYVctgaXb5GDOPalojUor00h0FD1Hu ddJ+kJJqzFy6gpNZAonNxh+smoDsa2P+VRQg8QocBTXMBNuSBynMfjmuEZ3WxihX lYByzkIbwDT5H06uEPXTyd2o65qTzeP2ZBxqxeFjiIYSjTta4TE= =wnyA -----END PGP SIGNATURE----- --gfkfnwlwfwv6nu24--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190612062145.ssvzsstb7rc3ubdm>