# # DISTRO_COMPAT_REPOS # if [ "$DISTRO_COMPAT_VERSION" = "" ] ; then if [ -f ./DISTRO_SPECS ]; then . ./DISTRO_SPECS elif [ -f /etc/DISTRO_SPECS ]; then . /etc/DISTRO_SPECS fi fi case "$DISTRO_TARGETARCH" in x86) if [ "$DISTRO_BINARY_COMPAT" = arch ]; then DBIN_ARCH=i486 else DBIN_ARCH=i386 fi; ;; x86_64) DBIN_ARCH=amd64 ;; esac #---------------------- #PKG_DOCS_DISTRO_COMPAT - where to download the compat-distro pkgs databases from #--------------------- # 1|2|3 # 1 - domain. for testing the url. # 2 - full URI of the database file. # 3 - name of db file when local and after being processed into standard format PKG_DOCS_DISTRO_COMPAT=" z|https://32.arlm.tyzoid.com/${DBIN_ARCH}/core/core.db.tar.gz|Packages-arch-${DISTRO_COMPAT_VERSION}-core z|https://32.arlm.tyzoid.com/${DBIN_ARCH}/community/community.db.tar.gz|Packages-arch-${DISTRO_COMPAT_VERSION}-community z|https://32.arlm.tyzoid.com/${DBIN_ARCH}/extra/extra.db.tar.gz|Packages-arch-${DISTRO_COMPAT_VERSION}-extra " #------------------- #REPOS_DISTRO_COMPAT - hardcode the compat-distro repos in here... #------------------- # 1|2|3 # 1 - domain. for testing the url. # 2 - full URI of the repo # 3 - name of db-file(s) associated with that repo. it may have glob wildcards. REPOS_DISTRO_COMPAT=" z|https://32.arlm.tyzoid.com|Packages-arch-${DISTRO_COMPAT_VERSION}-* " #--------------- # fix variables #--------------- PKG_DOCS_DISTRO_COMPAT="$(echo $PKG_DOCS_DISTRO_COMPAT)" REPOS_DISTRO_COMPAT="$(echo $REPOS_DISTRO_COMPAT)"