From 1f806e252bff789bbbbbc5a7fa504272028b4254 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 18 Mar 2019 18:09:05 -0400 Subject: ob-gencontrol: Add informational output --- diff --git a/locale/en_US/opkbuild.sh b/locale/en_US/opkbuild.sh index 0e6a24b..7c4457d 100644 --- a/locale/en_US/opkbuild.sh +++ b/locale/en_US/opkbuild.sh @@ -109,6 +109,9 @@ msg_opkbuild_docs_already_linked='Link to documentation already made in package msg_opkbuild_linking_docs='Making link to documentation in package "%s"...' msg_opkbuild_cant_ln_doc_dir='Can'\''t make link to documentation directory' +# src/ob-gencontrol.sh +msg_opkbuild_gen_control='Generating control files for package "%s"...' + # src/ob-buildopk msg_opkbuild_build_opk='Packing "%s"...' diff --git a/src/ob-gencontrol.sh b/src/ob-gencontrol.sh index 181a279..f8a7da1 100644 --- a/src/ob-gencontrol.sh +++ b/src/ob-gencontrol.sh @@ -215,11 +215,13 @@ main() ob_init_package '..' || return 1 if [ x"${OB_DO_SOURCE:+set}" = x'set' ]; then + ob_info "$(ob_get_msg 'gen_control')" "src-${OPK_SOURCE}" gen_control "src-${OPK_SOURCE}" "${OPK_SOURCE_VERSION}" \ 'src' 'all' "${OPK_SOURCE} source package" 'false' gen_md5sums "src-${OPK_SOURCE}" else for pkg in ${OPK_PACKAGES_REDUCED}; do + ob_info "$(ob_get_msg 'gen_control')" "${pkg}" ob_set_package_substvars "${pkg}" arch="$(ob_get_binary_parameter "${pkg}" \ 'Architecture')" -- cgit v0.9.1