From 0ac5e050f6c195b8706d9a74a9c79f4d4c8917b5 Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Wed, 20 Mar 2019 15:27:14 +0100 Subject: [PATCH] Add check on another compression mode for stage3 build. --- entrypoint.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index a67f2d9..1d4ac5a 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -9,7 +9,8 @@ set -e BUILDDIR=/var/lib/catalyst/store/builds/default -if [ ! -r ${BUILDDIR}/stage3-amd64-latest.tar.xz ] +if [ ! -r ${BUILDDIR}/stage3-amd64-latest.tar.xz ] \ + && [ ! -r ${BUILDDIR}/stage3-amd64-latest.tar.bz2 ] then # Get latest stage3 tag STAGE3_TAG=$(wget -q -O - \