summaryrefslogtreecommitdiffstats
path: root/src/ob-genchanges.sh
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2020-06-21 23:45:30 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2020-06-21 23:45:30 (EDT)
commit4febe6f438f4cfef1a0b8a932ad79cdc2106d671 (patch)
tree125551eb83e5fde18f1c39d6cabf94dcff984ddf /src/ob-genchanges.sh
parent888356f8a16d95cd98e99094a3dbf9d442b3ee03 (diff)
ob-*: Architecture-qualify package names
Diffstat (limited to 'src/ob-genchanges.sh')
-rw-r--r--src/ob-genchanges.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ob-genchanges.sh b/src/ob-genchanges.sh
index 8290de6..f539e46 100644
--- a/src/ob-genchanges.sh
+++ b/src/ob-genchanges.sh
@@ -87,7 +87,8 @@ write_files_bin()
[ x"${plat}" != x'all' ] && plat="${OPK_HOST_PLAT}"
sect="$(ob_get_binary_parameter "${pkg}" 'Section')"
[ x"${sect}" = x'' ] && sect='base'
- file="${pkg}_${OPK_BINARY_VERSION}_${arch}_${plat}.opk"
+ file="$(ob_qualify_package_name "${pkg}" "${OPK_HOST_ARCH}")"
+ file="${file}_${OPK_BINARY_VERSION}_${arch}_${plat}.opk"
printf ' %s %s %s\n' \
"$(wc -c "../../${file}" | cut -d ' ' -f 1)" \
"${sect}" "${file}" >&3