52 ms·
Do this but with systemd as the init and you've got yourself a new user. No, I don't mind the glibc dependency. I ended up using Buildroot (with systemd) for s
by Zopieux 2y ago
Do this but with systemd as the init and you've got yourself a new user. No, I don't mind the glibc dependency.
I ended up using Buildroot (with systemd) for some headless in-memory Raspberry Pi project because I was loathing writing init scripts with zero dependency management in Alpine land. But also because, as this blog mentions, Alpine's current "diskless" options are, confusingly, anything but what I (and the author) want: reproducible, build-once-and-forget, fully standalone images with no moving parts. What Alpine gives you instead is an awkward overlay system with some intermediate runtime steps.
- pabs3 2y agoJust use standard chroot creation tools (like mmdebstrap for Debian) and stuff the results into an initramfs?