path: root/README.md
diff options
authorAin <41307858+nero@users.noreply.github.com>2018-08-09 21:32:26 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2018-08-21 11:29:02 +0000
commit6849c5f44ed85e90478ef960bc337c7c06336046 (patch)
treef4485c19645a407d89b013951d2046cec322b130 /README.md
parent83dd78258053cd102e8425beb159a2be7e6b912f (diff)
Add README to help with manual building
Diffstat (limited to 'README.md')
1 files changed, 28 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..9edca29
--- /dev/null
+++ b/README.md
@@ -0,0 +1,28 @@
+# mkinitfs
+This is the initramfs generator for Alpine Linux, including support for apk and
+Alpine Diskless boot.
+## 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
+## 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.