archlinux · GitHub

1. Dependencies

mkinitcpio has the following dependencies.

Dependencies:

  • GNU awk

  • A static build of busybox installed at /usr/lib/initcpio/busybox

  • kmod

  • util-linux

  • bsdtar from libarchive

  • GNU Coreutils

  • Bash

  • GNU Binutils

  • GNU Diffutils

  • GNU Findutils

  • GNU Grep

  • gzip (the default initramfs compressor for Linux < 5.9)

  • zstd (the default initramfs compressor for Linux ≥ 5.9)

Optional dependencies:

  • systemd: for systemd-based initramfs

  • xz: for lzma and xz initramfs compression/decompression

  • bzip2: for initramfs compression/decompression

  • lzop for lzo initramfs compression/decompression

  • lz4 for initramfs compression/decompression

  • systemd-ukify: build UKIs using ukify instead of objcopy

Build time dependencies:

  • Meson

  • Asciidoctor (or alternatively a2x from AsciiDoc.py) to create man pages

  • Bash Automated Testing System (bats) and bats-assert for tests

  • ShellCheck for tests

Read the original on github.com ↗