build: add hotfix clean target which does core and plugins in one step
This commit is contained in:
parent
3bcd199713
commit
11eac352ab
|
@ -62,6 +62,16 @@ for ARG in ${@}; do
|
|||
echo ">>> Removing dvd image"
|
||||
rm -f ${IMAGESDIR}/*-dvd-${PRODUCT_ARCH}.iso*
|
||||
;;
|
||||
hotfix)
|
||||
echo ">>> Removing plugins and core from packages set"
|
||||
setup_stage ${STAGEDIR}
|
||||
setup_base ${STAGEDIR}
|
||||
if extract_packages ${STAGEDIR}; then
|
||||
remove_packages ${STAGEDIR} ${PRODUCT_CORES} \
|
||||
${PRODUCT_PLUGINS}
|
||||
bundle_packages ${STAGEDIR} '' plugins core
|
||||
fi
|
||||
;;
|
||||
images)
|
||||
setup_stage ${IMAGESDIR}
|
||||
;;
|
||||
|
|
|
@ -32,7 +32,7 @@ set -e
|
|||
|
||||
if [ -z "${TARGET}" -o "${TARGET}" = "plugins" -o "${TARGET}" = "core" ]; then
|
||||
# force a full rebuild of selected stage(s)
|
||||
make clean-${TARGET:-"plugins,core"} packages
|
||||
make clean-${TARGET:-"hotfix"} packages
|
||||
elif [ "${TARGET}" = "ports" ]; then
|
||||
# force partial rebuild of out of date ports
|
||||
make ports-${1} PORTSENV="MISMATCH=no ${PORTSENV}"
|
||||
|
|
|
@ -30,7 +30,7 @@ CONTINUE=
|
|||
STAGENUM=0
|
||||
|
||||
if [ -n "${1}" ]; then
|
||||
CLEAN=plugins,core
|
||||
CLEAN=hotfix
|
||||
CONTINUE=-nightly
|
||||
PORTSENV="MISMATCH=no"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue