From 64070de5077c033d3bb3ea27a92f25d2b1094987 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 21 Jul 2014 18:08:05 -0400 Subject: miniprokit: Get arch:all plat:any feeds --- diff --git a/miniprokit.sh b/miniprokit.sh index 163eaef..874e70e 100755 --- a/miniprokit.sh +++ b/miniprokit.sh @@ -121,6 +121,7 @@ cmd_install() local root= local uname_m= local uname_s= + local aps_list= local aps= local url_aps= local feed= @@ -196,8 +197,10 @@ cmd_install() info 'Configuring opkg and retrieving Packages...' exec 3>"${root}/etc/opkg/opkg.conf" || \ error 2 'Failed to open opkg.conf' - for aps in "${arch}_${plat}_base" "${arch}_all_base" 'all_all_base' \ - 'src_all_base'; do + aps_list="${arch}_${plat}_base ${arch}_all_base" + [ "x${plat}" = 'xdev' ] || aps_list="${aps_list} all_${plat}_base" + aps_list="${aps_list} all_all_base src_all_base" + for aps in ${aps_list}; do url_aps="$(printf '%s\n' "${aps}" | sed 's|_|/|g')" feed="${mirror}/feeds/dev/trunk/${url_aps}" printf 'src %s %s\n' "trunk_${aps}" "${feed}" >&3 -- cgit v0.9.1