anpep / mkinitfs

Tool to create initramfs images, with added support for graphical cryptsetup prompt.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Tool to create initramfs images, with added support for graphical cryptsetup prompt.


Languages

Language:Shell 42.8%Language:C 42.5%Language:Roff 10.3%Language:Makefile 4.4%