Elektrine lite

← Feed

@nein@chaos.social

Post #1601322

2026-04-23 18:11 UTC

I got frustrated by how hard (and slow) it is to build emdedded linux images last summer and started building a tool that you can use instead of buildroot or yocto linux. It uses binaries from debian/ubuntu and creates images from a simple specification of which files should go where. It is my pet-project, and not intended for commercial use. https://codeberg.org/anuejn/embeddeb

Replies (5)

  • @nein@chaos.social 2026-04-23 18:13

    Also it has quite a bit of cool code / features: * All the image creation (including writing ext4 filesystems) is written by hand without external dependencies. This means that the tool should also work fine on macOS / windows. * The parsing of debian packages is somewhat optimized, meaning it is fast * There is a lock file and image creation from this lock file should be reproducible.

    Open ##2058060

  • @doragasu@mastodon.sdf.org 2026-04-23 19:13

    @nein Looks useful, thanks!

    Open ##2058063

  • @nein very cool! I know exactly what you mean–I've looked for a simple solution for this sort of thing numerous times.

    Open ##2058064

  • @jamey@toot.cat 2026-04-23 20:21

    @nein nice! I built something similar years ago for the same reason: extracting the filesystem contents of a bunch of .deb packages and merging them all into a single image is way easier than the alternatives and goes a long way. I'm not sure I have the code for my implementation lying around anywhere, but I remember I wrote it before Rust so I used C and libarchive. anyway I think it's a great approach and deserves to be more widely known, so, nice work!

    Open ##2058065

  • @vmp_@mastodon.social 2026-04-24 14:59

    @nein neat! I also love that one of the examples is ottercam

    Open ##2058066