summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2020-06-13 11:27:33 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2020-06-13 11:27:33 (EDT)
commit445e3d6e43c55ddeb19322918e016c63f91c1958 (patch)
treeecc6c57a8854ec9a43c47fd413d7f7a70c3f20bc /src
parentbc7912ee552446471dadc49893b1a821f1acb1c4 (diff)
ob-gencontrol: Generate a "Format" field
And add the needed support to ob_get_source_parameter().
Diffstat (limited to 'src')
-rw-r--r--src/ob-gencontrol.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ob-gencontrol.sh b/src/ob-gencontrol.sh
index 172f50f..be42c32 100644
--- a/src/ob-gencontrol.sh
+++ b/src/ob-gencontrol.sh
@@ -98,6 +98,7 @@ gen_control_src()
cat >>"${binary}.control/control" <<-EOF
Installed-Size: $(calc_inst_size "src-${OPK_SOURCE}")
+ Format: $(ob_get_source_parameter 'Format')
Description: ${OPK_SOURCE} source package
EOF