summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-10-03 14:25:11 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-10-03 14:25:11 (EDT)
commit828e361e758fbaa61d21c749bf8fc3f5750a1dbf (patch)
treed5735d8c7962b82505aa53acc313b144501dff11
parent1688a3f2d9f83620230d7edaba19422b09e9f8f5 (diff)
Add informational output to opkbuild.
-rw-r--r--locale/en_US/opkbuild.sh4
-rw-r--r--src/opkbuild.sh7
2 files changed, 9 insertions, 2 deletions
diff --git a/locale/en_US/opkbuild.sh b/locale/en_US/opkbuild.sh
index d5f826a..4ea2c68 100644
--- a/locale/en_US/opkbuild.sh
+++ b/locale/en_US/opkbuild.sh
@@ -50,3 +50,7 @@ Written by P. J. McDermott.'
msg_opkbuild_bad_opt='Invalid option "%s"'
msg_opkbuild_uid0_cmd_not_found='UID 0 command "%s" not found'
msg_opkbuild_uid0_cmd_bad_uid='UID 0 command "%s" doesn'\''t give UID 0'
+msg_opkbuild_setup_arch_plat='Detecting architecture and platform...'
+msg_opkbuild_make_work_area='Making work area...'
+msg_opkbuild_parse_package_metadata='Parsing package metadata...'
+msg_opkbuild_build_source='Building source package...'
diff --git a/src/opkbuild.sh b/src/opkbuild.sh
index bb2521b..6efa969 100644
--- a/src/opkbuild.sh
+++ b/src/opkbuild.sh
@@ -47,15 +47,18 @@ main()
test_uid0_cmd
+ ob_info "$(ob_get_msg 'setup_arch_plat')"
setup_arch_plat
- ob_init_package '.'
-
+ ob_info "$(ob_get_msg 'make_work_area')"
mkdir -p 'tmp'
cd 'tmp'
+ ob_info "$(ob_get_msg 'parse_package_metadata')"
+ ob_init_package '..'
ob_parse_package_metadata -c '.opkbuild.cache'
+ ob_info "$(ob_get_msg 'build_source')"
build_source
ob-checkbuilddeps