From fc8df43beb9874cbab07265f96e5f1bf01c86358 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Tue, 31 Jan 2023 18:46:42 +0100 Subject: [PATCH] composite/hotfix: strip aux in standard mode --- composite/hotfix.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/composite/hotfix.sh b/composite/hotfix.sh index 42d7195..9ccb30a 100644 --- a/composite/hotfix.sh +++ b/composite/hotfix.sh @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright (c) 2017-2022 Franco Fichtner +# Copyright (c) 2017-2023 Franco Fichtner # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions @@ -32,6 +32,10 @@ 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"} ${TARGET:-"core"}-hotfix + if [ -z "${TARGET}" ]; then + # strip aux packages in standard mode + make packages + fi else # assume quick target port(s) to rebuild from ports.conf make ports-${TARGET} PORTSENV="DEPEND=no PRUNE=no ${PORTSENV}"