[PC-BSD Pbi-dev] pbibuild without portsnap - is it possible?
Kris Moore
kris at pcbsd.org
Tue Feb 8 06:17:12 PST 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 02/07/2011 20:25, Sam Lin wrote:
> I am about to build a (potentially huge) pbi recently, but unfortunately
> our unreliable internet is now getting even worse and it's simply not
> usable (even to check email is a big problem now). A possible workaround
> that has come to my mind is to bring my laptop to somewhere else where I
> can access to a fast internet, open a konsole and su, then make
> fetch-recursive all required sources, take the laptop to my flat and
> leave it along to pbibuild using the distfiles in /usr/ports/distfiles.
> The problem is, I know if I just do something like "pbibuild 'app-name'
> " at my place the pbibuilder would first run portsnap to try update the
> port tree, which a reliable network is still required to do so.
>
> My question is, is there any way that I could avoid running portsnap but
> just get pbibuilder start building a pbi with the pre-fetched distfiles?
>
> Sam
>
>
>
> _______________________________________________
> Pbi-dev mailing list
> Pbi-dev at lists.pcbsd.org
> http://lists.pcbsd.org/mailman/listinfo/pbi-dev
Yep, you can do that. First, edit /pbi-build/conf/pbibuild.conf, and set
PORTSNAP=NO
Next, put all your distfiles into /pbi-build/distfiles, it will be
nullfs mounted into the pbisandbox when doing builds.
- --
Kris Moore
PC-BSD Software
iXsystems
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJNUVBoAAoJEDv6T4U6J2HS+YcIAJw+GKWqaDt+QFOW/xdNwYv4
nzr3K6EIxsKoZGV8dCA1vdJf22flJvWPCuuUpJq7t7/qehwxNba6X2xd2UFbKovU
H5CMnlAcBPTsfvZfQCj4zrgZAOl8Nyozw+CGMxf6cCO/42ihDqd/AeHsNYWnjwc0
0ke45Dgvf81NBHccCDvRq5pEfO+39EMzqgv3KgLzMSQchRdQbeqqSPkTsb2lurlj
X4vpPt9mzlR/2pfivHxXFHtXCG7Z0brlAXV4qSQIj8t2I++UrZmixxcJfujpgRHI
7C5O8XTkAGtGQJhB3TJy00dY5oV7w50PVSRTeTLYyvlecRUUjH2WTUzWH/OBSrw=
=22Zg
-----END PGP SIGNATURE-----
More information about the Pbi-dev
mailing list