FooDeas / raspberrypi-ua-netinst

RaspberryPi (minimal) unattended netinstaller
ISC License
220 stars 45 forks source link

Use genimage for rootless image generation #234

Open detly opened 5 months ago

detly commented 5 months ago

It's possible to use the genimage tool to build the final SD card image without needing to use sudo/root or the kernel at all. I've done this for creating installation media at my work, and tested it out with this project and it Worked For Me™.

If you're interested in the approach, I'd be happy to polish the details and make a PR. If you'd rather stick with the loop device approach, I won't go to the trouble.

Pros:

Cons: