From a37f68cf004373d1af9116ee23504a5ce6da5375 Mon Sep 17 00:00:00 2001 From: Itxaka Date: Fri, 3 Feb 2023 11:03:20 +0100 Subject: [PATCH] penguin: Disable squasfs compression for ISO building (#812) Space gained is negligible, just a few Kbs usually (with gzip as its currently) but the speed up improvements in building the ISO are really good, for 20 seconds to 40 seconds per ISO build, and that gets more accentuated on CI runs where the runners are more CPU constrained. Signed-off-by: Itxaka Co-authored-by: Itxaka --- Earthfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Earthfile b/Earthfile index 9a25f9f..758a09c 100644 --- a/Earthfile +++ b/Earthfile @@ -314,7 +314,7 @@ iso: WORKDIR /build COPY . ./ COPY +docker-rootfs/rootfs /build/image - RUN /entrypoint.sh --name $ISO_NAME --debug build-iso --date=false dir:/build/image --overlay-iso /build/${overlay} --output /build/ + RUN /entrypoint.sh --name $ISO_NAME --debug build-iso --squash-no-compression --date=false dir:/build/image --overlay-iso /build/${overlay} --output /build/ SAVE ARTIFACT /build/$ISO_NAME.iso kairos.iso AS LOCAL build/$ISO_NAME.iso SAVE ARTIFACT /build/$ISO_NAME.iso.sha256 kairos.iso.sha256 AS LOCAL build/$ISO_NAME.iso.sha256