Go to file
Kairui Song ab703f44b4 squash: squash systemd binary and udevadm
systemd binary and udevadm are not needed to be outside the squash
image. Some binaries are kept outside because they are required before
mounting the image, or after umounting the image (when switching root),
or they may block umounting the image. But we are using lazy umounting,
so actually nothing will block the umount.

Keep more binaries outside the squash image won't hurt but cost extra
memories, the idea of squash image is to save memory usage.

So, there is no reason to keep udevadm outside, that should be a debug
left over. For systemd binary, it's running when switch root happens,
But we have lazy umounted the image and overlay, once systemd process
exec the new systemd in new root, everything will be cleared by kernel.

Also tidy up the comment make it less confussing.

Signed-off-by: Kairui Song <kasong@redhat.com>
2019-07-19 15:38:54 +02:00
dracut.conf.d Fix a missing space in example configs 2019-01-21 13:35:04 +01:00
install install: string_hash_func should not be fed with NULL 2019-02-15 08:52:58 +01:00
modules.d 99squash: fail early if can't install require modules in initramfs 2019-07-19 15:37:25 +02:00
skipcpio skipcpio/skipcpio.c: linux kernel only accepts "070701" signature 2015-07-07 13:44:13 +02:00
test test/test-functions: correctly move server.log 2018-12-04 10:06:12 +01:00
.dir-locals.el .dir-locals.el: changed to sane style 2017-01-16 14:27:39 +01:00
.gitignore tests: Ignore .testdir 2019-07-19 00:25:29 +02:00
.kateconfig add kate and emacs per directory config files 2014-08-29 13:38:47 +02:00
.kateproject kate config 2016-04-15 10:27:48 +02:00
.mailmap version 047 2018-02-19 10:00:33 +01:00
.travis.yml travis: run TEST-13-ENC-RAID-LVM on Fedora 29 2019-07-09 14:39:54 +02:00
50-dracut.install dracut.install: call dracut with --force 2018-10-25 16:14:05 +02:00
51-dracut-rescue-postinst.sh Bring back 51-dracut-rescue-postinst.sh 2018-07-26 12:58:21 +02:00
51-dracut-rescue.install dracut.install: call dracut with --force 2018-10-25 16:14:05 +02:00
AUTHORS AUTHORS: update 2018-10-08 15:31:49 +02: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
HACKING removed trailing whitespaces 2011-05-10 11:56:09 +02:00
Makefile Makefile: add srpm target 2018-10-24 15:14:03 +02:00
NEWS NEWS: update 2018-10-08 15:31:08 +02:00
PKGBUILD PKGFILE: prevent out of tree builds 2015-11-08 12:57:33 +01:00
README README: update 2016-11-03 14:54:45 +01:00
README.generic removed trailing whitespaces 2011-05-10 11:56:09 +02:00
README.kernel Version 006 2010-06-17 10:58:27 +02:00
README.md Update README.md 2018-08-14 16:58:52 +02:00
README.modules consistently lowercase "dracut" 2012-10-10 14:15:11 +02:00
README.testsuite Drop dependency on bridge-utils 2017-02-14 14:10:24 +01:00
TODO TODO: remove some items 2016-11-03 15:05:36 +01:00
configure configure, kmod: bump kmod version to >= 23 2018-01-16 23:10:21 +09:00
dracut-bash-completion.sh Remove obsolete prelinking functionality 2018-06-14 12:58:59 +02:00
dracut-catimages.8.asc replace xml documentation with asciidoc 2012-03-14 15:48:33 +01:00
dracut-catimages.sh remove all vim and emacs code format comments 2014-08-29 13:38:47 +02:00
dracut-functions.sh dracut.sh: record the actual hostonly modules for hostonly mode 2019-07-19 15:38:13 +02:00
dracut-init.sh dracut-install: Add support for compressed firmware files 2019-07-18 18:39:56 +02:00
dracut-initramfs-restore.sh dracut-initramfs-restore: set selinux labels 2018-11-27 16:05:48 +01:00
dracut-logger.sh dracut.sh: only create one TMPDIR 2015-11-25 14:21:33 +01:00
dracut.8.asc Remove obsolete prelinking functionality 2018-06-14 12:58:59 +02:00
dracut.asc Correct path for UEFI stub 2017-03-20 11:43:04 +01:00
dracut.bootup.7.asc documentation: line wrap 2014-01-13 09:51:04 +01:00
dracut.cmdline.7.asc 95fcoe: Add the rd.nofcoe option to disable the FCoE module from the command line 2019-01-18 14:10:19 +01:00
dracut.conf dracut.conf: remove example parameters 2015-07-09 15:36:25 +02:00
dracut.conf.5.asc Fixed some SUSE specific typos and outputs 2018-11-08 14:43:08 +01:00
dracut.css Doc: cleanup, extend and split and reuse 2013-10-08 15:13:12 +02:00
dracut.logrotate dracut.logrotate: remove "yearly" 2011-07-20 17:21:02 +02:00
dracut.modules.7.asc dracut.modules.7.asc: typo correction 2018-11-30 16:06:29 +01:00
dracut.png dracut.png: Optimize with zopflipng -m 2016-07-07 13:54:47 +03:00
dracut.sh squash: squash systemd binary and udevadm 2019-07-19 15:38:54 +02:00
dracut.spec dracut.spec: Fix error introduced by 70291ed 2018-10-09 13:39:32 +02:00
dracut.svg added dracut logo 2010-12-02 17:13:04 +01:00
dracut.usage.asc Fixed some SUSE specific typos and outputs 2018-11-08 14:43:08 +01:00
fedora-test.sh fedora-test.sh: install tcpdump 2018-12-04 10:22:28 +01:00
git2spec.pl git2spec.pl: handle empty merge commits 2017-10-09 17:40:04 +02:00
logtee.c logtee: reduce output 2018-08-16 11:14:11 +02:00
lsinitrd-bash-completion.sh remove all vim and emacs code format comments 2014-08-29 13:38:47 +02:00
lsinitrd.1.asc lsinitrd: update help message and man page 2018-07-26 09:57:55 +02:00
lsinitrd.sh lsinitrd: list squash content as well 2019-01-10 10:16:44 +01:00
mkinitrd-dracut.sh Add support for riscv64 2019-07-15 16:00:59 +02:00
mkinitrd-suse.8.asc Fix misspellings in man pages and usage 2018-08-30 13:12:00 +02:00
mkinitrd-suse.sh mkinitrd-suse.sh: simplify get_kernel_version 2019-07-19 00:25:51 +02:00
mkinitrd.8.asc documentation: line wrap 2014-01-13 09:51:04 +01:00
profile.py profile.py: do not count negative timestamp differences 2012-06-29 12:41:25 +02:00

README.md

dracut - master branch

dracut is an initramfs infrastructure.

Travis

Build Status

CentOS CI

Build Status

  • Test 01: Test 01
  • Test 02: Test 02
  • Test 03: Test 03
  • Test 04: Test 04
  • Test 10: Test 10
  • Test 11: Test 11
  • Test 12: Test 12
  • Test 13: Test 13
  • Test 14: Test 14
  • Test 15: Test 15
  • Test 16: Test 16
  • Test 17: Test 17
  • Test 20: Test 20
  • Test 30: Test 30
  • Test 31: Test 31
  • Test 40: Test 40
  • Test 50: Test 50
  • Test 70: Test 70