summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ob-genchanges.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ob-genchanges.sh b/src/ob-genchanges.sh
index b427bc3..8290de6 100644
--- a/src/ob-genchanges.sh
+++ b/src/ob-genchanges.sh
@@ -76,6 +76,7 @@ write_files_bin()
local pkg=
local arch=
local plat=
+ local sect=
local file=
printf 'Files:\n' >&3
@@ -84,10 +85,12 @@ write_files_bin()
[ x"${arch}" != x'all' ] && arch="${OPK_HOST_ARCH}"
plat="$(ob_get_binary_parameter "${pkg}" 'Platform')"
[ 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"
printf ' %s %s %s\n' \
"$(wc -c "../../${file}" | cut -d ' ' -f 1)" \
- 'base' "${file}" >&3
+ "${sect}" "${file}" >&3
done
return 0