Skip to content

Commit

Permalink
fix permissions of images produced in build folder
Browse files Browse the repository at this point in the history
This issue has been only seen on the Github runner
  • Loading branch information
reubenmiller committed Nov 29, 2023
1 parent 4f4cf42 commit 2954e47
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,10 @@ customize:
# Create the image that can be flashed to an SD card or applied using the rugpi interface
bake:
./run-bakery --config "{{IMAGE_CONFIG}}" bake "{{CUSTOM_TAR}}" "{{OUTPUT_IMAGE}}"
[ -n "$CI" ] && sudo chmod 777 build/*
@echo ""
@echo "Compressing image"
xz --keep -0 -v "{{OUTPUT_IMAGE}}"
xz -0 -v "{{OUTPUT_IMAGE}}"
@echo ""
@echo ""
@echo "Image created successfully. Check below for options on how to use the image"
Expand Down

0 comments on commit 2954e47

Please sign in to comment.