summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2014-02-24 20:28:25 (EST)
committer P. J. McDermott <pjm@nac.net>2014-02-24 20:28:25 (EST)
commit71ce27f0bc77ddaa386fde155318215798b630d7 (patch)
treee1ef081f23d8e13460d6008025775e712dba79ba /src
parent80cd0e21b89801ca0da84a20aba30e986739c343 (diff)
ob-genchanges: Only list opk files actually built.
Otherwise, ob-genchanges looks for files that don't exist: ob-genchanges: Generating "gcc-4.7_4.7.3+sip1-1_i686-linux-glibc_dev.changes"... wc: ../../g++-4.7-amd64-linux-glibc_4.7.3+sip1-1_i686-linux-glibc_all.opk: No such file or directory wc: ../../gcc-4.7-amd64-linux-glibc_4.7.3+sip1-1_i686-linux-glibc_all.opk: No such file or directory And it tries to describe them too: Files: 4883209 base cpp-4.7_4.7.3+sip1-1_i686-linux-glibc_all.opk base g++-4.7-amd64-linux-glibc_4.7.3+sip1-1_i686-linux-glibc_all.opk 5313009 base g++-4.7-i686-linux-glibc_4.7.3+sip1-1_i686-linux-glibc_all.opk base gcc-4.7-amd64-linux-glibc_4.7.3+sip1-1_i686-linux-glibc_all.opk 1652 base gcc-4.7-common_4.7.3+sip1-1_all_all.opk 7450176 base gcc-4.7-i686-linux-glibc_4.7.3+sip1-1_i686-linux-glibc_all.opk [...]
Diffstat (limited to 'src')
-rw-r--r--src/ob-genchanges.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ob-genchanges.sh b/src/ob-genchanges.sh
index c5e5c95..09ea422 100644
--- a/src/ob-genchanges.sh
+++ b/src/ob-genchanges.sh
@@ -96,7 +96,7 @@ write_files_src()
write_files_bin()
{
printf 'Files:\n' >&3
- for pkg in $(ob_get_binary_packages); do
+ for pkg in ${OPK_PACKAGES}; do
arch="$(ob_get_binary_parameter "${pkg}" 'Architecture')"
[ "${arch}" != 'all' ] && arch="${OPK_HOST_ARCH}"
plat="$(ob_get_binary_parameter "${pkg}" 'Platform')"