This is to ensure that only stuff found in the chroot will be used,
and to avoid some stupid problems with libtool scripts. Therefore only
templates that have $base_chroot set can be built without the chroot.
As bonus now all messages are prepended with "[chroot]" when xbps.sh
is running inside of it.
--HG--
extra : convert_revision : 68195f4b240c01eea18777767b555604d892400f
Rather than using a file for stuff like this, change them to be
functions in templates. Now if any template want to use them, it
can specify for example a {pre,post}_<stage>() shell function.
Also remove some NetBSD specific stuff that is not useful anymore.
--HG--
extra : convert_revision : b7157c61c92c05904e0e4d971268e5f018db46bc
This depends if a package uses $base_package, by default not set,
means the package will be installed into masterdir/usr, if set
will be installed into masterdir directly.
While here fixup binutils, gcc and glibc! I'm approaching to the point
on where I'll be able to chroot into masterdir and having working pkgs
installed.
--HG--
extra : convert_revision : be3c3e0d7368e7a1e1ef1c9add932aeeab82688d