diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2015-08-26 03:33:26 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2015-08-26 03:33:26 -0300 |
commit | 8eafe04ec5eaf917d9e2d58993604c454f1a26d1 (patch) | |
tree | c0e9bb91659c3a1f5814ba94ee251639b52c5873 /src/etc/dbscripts.d/gnu+linux_native.cfg | |
parent | f17c9169de91036cd4b9bb725d2cc6713ad06ce5 (diff) |
re-estructure dbscrips
Diffstat (limited to 'src/etc/dbscripts.d/gnu+linux_native.cfg')
-rw-r--r-- | src/etc/dbscripts.d/gnu+linux_native.cfg | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/src/etc/dbscripts.d/gnu+linux_native.cfg b/src/etc/dbscripts.d/gnu+linux_native.cfg new file mode 100644 index 0000000..d0a611a --- /dev/null +++ b/src/etc/dbscripts.d/gnu+linux_native.cfg @@ -0,0 +1,57 @@ +#!/hint/bash + +# Parabola Platform +PLATFORM_NAME='GNU/Linux-libre' +PLATFORM='gnu+linux' + +# Multilib Support Archictectures +MULTILIB_ARCHES=() # 'x86_64' + +# Archictectures +ARCHES=('mips64el' "${MULTILIB_ARCHES[@]}") # 'i686' + +# Main Repositories +MAIN_REPOS=('core' 'extra' 'testing') + +# Multilib Repositories +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=() + +# Remote Repositories +PKG_REPOS=("${EXTRA_REPOS[@]}" "${PLATFORM_REPOS[@]}" "${MAIN_REPOS[@]}" "${COMMUNITY_REPOS[@]}") +PKG_MULTILIB_REPOS=("${MULTILIB_REPOS[@]}") + +# Directories where packages are shared between repos +# *relative to REPO_DIR* +PKG_POOL="${PKG_POOL_DIR}/${PLATFORM}" + +# Directories where sources are stored +SRC_POOL="${SRC_POOL_DIR}/${PLATFORM}" + +# Build System and Repository scripts +BS_MAIN_NAME="pbs_${PLATFORM}" +BS_MAIN_DIR="${SRV_DIR}/${BS_MAIN_NAME}" +BS_GIT="${GIT_BASE}/${BS_MAIN_NAME}/pmr.git" +# BS_GIT='http://projects.parabola.gnu/${BS_MAIN_NAME}/pmr.git' +BS_GIT_TMP="${TMP_DIR}/${BS_MAIN_NAME}" + +# Base Repository +REPO_DIR="${SRV_DIR}/repo/${PLATFORM}" + +CLEANUP_DESTDIR="${REPO_DIR}/old/packages" +CLEANUP_DRYRUN='false' +# Time in days to keep moved packages +CLEANUP_KEEP='30' + +SOURCE_CLEANUP_DESTDIR="${REPO_DIR}/old/sources" +SOURCE_CLEANUP_DRYRUN='true' +# Time in days to keep moved sourcepackages +SOURCE_CLEANUP_KEEP='30' |