xbps-src: new targets: update-bulk and update-sys.

* update-bulk:
	This rebuilds all pkgs in system repositories that are outdated.
	with this xbps-bulk is now considered fully obsolete.

* update-sys:
	This rebuilds all pkgs in system that are oudated and once built,
	updates them via xbps-install(8).

	This target defines a new configuration option "XBPS_SUCMD" that
	is the command to execute to update the system. By default set to
	"sudo sh -c".

CAVEATS
	- need to check if binpkg is in local repo.
	- need to add support to specify alternative rootdir.
	- need to add support to specify system repos.
This commit is contained in:
Juan RP 2014-04-09 16:42:07 +02:00
parent 1af40eb476
commit d4e4d826e6
3 changed files with 97 additions and 48 deletions

View file

@ -59,6 +59,12 @@ XBPS_CXXFLAGS="${XBPS_CFLAGS}"
#
XBPS_LDFLAGS="-Wl,--as-needed"
# [REQUIRED]
# Command to execute to gain root privileges when using the `update-sys`
# target to update your system.
#
XBPS_SUCMD="sudo /bin/sh -c"
# [OPTIONAL]
# Enable or disable ccache when building packages.
#