summaryrefslogtreecommitdiffhomepage
path: root/dist
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2021-08-26 19:03:25 +0200
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2021-08-26 19:03:25 +0200
commitb1d432e5fcdabfe5e5bbded8961eb7dfba48a5be (patch)
treef385113a69fd5f9311ff38d7ea8c53c07113c7e9 /dist
parent8a9cf32e8e55307ae4df3fb1ad17280c7ab0c28b (diff)
downloadmidipix_build-b1d432e5fcdabfe5e5bbded8961eb7dfba48a5be.tar.bz2
midipix_build-b1d432e5fcdabfe5e5bbded8961eb7dfba48a5be.tar.xz
Implements logging tags, tag sets, and themes.
subr/pkgtool_init.subr:pkgtoolp_init_args(): set ${BUILD_HNAME}.
Diffstat (limited to 'dist')
-rw-r--r--dist/dist_minipix.dist2
-rw-r--r--dist/dist_zipdist.dist10
2 files changed, 6 insertions, 6 deletions
diff --git a/dist/dist_minipix.dist b/dist/dist_minipix.dist
index f5ea59be..f3dc4e01 100644
--- a/dist/dist_minipix.dist
+++ b/dist/dist_minipix.dist
@@ -72,7 +72,7 @@
pkg_dist_minipix_all() {
local _vflag="";
- if rtl_lmatch "${ARG_VERBOSE_LEVELS}" "install" ","; then
+ if rtl_lmatch "${ARG_VERBOSE_TAGS}" "install" ","; then
_vflag="-v";
fi;
if rtl_lmatch "${ARG_DIST}" "minipix" "," \
diff --git a/dist/dist_zipdist.dist b/dist/dist_zipdist.dist
index 0cdc9c65..7361a8a4 100644
--- a/dist/dist_zipdist.dist
+++ b/dist/dist_zipdist.dist
@@ -6,10 +6,10 @@ pkg_dist_zipdist_all() {
local _dist_fname="" _pkg_name="" _pkglist_fname="${PREFIX}/pkglist.native";
if rtl_lmatch "${ARG_DIST}" "zipdist" ","; then
echo "msg_pkg dist dist_zipdist Building deployable distribution ZIP archive..." >&3;
- rtl_log_msg info "Finished building deployable distribution ZIP archive.";
+ rtl_log_msg "zipdist" "Finished building deployable distribution ZIP archive.";
for _pkg_name in $(cat "${_pkglist_fname}"); do
if [ ! -e "${BUILD_WORKDIR}/${_pkg_name}-native-${DEFAULT_TARGET}" ]; then
- rtl_log_msg fatalexit "Error: missing package build directory for package \`%s'." "${_pkg_name}";
+ rtl_log_msg "fatalexit" "Error: missing package build directory for package \`%s'." "${_pkg_name}";
fi;
done;
_dist_fname="${DEFAULT_ZIPDIST_FNAME_PREFIX}${BUILD_USER}@${BUILD_HNAME}-${BUILD_DATE_START}.zip";
@@ -34,19 +34,19 @@ pkg_dist_zipdist_all() {
return 1;
else
echo "msg_pkg dist dist_zipdist Finished building deployable distribution ZIP archive." >&3;
- rtl_log_msg info "Finished building deployable distribution ZIP archive.";
+ rtl_log_msg "zipdist" "Finished building deployable distribution ZIP archive.";
if [ -n "${DEFAULT_ZIPDIST_SIGN_GPG_KEY:-}" ]\
&& [ -x "$(which gpg 2>/dev/null)" ]\
&& gpg --list-keys "${DEFAULT_ZIPDIST_SIGN_GPG_KEY}" >/dev/null 2>&1; then
echo "msg_pkg dist dist_zipdist Signing deployable distribution ZIP archive..." >&3;
- rtl_log_msg info "Signing deployable distribution ZIP archive...";
+ rtl_log_msg "zipdist" "Signing deployable distribution ZIP archive...";
if ! gpg --armor --passphrase-file /dev/null \
--local-user "${DEFAULT_ZIPDIST_SIGN_GPG_KEY}" \
--sign "${PREFIX}/${_dist_fname}"; then
return 1;
fi;
echo "msg_pkg dist dist_zipdist Signed deployable distribution ZIP archive." >&3;
- rtl_log_msg info "Signed deployable distribution ZIP archive.";
+ rtl_log_msg "zipdist" "Signed deployable distribution ZIP archive.";
fi;
fi;
fi;