summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2014-03-20 14:43:29 (EDT)
committer P. J. McDermott <pjm@nac.net>2014-03-20 14:43:29 (EDT)
commit58e28089aa8b41858d765b362cbb9f4975d6616e (patch)
tree6f853d36c630054cd650af190a878e7ed82d4671
parent3404b2afa210482d249a37c043bcf4f9b3bae611 (diff)
miniprokit.sh: Add src feed to opkg.conf.
-rwxr-xr-xminiprokit.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/miniprokit.sh b/miniprokit.sh
index 06dc12f..6b04557 100755
--- a/miniprokit.sh
+++ b/miniprokit.sh
@@ -26,6 +26,7 @@ ac16de260be8d1594f9a300f4baccf8c92085dccfb685a326bf37561a1ab4f9b amd64-linux-gli
8d4645bca214361dd63e3e4f6aed8040f90124ca8dc228eef4c501eba032768d i686-linux-glibc_dev_base
f570049c6c304d3471a45c9cb218c50799a6e79e21b12e74c7d7597f3fd37a7a i686-linux-glibc_all_base
c3ab37f17bbc85ab2f222f61b5970d6f94ebb3cc0e5efc9cbec6ee8975738b94 all_all_base
+b7294a647b9e73053520fca0eeb5394ca7608f3886d0d1d1e973002257ea4147 src_all_base
'
PKGS=' base-files busybox '\
@@ -164,7 +165,8 @@ 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'; do
+ for aps in "${arch}_${plat}_base" "${arch}_all_base" 'all_all_base' \
+ 'src_all_base'; 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