Juan RP
e64f3d8a95
xbps-src: make sure XBPS_CONFIG_FILE is set.
2014-07-01 13:15:52 +02:00
Juan RP
c06d1e4d85
xbps-src: partial revert of 871d2fa87
.
...
We can't pass XBPS_OPTIONS to xbps-uchroot(8) as is.
2014-07-01 11:04:34 +02:00
Juan RP
871d2fa873
xbps-src: added -G to enable XBPS_USE_GIT_REVS.
2014-07-01 10:33:54 +02:00
Juan RP
67947330cc
xbps-src: set XBPS_HOSTDIR correctly for chroot ops.
2014-06-30 12:03:56 +02:00
Juan RP
a5e726c4ec
xbps-src: copy XBPS_* settings from etc/conf only if the file exists.
2014-06-30 11:52:52 +02:00
Juan RP
9d34c36e0a
Implemented support for permanent pkg build options (globally or per-pkg).
...
Permanent global pkg build options can be defined via 'XBPS_PKG_OPTIONS' in etc/conf.
Permament per-pkg build options can be defined via 'XBPS_PKG_OPTIONS_<pkgname>' in etc/conf.
Close GH #452 .
2014-06-30 11:32:07 +02:00
Juan RP
e3246539e7
xbps-src: do not copy x86_64 specific repos to the cross target root.
2014-06-10 09:36:58 +02:00
Juan RP
b747269490
xbps-src: make local/remote multilib repos only available on x86_64.
2014-06-10 09:22:18 +02:00
Juan RP
fedcbc4423
xbps-src: remove local copy of xbps.conf; it's unnecessary with xbps-0.37.
2014-06-07 06:07:04 +02:00
Juan RP
bb2361c130
xbps-src: set correct xbps cachedir for chroot ops.
2014-06-07 05:52:42 +02:00
Juan RP
b308d7cfac
xbps-src: fix previous correctly for local mode too.
2014-06-06 16:29:50 +02:00
Juan RP
f90fe6abb8
xbps-src: fixed repo handling with xbps-0.37 in cross builds.
2014-06-06 16:24:35 +02:00
Juan RP
cf76c65be9
xbps-src: use xbps-0.37 config repo dir feature (etc/repo.d).
2014-06-06 16:10:42 +02:00
Juan RP
4d9ed5639f
xbps-src/shutils/chroot.sh: unconditionally copy repo conf files into masterdir.
2014-05-05 10:56:00 +02:00
Juan RP
ff700d0a40
xbps-src/shutils/chroot: use existing PATH when entering xbps-src cmds.
...
... otherwise xbps-uchroot might not be found when it's in an uncommon path.
2014-04-14 19:58:32 +02:00
Juan RP
1af40eb476
xbps-src: apply sane indentation to all shell code.
2014-04-09 16:40:27 +02:00
Juan RP
0d953db70b
xbps-src: 'pkg' target replaces 'build-pkg' but the latter is kept for compat.
2014-03-23 11:27:09 +01:00
Juan RP
c343fbf42a
xbps-src: make install/remove targets defaults now, but keep previous for compat.
2014-03-22 20:59:39 +01:00
Juan RP
85624c1a6a
common/xbps-src/shutils/chroot.sh: prepend /xbps-packages to PATH for the chroot target.
2014-03-22 13:21:04 +01:00
Juan RP
0b95cb8f5d
Merge xbps-src code to make it usable in a standalone mode.
...
The new xbps-src configuration file is `etc/conf` where you can
add your local overrides from defaults set via `etc/defaults.conf`.
To use this xbps-src, run these steps:
$ make
$ sudo make setup (to make chroot helper setgid)
$ ./xbps-src ...
2014-03-22 12:31:42 +01:00