From 64e5893f142c75912beafe39715da53647dd2ee4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Mon, 14 May 2018 14:32:26 +0000 Subject: Adds --rpm: [b]uild RPM packages for each package built; selects host_tools_rpm. --- build.sh | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'build.sh') diff --git a/build.sh b/build.sh index e9651025..c22ff945 100755 --- a/build.sh +++ b/build.sh @@ -15,6 +15,10 @@ buildp_dispatch() { && [ "${ARG_RESTART}" != ALL ]; then _build_tgt_pkg_names=""; for _build_tgt_lc in ${BUILD_TARGETS:-${TARGETS_DEFAULT}}; do + if [ "${_build_tgt_lc}" = "host_tools_rpm" ] \ + && [ "${ARG_RPM:-0}" -eq 0 ]; then + continue; + fi; _build_tgt_uc="$(ex_rtl_toupper "${_build_tgt_lc}")"; _build_tgt_pkg_names="${_build_tgt_pkg_names:+${_build_tgt_pkg_names} }$(ex_rtl_get_var_unsafe ${_build_tgt_uc}_PACKAGES)"; done; @@ -24,6 +28,10 @@ buildp_dispatch() { fi; fi; for _build_tgt_lc in ${BUILD_TARGETS:-${TARGETS_DEFAULT}}; do + if [ "${_build_tgt_lc}" = "host_tools_rpm" ] \ + && [ "${ARG_RPM}" -eq 0 ]; then + continue; + fi; ex_pkg_dispatch "${_build_tgt_lc}" \ "${ARG_RESTART}" "${ARG_RESTART_AT}" \ buildp_dispatch; -- cgit v1.2.3