David Lechner
David Lechner
I'm all for this. The Ping-Pong Rootfs and Golden Rootfs are outside of the scope of brickstrap (other than being implemented in a board definition directory), but we can certainly...
You can see a more general form of using guestfish that I started for the BBB [here](https://github.com/ev3dev/brickstrap/blob/bbb/brickstrap.sh#L342). You are on the right track.
I have hard-coded the sectors, but you could make bash do the math.
> Actually, I think resizing is done on the running system. Yes, that is how it is currently done and is the easiest way in my opinion. > It should...
Your FAT partition is < 7.8GB in all cases though, right? So partition type is always `0x0b`.
> create an filesystem archive for each partition (e.g. project-boot.tar, project-rootfs1.tar, project-rootfs2.tar, project-data.tar) ? I don't think so. The way guestfish works is that you can create mount points, so...
OK. For this sort of thing, I would run `brickstrap all` to create the initial image to get the device up and going. Then for updates just run `brickstrap create-rootfs`...
Components are implement, just no proper docs yet. [This](https://github.com/ev3dev/brickstrap/tree/master/projects/ev3dev-jessie) should give you an idea of how it works though.
In the context of my earlier comment, `component` just means what we used to call a "board file" or "board definition directory"
@BrendanSimon, have a look at https://github.com/ev3dev/brickstrap/blob/3bd88298f6405503a4535c259bb3e31770b6a4b6/image-drivers/reduntant-rootfs-plus-data it does just about everything you are asking, I think. guestfish is really amazing and can do just about anything. Read all about it:...