From 71ce27f0bc77ddaa386fde155318215798b630d7 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 24 Feb 2014 20:28:25 -0500 Subject: 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 [...] --- 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')" -- cgit v0.9.1