tomeshnet / mesh-orange

A small ramdisk system running modern Debian to support mesh networking on ARM single-board computers
https://tomeshnet.github.io/mesh-orange/
GNU General Public License v2.0
39 stars 7 forks source link

Simplify image building #30

Closed hamishcoleman closed 6 years ago

hamishcoleman commented 6 years ago

Factor out common parts of disk image building.

Part of simplifying the individual board files

benhylau commented 6 years ago

I am okay with merging these but would like clarification on the new partition features.

hamishcoleman commented 6 years ago

Like I said, they are not really partition changes - most of this has been floating around for 6 months

darkdrgn2k commented 6 years ago

How much work would it be to have an option to use a root fs instead of a ram disk?

hamishcoleman commented 6 years ago

@darkdrgn2k: Yeah, I thought you might be interested in that - thats the main feature I'm trying to bring across from the sun8i-v3s-licheepi-zero setup.

There is still a bit of stuffing around to get there, and I have not really thought about how much that will take (just finding time when I can at the moment)

benhylau commented 6 years ago

I think it'd be useful having build options for part2 as swap and part3 as persistent rootfs, as well as being able to specify the size of each partition. We are already having use cases for them, the workshop nodes are using swap by partitioning after boot, and in an email thread we are discussing persistent storage options for a bunch of apps.