From 5a355ed6d91df5b82e626e4349a53832a63c3271 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 4 Jun 2011 17:08:44 +0200 Subject: [PATCH] It's now possible to set rootdir, cachedir, and fetch caches in the conf file. --- etc/xbps-conf.plist | 19 +++++++++++++++ lib/initend.c | 59 ++++++++++++++++++++++++++++++++++++--------- 2 files changed, 67 insertions(+), 11 deletions(-) diff --git a/etc/xbps-conf.plist b/etc/xbps-conf.plist index a51db2c5..319ac799 100644 --- a/etc/xbps-conf.plist +++ b/etc/xbps-conf.plist @@ -2,6 +2,23 @@ + + root-directory + / + + + cache-directory + /var/cache/xbps + + + fetch-cache-connections + 10 + + + fetch-cache-connections-per-host + 6 + + repositories http://xbps.nopcode.org/repos/stable + + package-virtual