mirror of
https://github.com/martanne/bitpixie
synced 2026-06-08 15:44:32 +00:00
58c15c6cda
At the moment individual components are built using a specific Alpine version (3.20.3) as specifed on the command line for the various docker commands. However, alpine-make-rootfs(1) was called with ALPINE_BRANCH=edge, resulting in a newer initramfs than expected by indvividual packages such as dislocker. This version mismatch caused runtime errors because shared libraries were not found. A fixed Alpine version was initially chosen in hope to get a more stable/reproducable setup, but maybe it would make more sense to just always use the latest stable version. Should hopefully fix #6.
This is an Alpine Linux based initramfs intended to exploit the bitpixie vulnerability.
It is based on a Filippo Valsorda's rootfs-free immutable NAS project.
See frood, an Alpine initramfs NAS.
To avoid confusion the script has been renamed to bitpixie.
You need to have Docker installed.
$ ./bitpixie build
$ ./bitpixie qemu # optional sanity check
$ ./bitpixie deploy
In case you want to adapt it to your needs:
packagescontains a list of alpine packages to installrootcontains files and directories which will be copied to the initramfssetup.shis a shell script which is run during "installation" i.e. whenalpine-make-rootfs(1)is executedbitpixie-build.shruns in an Alpine container and copies the necessary bitpixie related files into the initialramfs
This is not maintained for others to use, but you are welcome to copy it and modify it under the terms of CC0 1.0. Feel free to share your modifications, or not.