summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-09-23 18:06:14 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-09-23 18:06:14 -0300
commit32266a80a1294d4436e537261fefa21bf3686469 (patch)
tree66ac3231de1907c1f6331f96c391a2d47c87a351 /config
parent0af2e33b4e5c41bf88022fa1127cad1637369963 (diff)
add initial multidistro support
Diffstat (limited to 'config')
-rw-r--r--config33
1 files changed, 7 insertions, 26 deletions
diff --git a/config b/config
index be502cb..d55796d 100644
--- a/config
+++ b/config
@@ -2,28 +2,13 @@
FTP_BASE="/srv/repo/main"
-# Repos from Arch
-ARCHREPOS=('core' 'testing' 'extra' 'community' 'multilib' 'multilib-testing')
-# Official Parabola repos
-OURREPOS=('libre' 'libre-testing' 'libre-multilib' 'libre-multilib-testing')
-# User repos
-USERREPOS=('~smv' '~xihh' '~brendan' '~lukeshu' '~emulatorman' '~aurelien' '~jorginho' '~coadde' '~drtan')
-# Community project repos
-PROJREPOS=('nonsystemd' 'nonsystemd-testing' 'nonprism' 'nonprism-testing' 'pcr' 'kernels' 'cross' 'java')
-# Remote repos
-PKGREPOS=("${ARCHREPOS[@]}" "${OURREPOS[@]}" "${USERREPOS[@]}" "${PROJREPOS[@]}")
-PKGPOOL='pool/parabola'
-SRCPOOL='sources/parabola'
-
-# Directories where packages are shared between repos
-# *relative to FTP_BASE*
-ARCHPKGPOOLS=(pool/{packages,community})
-OURPKGPOOLS=(pool/parabola)
-PKGPOOLS=(${OURPKGPOOLS[@]} ${ARCHPKGPOOLS[@]})
-# Directories where sources are stored
-ARCHSRCPOOLS=(sources/{packages,community})
-OURPKGPOOLS=(sources/parabola)
-SRCPOOLS=(${OURSRCPOOLS[@]} ${ARCHSRCPOOLS[@]})
+NONFREE_DISTROS=('gnu+linux_x86_arch_legacy' 'gnu+linux_arm_arch_legacy')
+DISTROS=("${NONFREE_DISTROS}")
+
+# add compability support
+source "$(dirname "$(readlink -e "$0")")/config.d/gnu+linux_x86_arch_legacy
+
+[ -n "${STAGING:-}" ] || STAGING="$HOME/staging/unknown/staging"
CLEANUP_DESTDIR="$FTP_BASE/old/packages"
CLEANUP_DRYRUN=false
@@ -40,11 +25,7 @@ REQUIRE_SIGNATURE=true
LOCK_DELAY=10
LOCK_TIMEOUT=300
-[ -n "${STAGING:-}" ] || STAGING="$HOME/staging/unknown/staging"
TMPDIR="/tmp"
-ARCHARCHES=(i686 x86_64)
-OURARCHES=(armv7h)
-ARCHES=(${ARCHARCHES[@]} ${OURARCHES[@]})
DBEXT=".db.tar.gz"
FILESEXT=".files.tar.gz"
PKGEXT=".pkg.tar.?z"