aboutsummaryrefslogtreecommitdiff
path: root/etc/defaults.conf
diff options
context:
space:
mode:
authorJuan RP <xtraeme@gmail.com>2014-04-09 14:42:07 +0000
committerJuan RP <xtraeme@gmail.com>2014-04-09 14:42:07 +0000
commitd4e4d826e61e37bbb5721ac9356ea5d7fade9159 (patch)
treee8149f141585fbdef28ee20275daa0528ff2d561 /etc/defaults.conf
parent1af40eb4760f6685158d5b9280b8e707076b5c63 (diff)
downloadvoid-packages-d4e4d826e61e37bbb5721ac9356ea5d7fade9159.tar
void-packages-d4e4d826e61e37bbb5721ac9356ea5d7fade9159.tar.gz
void-packages-d4e4d826e61e37bbb5721ac9356ea5d7fade9159.tar.bz2
void-packages-d4e4d826e61e37bbb5721ac9356ea5d7fade9159.tar.lz
void-packages-d4e4d826e61e37bbb5721ac9356ea5d7fade9159.tar.xz
void-packages-d4e4d826e61e37bbb5721ac9356ea5d7fade9159.tar.zst
void-packages-d4e4d826e61e37bbb5721ac9356ea5d7fade9159.zip
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.
Diffstat (limited to 'etc/defaults.conf')
-rw-r--r--etc/defaults.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/defaults.conf b/etc/defaults.conf
index bdc154c20c8..9412182d213 100644
--- a/etc/defaults.conf
+++ b/etc/defaults.conf
@@ -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.
#