Skip to content

Commit

Permalink
Compression is no longer needed (in theory)
Browse files Browse the repository at this point in the history
  • Loading branch information
daviwil committed Jan 6, 2022
1 parent aecefc2 commit 40f7497
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 13 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
10 changes: 2 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion build-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 40f7497

Please sign in to comment.