summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2020-07-01 21:33:18 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2020-07-02 13:25:24 (EDT)
commitabf1d6813db4ae828f51398091975a680ee4f2a8 (patch)
treea3cf9412cdb6e18db23d1404a4c663662c4b61cb
parent8930f0787666224eb200150194b6daf8e90c0901 (diff)
profile/proteanos: Use feeds found in manifest
-rw-r--r--src/profile/proteanos.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/profile/proteanos.sh b/src/profile/proteanos.sh
index c41eada..6a0afd0 100644
--- a/src/profile/proteanos.sh
+++ b/src/profile/proteanos.sh
@@ -160,6 +160,10 @@ prof_proteanos_feeds()
local p=
local s=
+ [ -z "${prof_proteanos_manifest}" ] && \
+ prof_proteanos_manifest="$(${WGET} -q -O - -- \
+ "${mirror}/feeds/${suite}/Manifest")"
+
case "${plat}" in
'dev')
sects='base dev lib libdev share util'
@@ -171,6 +175,10 @@ prof_proteanos_feeds()
for a in "${arch}" 'all'; do
for p in "${plat}" 'all'; do
for s in ${sects}; do
+ case "${LF}${prof_proteanos_manifest}${LF}" in
+ *"${LF}${a}/${p}/${s}${LF}"*) ;;
+ *) continue;;
+ esac
printf 'src/gz proteanos_%s_%s_%s_%s_%s.gz ' \
"${suite%/*}" "${suite#*/}" \
"${a}" "${p}" "${s}"