2025-10-05 20:33:23 +02:00
2024-11-26 19:20:19 -05:00
2024-11-26 19:20:21 -05:00
2024-11-26 19:20:23 -05:00
2024-11-26 19:20:23 -05:00
2025-10-05 10:47:27 +02:00
2024-11-26 19:20:24 -05:00
2024-11-26 19:20:18 -05:00
2024-12-29 04:49:13 -05:00
2023-03-24 13:05:51 +02:00
2024-11-26 19:20:18 -05:00
2024-11-26 19:20:26 -05:00
2022-12-06 08:55:55 +02:00
2022-11-17 12:05:30 +01:00
2024-05-03 15:10:53 +02:00
2025-10-05 03:02:39 -03:00
2006-05-10 03:13:07 +00:00
2024-11-26 19:20:18 -05:00
2024-11-26 19:20:25 -05:00
2024-11-26 19:20:18 -05:00
2023-03-24 13:05:51 +02:00

:toc: preamble
:sectnums:

= README

mkinitcpio is a modular initramfs image creation utility. 🐏

== 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

Instructions for building are available in xref:CONTRIBUTING.adoc#_building[CONTRIBUTING.adoc].

== Contributing

mkinitcpio development happens on the Arch Linux GitLab instance: https://gitlab.archlinux.org/archlinux/mkinitcpio/mkinitcpio. All issues and merge request should be submitted there.

Development discussion can be held in the link:ircs://irc.libera.chat/archlinux-projects[#archlinux-projects] IRC channel on https://libera.chat/[Libera Chat] and the https://lists.archlinux.org/mailman3/lists/arch-projects.lists.archlinux.org/[arch-projects mailing list].

Before contributing, make yourself familiar with the https://terms.archlinux.org/docs/code-of-conduct/[Arch Linux code of conduct] and xref:CONTRIBUTING.adoc[mkinitcpio coding style].

== User documentation

Primary usage documentation is available in the xref:man/mkinitcpio.8.adoc[mkinitcpio(8)], xref:man/lsinitcpio.1.adoc[lsinitcpio(1)] and xref:man/mkinitcpio.conf.5.adoc[mkinitcpio.conf(5)] man pages.

A comprehensible user guide is available in the https://wiki.archlinux.org/title/mkinitcpio[mkinitcpio article on ArchWiki].

== License

This project is licensed under the terms of the *GPL-2.0-only*. See `link:LICENSE[]`.

Copyright 🄯 mkinitcpio contributors. See the `link:AUTHORS[]` file or `+git log+` for the full list of authors.
Description
Arch Linux initramfs generation tools
Readme GPL-2.0 19 MiB
Languages
Shell 95.3%
Meson 4.3%
Makefile 0.4%