thin-edge / tedge-rugpi-image

thin-edge.io Raspberry Pi 0/1B/2B/3/4/5 image using rugpi for A/B updates
https://thin-edge.io/
2 stars 8 forks source link

fix(build): auto detection when to use when compressing the image using xz #56

Closed reubenmiller closed 9 months ago

reubenmiller commented 9 months ago

Improve build process by automatically detecting when to use sudo when running just bake.

This is required as on some setups (e.g. linux), the .img file produced is owned by root and not the host user which then causes a problem when compressing the image.