Skip to content

Commit

Permalink
Compress the Installer image by default
Browse files Browse the repository at this point in the history
Most if not all installer can handle compressed image files. It also
seems that compressed images work around an issue seen with Raspberry Pi
Imager on MacOS, see also:
raspberrypi/rpi-imager#473

Signed-off-by: Stefan Agner <[email protected]>
  • Loading branch information
agners committed Aug 30, 2022
1 parent 1e299c2 commit 52cc186
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions board/raspberrypi/post-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,6 @@ genimage \
--outputpath "${BINARIES_DIR}" \
--config "${GENIMAGE_CFG}"

xz -5 -z "${BINARIES_DIR}/boot.img"

exit $?

0 comments on commit 52cc186

Please sign in to comment.