dracut the event driven initramfs infrastructure
Go to file
2024-03-21 11:26:34 +00:00
.github fix(github): update format of labeler 2024-01-04 19:09:55 +00:00
docs docs: set KVERSION for running test suite 2023-08-24 12:17:47 +02:00
dracut.conf.d chore(gentoo.conf): remove examples to avoid confusion 2023-06-29 08:25:57 +02:00
install.d fix(install.d): do not create initramfs if the supplied image is UKI 2023-10-27 20:09:00 -04:00
man fix: codespell 2023-08-21 14:18:44 +02:00
modules.d fix(zfcp_rules): correct shellcheck regression when parsing ccw args 2024-03-21 11:26:34 +00:00
shell-completion/bash feat(dracut): add --sbat option to add sbat policy to UKI 2023-08-05 12:35:59 -04:00
src fix: codespell 2023-08-21 14:18:44 +02:00
test chore: remove unnecessary shellcheck disable for SC2154 2023-08-24 08:54:01 +02:00
tools fix(release): maintain dracut-version.sh in the source tree 2023-08-25 08:25:55 -04:00
.astylerc style: use astyle instead of indent 2021-03-15 15:37:08 +01:00
.dir-locals.el fix: set vimrc and emacs indention according to .editorconfig 2021-03-13 20:10:43 +01:00
.editorconfig feat: customize .editorconfig according to shfmt 2021-03-13 20:10:43 +01:00
.gitignore fix(release): maintain dracut-version.sh in the source tree 2023-08-25 08:25:55 -04:00
.kateconfig chore: adjust .kateconfig for C code 2022-10-21 21:09:28 -04:00
.kateproject kate config 2016-04-15 10:27:48 +02:00
.mailmap chore: change my email address 2021-10-13 09:07:39 +02:00
.shellcheckrc fix: shellcheck 0.7.2 2021-05-05 14:55:30 +02:00
.vimrc fix: set vimrc and emacs indention according to .editorconfig 2021-03-13 20:10:43 +01:00
AUTHORS docs: update NEWS.md and AUTHORS 2023-10-30 08:21:25 -04:00
configure fix(configure): misleading error if C compiler is not installed 2024-01-04 20:05:57 +00:00
CONTRIBUTING.md docs: correct typo 2022-08-26 08:00:08 +00:00
COPYING COPYING: updated to recent version of http://www.gnu.org/licenses/gpl-2.0.txt 2012-08-01 15:53:25 +02:00
dracut-catimages.sh style: shfmt reformat 2021-03-13 20:10:43 +01:00
dracut-functions.sh chore: remove unnecessary shellcheck disable for SC2154 2023-08-24 08:54:01 +02:00
dracut-init.sh chore: remove unnecessary shellcheck disable for SC2154 2023-08-24 08:54:01 +02:00
dracut-initramfs-restore.sh fix(dracut-initramfs-restore.sh): do not set selinux labels if disabled 2023-10-30 09:39:54 -04:00
dracut-logger.sh feat(dracut): use log level indicator in console output 2023-02-22 15:20:52 -05:00
dracut-version.sh docs: update NEWS.md and AUTHORS 2023-10-30 08:21:25 -04:00
dracut.conf dracut.conf: remove example parameters 2015-07-09 15:36:25 +02:00
dracut.sh fix(dracut.sh): remove microcode check based on CONFIG_MICROCODE_[AMD|INTEL] 2023-08-30 08:47:15 +02:00
lsinitrd.sh fix(lsinitrd.sh): handle /etc/machine-id empty or uninitialized 2023-04-26 12:18:44 +00:00
Makefile fix(release): maintain dracut-version.sh in the source tree 2023-08-25 08:25:55 -04:00
NEWS.md docs: update NEWS.md and AUTHORS 2023-10-30 08:21:25 -04:00
README.md docs(README.md): update wiki link 2022-08-15 05:18:25 +00:00

dracut

dracut is an event driven initramfs infrastructure.

Contributor Covenant

dracut (the tool) is used to create an initramfs image by copying tools and files from an installed system and combining it with the dracut framework, usually found in /usr/lib/dracut/modules.d.

Unlike other implementations, dracut hard-codes as little as possible into the initramfs. The initramfs has (basically) one purpose in life -- getting the rootfs mounted so that we can transition to the real rootfs. This is all driven off of device availability. Therefore, instead of scripts hard-coded to do various things, we depend on udev to create device nodes for us and then when we have the rootfs's device node, we mount and carry on. This helps to keep the time required in the initramfs as little as possible so that things like a 5 second boot aren't made impossible as a result of the very existence of an initramfs.

Most of the initramfs generation functionality in dracut is provided by a bunch of generator modules that are sourced by the main dracut script to install specific functionality into the initramfs. They live in the modules.d subdirectory, and use functionality provided by dracut-functions to do their work.

Documentation:

Currently dracut is developed on github.com.

The release tarballs are here.

Gitter (chat):

See News for information about changes in the releases and the Wiki to share information.

See the github issue tracker for things which still need to be done and Hacking for some instructions on how to get started. There is also a mailing list that is being used for the discussion -- initramfs@vger.kernel.org. It is a typical vger list, send mail to majordomo@vger.kernel.org with body of 'subscribe initramfs email@host.com'

Licensed under the GPLv2