Skip to content
This repository has been archived by the owner on Apr 4, 2020. It is now read-only.

Latest commit

 

History

History
31 lines (19 loc) · 783 Bytes

README.md

File metadata and controls

31 lines (19 loc) · 783 Bytes

mkinitfs

This is the initramfs generator for Alpine Linux, including support for apk and Alpine Diskless boot.

This fork also displays a graphical prompt for decrypting disks, using cairo on the framebuffer.

Dependencies

To compile manually, you need to have the following build tools available:

  • make
  • gcc with musl and kernel-headers

nlplug-findfs will link against the following libraries (runtime deps):

  • libkmod
  • libblkid (from util-linux)
  • libcryptsetup
  • cairo

Installation

Build mkinitfs via make and install it via make install. The installation honours the DESTDIR parameter to overwrite the sysroot path.

For testing, its not necessary to install mkinitfs into your root file system.

Tweaking

The Makefile is kept slim and debuggable.