Commit 7f3608e1 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm repo add: add autoports supports

parent 1bec252b
...@@ -172,6 +172,7 @@ epm repo add - add branch repo. Use follow params: ...@@ -172,6 +172,7 @@ epm repo add - add branch repo. Use follow params:
yandex - for BaseALT repo mirror hosted by Yandex (recommended)" yandex - for BaseALT repo mirror hosted by Yandex (recommended)"
altsp - add ALT SP repo" altsp - add ALT SP repo"
autoimports - for BaseALT autoimports repo" autoimports - for BaseALT autoimports repo"
autoports - for Autoports repo (with packages from Sisyphus rebuilded to the branch)
altlinuxclub - for altlinuxclub repo (http://altlinuxclub.ru/)" altlinuxclub - for altlinuxclub repo (http://altlinuxclub.ru/)"
etersoft - for LINUX@Etersoft repo" etersoft - for LINUX@Etersoft repo"
korinf - for Korinf repo" korinf - for Korinf repo"
...@@ -239,6 +240,21 @@ __epm_addrepo_altlinux() ...@@ -239,6 +240,21 @@ __epm_addrepo_altlinux()
autoimports) autoimports)
repo="autoimports.$branch" repo="autoimports.$branch"
;; ;;
autoports)
local http="http"
epm installed apt-https && http="https"
case $branch in
p10|p9|p8)
;;
*)
fatal "Autoports is not supported for $DISTRNAME $branch. Check https://www.altlinux.org/Autoports ."
;;
esac
epm repo addkey cronbuild "DE73F3444C163CCD751AC483B584C633278EB305" "Cronbuild Service <cronbuild@altlinux.org>"
epm repo add "rpm [cronbuild] $http://autoports.altlinux.org/pub ALTLinux/autoports/$DISTRVERSION/$DISTRARCH autoports"
epm repo add "rpm [cronbuild] $http://autoports.altlinux.org/pub ALTLinux/autoports/$DISTRVERSION/noarch autoports"
return 0
;;
altlinuxclub) altlinuxclub)
repo="altlinuxclub.$branch" repo="altlinuxclub.$branch"
;; ;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment