From 40f749719edf54f726a86fbdbdb447c0770a1fb1 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Thu, 6 Jan 2022 08:22:38 +0200 Subject: [PATCH] Compression is no longer needed (in theory) --- .github/workflows/build.yml | 5 +---- README.md | 10 ++-------- build-image.sh | 2 +- 3 files changed, 4 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4d3fc6a..084712c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,9 +34,6 @@ jobs: export RELEASE_TAG=$(date +"%Y%m%d%H%M") echo "RELEASE_TAG=$RELEASE_TAG" >> $GITHUB_ENV - # Compress the image with gzip - gzip guix-live-${RELEASE_TAG}.qcow2 - - name: Prepare Release Notes run: | echo $'This live image was prepared with the following channel configuration:\r\n\r\n```\r\n' > release-notes.md @@ -48,7 +45,7 @@ jobs: with: name: Guix Live Image - ${{ env.RELEASE_TAG }} tag_name: v${{ env.RELEASE_TAG }} - files: guix-live-${{ env.RELEASE_TAG }}.qcow2.gz + files: guix-live-${{ env.RELEASE_TAG }}.qcow2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_REPOSITORY: SystemCrafters/guix-live-image diff --git a/README.md b/README.md index 1f1c7f9..df5507d 100644 --- a/README.md +++ b/README.md @@ -19,15 +19,9 @@ we're making improvements to the configuration.** ## Instructions -1. Download a recently built `.qcow2.gz` from this repo's +1. Download a recently built `.qcow2` from this repo's [release page](https://github.com/SystemCrafters/guix-live-image/releases) -2. Decompress the `.gz` file you downloaded (update `guix-image-*` path if needed): - -``` -gzip -d guix-image-*.qcow2.gz > guix-live.qcow2 -``` - -3. Launch the image in QEMU (update the image path in the last line!): +2. Launch the image in QEMU (update the image path in the last line!): ``` qemu-system-x86_64 \ diff --git a/build-image.sh b/build-image.sh index 21dfa92..d2abf51 100755 --- a/build-image.sh +++ b/build-image.sh @@ -19,7 +19,7 @@ die() { # Build the image printf 'Attempting to build the image...\n\n' -image=$(guix system image 'config.scm') \ +image=$(guix system image -t qcow2 --volatile 'config.scm') \ || die 'Could not create image.' release_tag=$(date +"%Y%m%d%H%M")