pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc



* On 2016-09-21 at 22:36 BST, Aleksej Saushev wrote:

> > 3. if you want to bootstrap, you'll want the binary packages that
> > are made from it. So PACKAGES should be set before bootstrapping.
> > Interesting to note the "make binary kits" arguments to bootstrap.
> 
> No, you probably won't, actually. Binary bootstrap kit is the main
> result, and it is enough.

Another thing to bear in mind is that sometimes you explicitly do not
want packages resulting from the bootstrap process.  For example, as
we use pkgsrc openssl we cannot build the bootstrap pkg_install with
https support.  However, once we have bootstrapped and built pkgsrc
openssl we can go back and rebuild pkg_install with ssl enabled.

It would also be true in our use-case that packages from the bootstrap
would be unsigned, and in both cases we would not want any possibility
that a re-run of the bootstrap could overwrite our primary packages.

This isn't to say either way whether the proposed patch is suitable or
not, just offering some reasons why users might not want to save
bootstrap packages.  For us, I have ensured that PKGSRC_KEEP_BIN_PKGS
is set to no in the bootstrap environment, which solves the problem
adequately for our requirements, and would not use any --packages arg.

Cheers,

-- 
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com



Home | Main Index | Thread Index | Old Index