This is the initramfs generator for Alpine Linux, including support for apk and Alpine Diskless boot.
To compile manually, you need to have the following build tools available:
- gcc with musl and kernel-headers
nlplug-findfs will link against the following libraries (runtime deps):
- libblkid (from util-linux)
Build mkinitfs via
make and install it via
The installation honours the
DESTDIR parameter to overwrite the sysroot path.
For testing, its not necessary to install
mkinitfs into your root file system.
The Makefile is kept slim and debuggable.