Files
Marc André Tanner 58c15c6cda linux: synchronize used Alpine version
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.
2025-05-15 08:57:02 +02:00
..

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:

  • packages contains a list of alpine packages to install
  • root contains files and directories which will be copied to the initramfs
  • setup.sh is a shell script which is run during "installation" i.e. when alpine-make-rootfs(1) is executed
  • bitpixie-build.sh runs 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.