write image to sparse-aware archive format (#1709)

This commit is contained in:
Aiden McClelland
2022-08-01 15:39:36 -06:00
committed by GitHub
parent 365952bbe9
commit 8207770369
3 changed files with 9 additions and 6 deletions

View File

@@ -147,9 +147,9 @@ jobs:
run: "make V=1 NO_KEY=1 eos.img --debug" run: "make V=1 NO_KEY=1 eos.img --debug"
- name: Compress image - name: Compress image
run: "gzip eos.img" run: "make gzip"
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
with: with:
name: image name: image
path: eos.img.gz path: eos.tar.gz

5
.gitignore vendored
View File

@@ -13,5 +13,6 @@ deploy_web.sh
secrets.db secrets.db
.vscode/ .vscode/
/cargo-deps/**/* /cargo-deps/**/*
ENVIRONMENT.txt /ENVIRONMENT.txt
GIT_HASH.txt /GIT_HASH.txt
/eos.tar.gz

View File

@@ -17,8 +17,10 @@ $(shell sudo true)
all: eos.img all: eos.img
gzip: eos.img gzip: eos.tar.gz
gzip -k eos.img
eos.tar.gz: eos.img
tar --format=posix -cS -f- eos.img | gzip > eos.tar.gz
clean: clean:
rm -f eos.img rm -f eos.img