From 84139b4d47b20df8a751ab54c7f70befa42e0685 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Tue, 28 Oct 2025 10:00:44 +0100 Subject: [PATCH] composite/factory: do not show revision in image names As hotfixes may end up in images they still correspond to the release version to avoid confusion. --- composite/factory.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/composite/factory.sh b/composite/factory.sh index a52403f..5a8a034 100644 --- a/composite/factory.sh +++ b/composite/factory.sh @@ -41,7 +41,8 @@ if [ -z "${COREFILE}" ]; then exit 1 fi -COREFILE=$(basename ${COREFILE%%.pkg}) +COREFILE=$(basename ${COREFILE%.pkg}) +COREFILE=$(basename ${COREFILE%_*}) FS=ufs if [ -n "${PRODUCT_ZFS}" ]; then