before reinvent the wheel I wonder if there is a guide to do the following.
I want to create a custom image of Rasbian Jessie Lite with these features:
- the customization should be on a dev machine using chroot, not on the RPi itself. This because I want to keep track of all the changes and to keep the image as small as possible
- ro filesystem
- a script that prepare the sd-card at the first boot as follow: create a new partition that fills all the available space
I guess it's a common request for an embedded environment.