Commit graph

6 commits

Author SHA1 Message Date
Juan RP
5a249b6c4f Require to configure/build/install in the chroot all packages.
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
2008-10-27 07:42:40 +01:00
Juan RP
e9231b5999 More changes to {pre,post}_<stage> stuff.
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
2008-10-27 06:12:30 +01:00
Juan RP
c07feca694 gcc: ignore_files is no more.
--HG--
extra : convert_revision : c58063c50f3999eafbd41ead5a70ec6875d0d4ef
2008-10-24 01:03:04 +02:00
Juan RP
3b5c4b506d gcc: install libs into /lib and not /lib64 on x86_64.
This is to mimic what debian and derivatives do.

--HG--
extra : convert_revision : 02e15adf1f06ba45f14f06aad9c28ac4553c8621
2008-10-22 04:07:58 +02:00
Juan RP
28a5a070c1 Change autoconf pkgs to configure it with /usr or /.
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
2008-10-22 01:54:48 +02:00
Juan RP
e5afbd9313 Added gcc-4.3.2 template.
--HG--
extra : convert_revision : f0578d57b53b1cfda7a7222c3afed91df1133014
2008-10-21 04:38:29 +02:00