summaryrefslogtreecommitdiff
path: root/src/etc/xbs.d/gnu+linux-arm_dd.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'src/etc/xbs.d/gnu+linux-arm_dd.cfg')
-rw-r--r--src/etc/xbs.d/gnu+linux-arm_dd.cfg71
1 files changed, 71 insertions, 0 deletions
diff --git a/src/etc/xbs.d/gnu+linux-arm_dd.cfg b/src/etc/xbs.d/gnu+linux-arm_dd.cfg
new file mode 100644
index 0000000..3b8a9fb
--- /dev/null
+++ b/src/etc/xbs.d/gnu+linux-arm_dd.cfg
@@ -0,0 +1,71 @@
+#!/bin/bash
+
+# Platform Distribution
+PLATFORM_NAME='GNU/Linux-libre'
+PLATFORM='gnu+linux'
+
+# Multilib Support Archictectures
+MULTILIB_ARCHES=()
+
+# Archictectures
+ARCHES=('arm' 'armv6h' 'armv7h' 'aarch64' "${MULTILIB_ARCHES[@]}")
+
+# Main Repositories
+MAIN_REPOS=('libre' 'libre-testing')
+# Main Repositories from a Derative Distribution
+DD_REPOS=('core' 'extra' 'community' 'aur' 'alarm')
+
+# Multilib Repositories
+MAIN_MULTILIB_REPOS=('libre-multilib' 'libre-multilib-testing')
+# Multilib Repositories from a Derative Distribution
+DD_MULTILIB_REPOS=('multilib' 'multilib-testing')
+
+# Extra Repositories
+EXTRA_REPOS=('nonprism' 'nonprism-testing' 'kernels' 'kernels-testing' 'cross' 'java')
+
+# Community Repositories
+COMMUNITY_REPOS=('pcr' 'pcr-testing' 'pur' '~aurelien' '~brendan' '~coadde' '~drtan' '~emulatorman' '~jorginho' '~lukeshu' '~smv' '~xihh')
+
+# Platform Repositories
+PLATFORM_REPOS=('nonsystemd' 'nonsystemd-testing')
+
+# Remote Repositories
+PKG_REPOS=("${EXTRA_REPOS[@]}" "${PLATFORM_REPOS[@]}" "${MAIN_REPOS[@]}" "${DD_REPOS[@]}" "${COMMUNITY_REPOS[@]}")
+PKG_MULTILIB_REPOS=("${MAIN_MULTILIB_REPOS[@]}" "${DD_MULTILIB_REPOS[@]}")
+
+# Directories where packages are shared between repos
+# *relative to REPO_DIR*
+PKG_MAIN_POOLS=("${PKG_POOL_DIR}/abslibre_${PLATFORM}_arm")
+PKG_DD_POOLS=("${PKG_POOL_DIR}/abs_${PLATFORM}_arm")
+PKG_POOLS=("${PKG_MAIN_POOLS[@]}" "${PKG_DD_POOLS[@]}")
+
+# Directories where sources are stored
+SRC_MAIN_POOLS=("${SRC_POOL_DIR}/abslibre_${PLATFORM}_arm")
+SRC_DD_POOLS=("${SRC_POOL_DIR}/abs_${PLATFORM}_arm")
+SRC_POOLS=("${SRC_MAIN_POOLS[@]}" "${SRC_DD_POOLS[@]}")
+
+# Build System and Repository scripts
+BS_MAIN_NAME="abslibre_${PLATFORM}_arm"
+BS_MAIN_DIR="${SRV_DIR}/${BS_MAIN_NAME}"
+BS_DD_NAME="abs_${PLATFORM}_arm"
+BS_DD_DIR="${SRV_DIR}/${BS_DD_NAME}"
+BS_GIT="${GIT_BASE}/abslibre/${BS_MAIN_NAME}.git"
+# BS_GIT='http://projects.parabola.gnu/abslibre/${BS_MAIN_NAME}.git'
+BS_GIT_TMP="${TMP_DIR}/${BS_MAIN_NAME}"
+BLACKLIST_NAME="blacklist_${PLATFORM}_arm.txt"
+BLACKLIST_FILE="${HOME}/blacklist/${BLACKLIST_NAME}.txt"
+BLACKLIST_TMP="${TMP_DIR}/${BLACKLIST_NAME}.txt"
+SYNC_DD_SERVER='rsync.archlinuxarm.org'
+
+# Base Repository
+REPO_DIR="${SRV_DIR}/repo/main"
+
+CLEANUP_DESTDIR="${REPO_DIR}/old/packages_${PLATFORM}_ddarm"
+CLEANUP_DRYRUN='false'
+# Time in days to keep moved packages
+CLEANUP_KEEP='30'
+
+SOURCE_CLEANUP_DESTDIR="${REPO_DIR}/old/sources_${PLATFORM}_ddarm"
+SOURCE_CLEANUP_DRYRUN='true'
+# Time in days to keep moved sourcepackages
+SOURCE_CLEANUP_KEEP='30'