News for hackers. Stuff that matters.
Re:Building an Operating System for the Raspberry Pi by gadgetoid on Thursday January 18, 2018 @08:35PM (#16183373)
I used this tooling: https://github.com/ali1234/rpi-ramdisk

To build a tiny fine-tuned Raspbian for "embedded" Python 3 (a project I dub PiratePython). It uses multistrap/qemu and worked well for me. YMMV.

Re:Building an Operating System for the Raspberry Pi by epynonymous on Friday January 19, 2018 @01:54AM (#16184576)
i suppose this is a one-off project for you or are you creating a device for distribution? if you are creating the latter, how did you clone this to other devices, i'm assuming dd?
Re:Building an Operating System for the Raspberry Pi by gadgetoid on Friday January 19, 2018 @02:44AM (#16184729)
I'll probably prep the "gold master" SD card and then leave it to our SD duplicator.

I'm aiming to distribute SD cards that make some of our Pi Zero kits - Radio, Mood Light, etc - near frictionless to get up and running.

I found the use of Qemu + multistrap in this tooling easy to get my head around and I additionally wanted a stateless RAM disk so customers couldn't fubar it.

I didn't have much luck with Buildroot.

I evaluated TinyCore/PiCors too and I love the concept, but it's just a little contrived to ship to beginners. The way it mounts whole packages of overlays/dependencies is clever though- I am doing something similar (inspired by Open Pandora's pnd format) to add a custom build of VLC to PiratePython for our radio kit. Package the whole app + dependencies into a container image, drop it onto the SD card, mount and simlink everything into place.