]> git.ipfire.org Git - thirdparty/dracut.git/blame - NEWS.md
docs: update RELEASE.md
[thirdparty/dracut.git] / NEWS.md
CommitLineData
3fce68bd
HH
1Rendered view: https://github.com/dracutdevs/dracut/blob/master/NEWS.md
2
3dracut-052
4==========
5
6#### Features
7
8- **dracut:**
9 - allow overriding the systemctl command for sysroot with `$SYSTEMCTL` for cross compilation
10 - add additional global variables
11
12 Variables like `dbusconfdir` or `systemdnetwork` are now exported
13 to the individual modules as global variables. If they are not set
14 in the distribution dracut config files, they are set via `pkg-config`
15
16 - A `--no-uefi` option as been added to the CLI options to disable a default `uefi=yes`
17 set by a configuration file.
18
19- **kernel-modules:** add modules from `drivers/memory` for arm
20- **network-legacy:** send dhcp in parallel on all devices via the `single-dhcp` option
21- **dbus:** introduce a meta module for dbus
22- **dbus-broker:** introduce the dbus-broker module
23- **dbus-daemon:** introduce the dbus-daemon module
24- **systemd-ask-password:** introduce the systemd-ask-password module
25- **systemd-coredump:** introduce the systemd-coredump module
26- **systemd-modules-load:** introduce the systemd-modules-load module
27- **systemd-repart:** introduce the systemd-repart module
28- **systemd-sysctl:** introduce the systemd-sysctl module
29- **systemd-sysusers:** introduce the systemd-sysuser module
30
31#### Bug Fixes
32
33- first round of shellcheck for all shell scripts
34- revise all module checks to not error out about missing dependencies
35- use the top-level `/efi` path to address the EFI partition
36- correct the squash quirk
37- use `find_binary` instead of other methods, because `find_binary` honors `dracutsysrootdir`
38- quote globbing in module-setup.sh for `inst_multiple`
39- move ldconfig after library workaround
40- do not set cmdline for uefi images unless asked
41- **dracut:** don't override `PATH`, if `dracutsysrootdir` is set
42- **dracut-functions.sh:** check kernel config from `dracutsysrootdir`
43- **dracut-init.sh:** make inst_libdir_file work with `dracutsysrootdir` set
44- **dracut-install:** allow globbing for multiple sources
45- **06dbus:**
46 - do not hardcode path to dbus utils
47 - do not hardcode path to systemd unit
48- **uefi** use efivars fs over the deprecated sysfs entries
49- **keyring** adding shared keyring mode to systemd unit `dracut-pre-pivot.service`
50- **35network-manager:** avoid restarting NetworkManager
51- **90kernel-modules:** install generic crypto modules with hostonly unset
52- **99squash:** use kernel config instead of modprobe to check modules
53- **dbus-daemon:** use uid/gid from sysroot if `dracutsysrootdir` is set
54- **kernel-modules:** add reset controllers for arm
55- **kernel-network-modules:** also install modules from mdio subdirectory
56- **mdraid:**
57 - remove the `offroot` option (long deprecated)
58 - add the grow continue service `mdadm-grow-continue`
59- **network-legacy:** silent the check for dhcp leaseinfo
60- **network-manager:** allow override network manager version
61- **plymouth:** install binaries with dependencies
62- **shutdown:** add timeout to umount calls
63- **watchdog:** fix dependencies in `module-setup.sh`
64
65#### Contributors
66
67- Harald Hoyer <harald@redhat.com>
68- Jóhann B. Guðmundsson <johannbg@gmail.com>
69- Zoltán Böszörményi <zboszor@pr.hu>
70- Alexey Shabalin <shaba@altlinux.org>
71- Daniel Molkentin <daniel.molkentin@suse.com>
72- Luiz Angelo Daros de Luca <luizluca@gmail.com>
73- Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
74- Alexander Tsoy <alexander@tsoy.me>
75- Anjali Kulkarni <anjali.k.kulkarni@oracle.com>
76- Beniamino Galvani <bgalvani@redhat.com>
77- David Tardon <dtardon@redhat.com>
78- Javier Martinez Canillas <javierm@redhat.com>
79- Kairui Song <kasong@redhat.com>
80- Lukas Nykryn <lnykryn@redhat.com>
81- Matthew Thode <mthode@mthode.org>
82- Nicolas Chauvet <kwizart@gmail.com>
83- Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
84- Ondrej Mosnacek <omosnace@redhat.com>
85- Peter Levine <plevine457@gmail.com>
86- Petr Pavlu <petr.pavlu@suse.com>
87- Vladius25 <vkorol2509@icloud.com>
88- Yang Liu <50459973+ly4096x@users.noreply.github.com>
89- foopub <45460217+foopub@users.noreply.github.com>
90- realtime-neil <neil@rtr.ai>
91
92
e473057a
DM
93dracut-051
94==========
95
96dracut:
97- allow running on a cross-compiled rootfs
98
99 dracutsysrootdir is the root directory, file existence checks use it.
100
101 DRACUT_LDCONFIG can override ldconfig with a different one that works
102 on the sysroot with foreign binaries.
103
104 DRACUT_LDD can override ldd with a different one that works
105 with foreign binaries.
106
107 DRACUT_TESTBIN can override /bin/sh. A cross-compiled sysroot
108 may use symlinks that are valid only when running on the target
109 so a real file must be provided that exist in the sysroot.
110
111 DRACUT_INSTALL now supports debugging dracut-install in itself
112 when run by dracut but without debugging the dracut scripts.
113 E.g. DRACUT_INSTALL="valgrind dracut-install or
114 DRACUT_INSTALL="dracut-install --debug".
115
116 DRACUT_COMPRESS_BZIP2, DRACUT_COMPRESS_LBZIP2, DRACUT_COMPRESS_LZMA,
117 DRACUT_COMPRESS_XZ, DRACUT_COMPRESS_GZIP, DRACUT_COMPRESS_PIGZ,
118 DRACUT_COMPRESS_LZOP, DRACUT_COMPRESS_ZSTD, DRACUT_COMPRESS_LZ4,
119 DRACUT_COMPRESS_CAT: All of the compression utilities may be
120 overridden, to support the native binaries in non-standard places.
121
122 DRACUT_ARCH overrides "uname -m".
123
124 SYSTEMD_VERSION overrides "systemd --version".
125
126 The dracut-install utility was overhauled to support sysroot via
127 a new option -r and fixes for clang-analyze. It supports
128 cross-compiler-ldd from
129 https://gist.github.com/jerome-pouiller/c403786c1394f53f44a3b61214489e6f
130
131 DRACUT_INSTALL_PATH was introduced so dracut-install can work with
132 a different PATH. In a cross-compiled environment (e.g. Yocto), PATH
133 points to natively built binaries that are not in the host's /bin,
134 /usr/bin, etc. dracut-install still needs plain /bin and /usr/bin
135 that are relative to the cross-compiled sysroot.
136
137 DRACUT_INSTALL_LOG_TARGET and DRACUT_INSTALL_LOG_LEVEL were
138 introduced so dracut-install can use different settings from
139 DRACUT_LOG_TARGET and DRACUT_LOG_LEVEL.
140
141- don't call fsfreeze on subvol of root file system
142- Use TMPDIR (typically /run/user/$UID) if available
143- dracut.sh: add check for invalid configuration files
144 Emit a warning about possible misconfigured configuration files, where
145 the spaces around values are missing for +=""
146- dracut-functions: fix find_binary() to return full path
147- dracut.sh: FIPS workaround for openssl-libs on Fedora/RHEL
148- dracut.sh: fix early microcode detection logic
149- dracut.sh: fix ia32 detection for uefi executables
150- dracut.sh: Add --version
151- dracut.sh: Add --hostonly-nics option
152- EFI Mode: only write kernel cmdline to UEFI binary
153- Allow $DRACUT_INSTALL to be not an absolute path
154- Don't print when a module is explicitly omitted (by default)
155- Remove uses of bash (and bash specific syntax) in runtime scripts
156- dracut-init.sh: Add a helper for detect device kernel modules
157- dracut-functions.sh: Fix check_block_and_slaves_all
158- dracut-functions.sh: add a helper to check if kernel module is available
159
160Documentation
161- dracut.cmdline.7.asc: clarify usage of `rd.lvm.vg` and `rd.lvm.lv`
162- dracut.conf.5.asc: document how to config --no-compress in the config
163- fix CI badges in README.md and fix dracut description
164- dracut.modules.7.asc: fix typos
165- dracut.modules.7.asc: fix reference to insmodpost module
166- Add --version to man page
167- Adding code of conduct
168- Document initqueue/online hook
169
170
171dracut-install:
172- install: also install post weak dependencies of kernel modules
173- install: Globbing support for resolving "firmware:"
174
175mkinitrd:
176- use vmlinux regex for ppc*, vmlinuz for i686
177
178mkinitrd-suse:
179- fix i586 platform detection
180
181modules:
182
18300systemd:
184- skip dependency add for non-existent units
185- add missing cryptsetup-related targets
186
18705busybox:
188- simplify listing of supported utilities
189
19006rngd:
191- install dependant libs too
192- Do not start inside container
193
19410i18n:
195- i18n: Always install /etc/vconsole.conf
196
19735network-legacy:
198- dhclient-script: Fix typo in output of BOUND & BOUND6 cases
199- simplify fallback dhcp setup
200
20135network-manager:
202- ensure that nm-run.sh is executed when needed
203- install libnss DNS and mDNS plugins
204- always pull in machinery to read ifcfg files
205- set kernel hostname from the command line
206- move connection generation to a lib file
207
20840network:
209- fix glob matching ipv6 addresses
210- net-lib.sh: support infiniband network mac addresses
211
21245url-lib:
213- drop NSS if it's not in curl --version
214
21580cms:
216- regenerate NetworkManager connections
217
21890btrfs:
219- force preload btrfs module
220- Install crypto modules in 90kernel-modules
221
22290crypt:
223- cryptroot-ask: no warn if /run/cryptsetup exist
224- install crypto modules in 90kernel-modules
225- try to catch kernel config changes
226- fix force on multiple lines
227- pull in remote-cryptsetup.target enablement
228- cryptroot-ask: unify /etc/crypttab and rd.luks.key
229
23090dmsquash-live:
231- iso-scan.sh: Provide an easy reference to iso-scan device
232
23390kernel-modules:
234- remove nfit from static module list (see nvdimm module)
235- install crypto modules in 90kernel-modules
236- add sg kernel module
237- add pci_hyperv
238- install block drivers more strictly
239- install less modules for hostonly mode
240- arm: add drivers/hwmon for arm/arm64
241
24290kernel-network-modules
243- on't install iscsi related module (use 95iscsi)
244
24590lvm:
246- remove unnecessary ${initdir} from lvm_scan.sh
247- fix removal of pvscan from udev rules
248- do not add newline to cmdline
249
25090multipath:
251- add automatic configuration for multipath
252 (adds 'rd.multipath=default' to use the default config)
253- install kpartx's 11-dm-parts.rules
254
25590nvdimm:
256- new module for NVDIMM support
257
25890ppcmac:
259- respect DRACUT_ARCH, don't exclude ppcle
260
26190qemu-net:
262- in hostonly mode, only install if network is needed
263- install less module for strict hostonly mode
264
26591zipl:
266- parse-zipl.sh: honor SYSTEMD_READY
267
26895cifs:
269- pass rootflags to mount
270- install new softdeps (sha512, gcm, ccm, aead2)
271
27295dasd:
273- only install /etc/dasd.conf if present
274
27595dcssblk:
276- fix script permissions
277
27895fcoe:
279- fix pre-trigger stage by replacing exit with return in lldpad.sh
280- default rd.nofcoe to false
281- don't install if there is no FCoE hostonly devices
282
28395iscsi:
284- fix missing space when compiling cmdline args
285- fix ipv6 target discovery
286
28795nfs:
288- only install rpc services for NFS < 4 when hostonly is strict
289- Change the order of NFS servers during the boot
290 (next-server option has higher priority than DHCP-server itself)
291- install less module if hostonly mode is strict
292
29395nvmf:
294- add module for NVMe-oF
295- add NVMe over TCP support
296
29795resume:
298- do not resume on iSCSI, FCoE or NBD
299
30095rootfs-block:
301- mount-root.sh: fix writing fstab file with missing fsck flag
302- only write root argument for block device
303
30495zfcp:
305- match simplified rd.zfcp format too
306
30795zfcp_rules:
308- parse-zfcp.sh: remove rule existence check
309
31095znet:
311- add a rd.znet_ifname= option
312
31398dracut-systemd:
314- remove memtrace-ko and rd.memdebug=4 support in dracut
315- remove cleanup_trace_mem calls
316- dracut-initqueue: Print more useful info in case of timeout
317- as of v246 of systemd "syslog" and "syslog-console" switches have been deprecated
318- don't wait for root device if remote cryptsetup active
319
32099base:
321- dracut-lib.sh: quote variables in parameter expansion patterns
322- remove memtrace-ko and rd.memdebug=4 support in dracut
323- remove cleanup_trace_mem calls
324- see new module 99memstrack
325- prevent creating unexpected files on the host when running dracut
326
32799memstrack:
328- memstrack is a new tool to track the overall memory usage and
329 allocation, which can help off load the improve the builtin module
330 memory tracing function in dracut.
331
33299squash:
333- don't hardcode the squash sub directories
334- improve pre-requirements check
335- check require module earlier, and properly
336
337new modules:
338- nvmf
339- watchdog-modules
340- dbus
341- network-wicked
342
343removed modules:
344- stratis
345
346test suite:
347- use dd from /dev/zero, instead of creating files with a hole
348- TEST-03-USR-MOUNT/test.sh: increase loglevel
349- TEST-12-RAID-DEG/create-root.sh: more udevadm settle
350- TEST-35-ISCSI-MULTI: bump disk space
351- TEST-41-NBD-NM/Makefile: should be based on TEST-40-NBD not TEST-20-NFS
352- TEST-99: exclude /etc/dnf/* from check
353
00efe708
HH
354dracut-050
355==========
356
357dracut:
358- support for running on a cross-compiled rootfs, see README.cross
359- add support for creating secureboot signed UEFI images
360- use microcode found in packed cpio images
361- `-k/--kmodir` must now contain "lib/modules/$KERNEL_VERSION"
362 use DRACUT_KMODDIR_OVERRIDE=1 to ignore this check
363- support the EFI Stub loader's splash image feature.
364 `--uefi-splash-image <FILE>`
365
366dracut modules:
367- remove bashism in various boot scripts
368- emergency mode: use sulogin
369
370fcoe:
371- add rd.nofcoe option to disable the FCoE module from the command line
372
37310i18n:
374- fix keymaps not getting included sometimes
375- use eurlatgr as default console font
376
377iscsi:
378- add option `rd.iscsi.testroute`
379
380multipath:
381- fix udev rules detection of multipath devices
382
383network:
384- support NetworkManager
385
386network-legacy:
387- fix classless static route parsing
388- ifup: fix typo when calling dhclient --timeout
389- ifup: nuke pid and lease files if dhclient failed
390- fix ip=dhcp,dhcp6
391- use $name instead of $env{INTERFACE} (systemd-udevd regression)
392
393shutdown:
394- fix for non-systemd reboot/halt/shutdown commands
395- set selinux labels
396- fix shutdown with console=null
397
398lsinitrd:
399- list squash content as well
400- handle UEFI created with dracut --uefi
401- make lsinitrd usable for images made with Debian mkinitramfs
402
403dracut-install:
404- fixed ldd parsing
405- install kernel module dependencies of dependencies
406- fixed segfault for hashing NULL pointers
407- add support for compressed firmware files
408- dracut_mkdir(): create parent directories as needed.
409
e473057a
DM
410configure:
411- Find FTS library with --as-needed
412
00efe708
HH
413test suite:
414- lots of cleanups
415- add github actions
416
417new modules:
418- rngd
419- network-manager
420- ppcmac - thermal/fan control modules on PowerPC based Macs
421
2257b800
HH
422dracut-049
423==========
424lsinitrd:
425- record loaded kernel modules when hostonly mode is enabled
426 lsinitrd $image -f */lib/dracut/loaded-kernel-modules.txt
427- allow to only unpack certain files
428
429kernel-modules:
430- add gpio and pinctrl drivers for arm*/aarch64
431- add nfit
432
433kernel-network-modules:
434- add vlan kernel modules
435
436ifcfg/write-ifcfg.sh:
437- aggregate resolv.conf
438
439livenet:
440- Enable OverlayFS overlay in sysroot.mount generator.
441
442dmsquash-live:
443- Support a flattened squashfs.img
e473057a 444- Remove obsolete osmin.img processing
2257b800
HH
445
446dracut-systemd:
447- Start systemd-vconsole-setup before dracut-cmdline-ask
448
449iscsi:
450- do not install all of /etc/iscsi unless hostonly
451- start iscsid even w/o systemd
452
453multipath:
454- fixed shutdown
455
456network:
457- configure NetworkManager to use dhclient
458
459mdraid:
460- fixed uuid handling ":" versus "-"
461
462stratis:
463- Add additional binaries
464
465new modules:
466- 00warpclock
467- 99squash
468 Adds support for building a squashed initramfs
469- 35network-legacy
470 the old 40network
471- 35network-manager
472 alternative to 35network-legacy
473- 90kernel-modules-extra
474 adds out-of-tree kernel modules
475
476testsuite:
477- now runs on travis
478- support new qemu device options
479- even runs without kvm now
480
aac3a065 481dracut-048
bc01f822
HH
482==========
483
484dracut.sh:
485- fixed finding of btrfs devices
486- harden dracut against BASH_ENV environment variable
487- no more prelinking
488- scan and install "external" kernel modules
489- fixed instmods with zero input
490- rdsosreport: best effort to strip out passwords
491- introduce tri-state hostonly mode
492
493 Add a new option --hostonly-mode which accept an <mode> parameter, so we have a tri-state hostonly mode:
494
495 * generic: by passing "--no-hostonly" or not passing anything.
496 "--hostonly-mode" has no effect in such case.
497 * sloppy: by passing "--hostonly --hostonly-mode sloppy". This
498 is also the default mode when only "--hostonly" is given.
499 * strict: by passing "--hostonly --hostonly-mode strict".
500
501 Sloppy mode is the original hostonly mode, the new introduced strict
502 mode will allow modules to ignore more drivers or do some extra job to
503 save memory and disk space, while making the image less portable.
504
505 Also introduced a helper function "optional_hostonly" to make it
506 easier for modules to leverage new hostonly mode.
507
508 To force install modules only in sloppy hostonly mode, use the form:
509
510 hostonly="$(optional_hostonly)" instmods <modules>
511
512dracut-install:
513- don't error out, if no modules were installed
514- support modules.softdep
515
516lsinitrd.sh:
517- fixed zstd file signature
518
519kernel:
520- include all pci/host modules
521- add mmc/core for arm
522- Include Intel Volume Management Device support
523
524plymouth:
525- fix detection of plymouth directory
526
527drm:
528- make failing installation of drm modules nonfatal
529- include virtio DRM drivers in hostonly initramfs
530
531stratis:
532- initial Stratis support
533
534crypt:
535- correct s390 arch to include arch-specific crypto modules
536- add cmdline rd.luks.partuuid
537- add timeout option rd.luks.timeout
538
539shutdown:
540- sleep a little, if a process was killed
541
542network:
543- introduce ip=either6 option
544
545iscsi:
546- replace iscsistart with iscsid
547
548qeth_rules:
549- new module to copy qeth rules
550
551multipath-hostonly:
552- merged back into multipath
553
554mdraid:
555- fixed case if rd.md.uuid is in ID_FS_UUID format
556
8ae8652e
HH
557dracut-047
558==========
559dracut.sh:
560- sync initramfs to filesystem with fsfreeze
561- introduce "--no-hostonly-default-device"
562- disable lsinitrd logging when quiet
563- add support for Zstandard compression
564- fixed relative paths in --kerneldir
565- if /boot/vmlinuz-$version exists use /boot/ as default output dir
566- make qemu and qemu-net a default module in non-hostonly mode
567- fixed relative symlinks
568- support microcode updates for all AMD CPU families
569- install all modules-load.d regardless of hostonly
570- fixed parsing of "-i" and "--include"
571- bump kmod version to >= 23
572- enable 'early_microcode' by default
573- fixed check_block_and_slaves() for nvme
574
575lsinitrd.sh:
576- dismiss "cat" error messages
577
578systemd-bootchart:
579- removed
580
581i18n:
582- install all keymaps for a given locale
583- add correct fontmaps
584
585dmsquash-live:
586- fixed systemd unit escape
587
588systemd:
589- enable core dumps with systemd from initrd
590- fixed setting of timeouts for device units
591- emergency.service: use Type=idle and fixed task limit
592
593multipath:
594- include files from /etc/multipath/conf.d
595- do not fail startup on missing configuration
596- start daemon after udev settle
597- add shutdown script
598- parse kernel commandline option 'multipath=off'
599- start before local-fs-pre.target
600
601dracut-emergency:
602- optionally print filesystem help
603
604network:
605- fixed MTU for bond master
606- fixed race condition when wait for networks
607
608fcoe:
609- handle CNAs with DCB firmware support
610- allow to specify the FCoE mode via the fcoe= parameter
611- always set AUTO_VLAN for fcoemon
612- add shutdown script
613- fixup fcoe-genrules.sh for VN2VN mode
614- switch back to using fipvlan for bnx2fc
615- add timeout mechanism
616
617crypt:
618- add basic LUKS detached header support
619- escape backslashes for systemd unit names correctly
620- put block_uuid.map into initramfs
621
622dmraid:
623- do not delete partitions
624
625dasd_mod:
626- do not set module parameters if dasd_cio_free is not present
627
628nfs:
629- fix mount if IPv4 address is used in /etc/fstab
630- support host being a DNS ALIAS
631
632fips:
633- fixed creating path to .hmac of kernel based on BOOT_IMAGE
e473057a
DM
634- turn info calls into fips_info calls
635- modprobe failures during manual module loading is not fatal
636
8ae8652e
HH
637
638lunmask:
639- add module to handle LUN masking
640
641s390:
642- add rd.cio_accept
643
644dcssblk:
645- add new module for DCSS block devices
646
647zipl:
648- add new module to update s390x configuration
649
650iscsi:
651- no more iscsid, either iscsistart or iscsid
652
653integrity:
654- support loading x509 into the trusted/builtin .evm keyring
655- support X.509-only EVM configuration
656
657plymouth:
658- improve distro compatibility
659
a0799ffb
HH
660dracut-046
661==========
662
663dracut.sh:
664- bail out if module directory does not exist
665 if people want to build the initramfs without kernel modules,
666 then --no-kernel should be specified
667- add early microcode support for AMD family 16h
668- collect also all modaliases modules from sysfs for hostonly modules
669- sync initramfs after creation
670
671network:
672- wait for IPv6 RA if using none/static IPv6 assignment
673- ipv6 improvements
674- Handle curl using libnssckbi for TLS
675- fix dhcp classless_static_routes
676- dhclient: send client-identifier matching hardware address
677- don't arping for point-to-point connections
678- only bring up wired network interfaces (no wlan and wwan)
679
680mraid:
681- mdraid: wait for rd.md.uuid specified devices to be assembled
682
683crypt:
684- handle rd.luks.name
685
686crypt-gpg:
687- For GnuPG >= 2.1 support OpenPGP smartcards
688
689kernel-install:
690- Skip to create initrd if /etc/machine-id is missing or empty
691
692nfs:
693- handle rpcbind /run/rpcbind directory
694
695s390:
696- various fixes
697
698dmsquash-live:
699- add NTFS support
700
701multipath:
702- split out multipath-hostonly module
703
704lvmmerge:
705- new module, see README.md in the module directory
706
707dracut-systemd:
708- fixed dependencies
709
710
6fcd5c8e
HH
711dracut-045
712==========
713
39c9b67f
HH
714Important: dracut now requires libkmod for the dracut-install binary helper,
715 which nows handles kernel module installing and filtering.
6fcd5c8e
HH
716
717dracut.sh:
718- restorecon final image file
719- fail hard, if we find modules and modules.dep is missing
a9f04fcc
HH
720- support --tmpdir as a relative path
721- add default path for --uefi
6fcd5c8e
HH
722
723dracut-functions.sh:
724- fix check_vol_slaves() volume group name stripping
725
726dracut-install:
727- catch ldd message "cannot execute binary file"
728- added kernel module handling with libkmod
729 Added parameters:
730 --module,-m
731 --mod-filter-path, -p
732 --mod-filter-nopath, -P
733 --mod-filter-symbol, -s
734 --mod-filter-nosymbol, -S
735 --mod-filter-noname, -N
736 --silent
737 --kerneldir
738 --firmwaredirs
a9f04fcc 739- fallback to non-hostonly mode if lsmod fails
597b1592 740
6fcd5c8e
HH
741lsinitrd:
742- new option "--unpack"
743- new option "--unpackearly"
744- and "--verbose"
745
746general initramfs fixes:
747- don't remove 99-cmdline-ask on 'hostonly' cleanup
748- call dracut-cmdline-ask.service, if /etc/cmdline.d/*.conf exists
749- break at switch_root only for bare rd.break
597b1592
HH
750- add rd.emergency=[reboot|poweroff|halt]
751 specifies what action to execute in case of a critical failure
a9f04fcc
HH
752- rd.memdebug=4 gives information, about kernel module memory consumption
753 during loading
6fcd5c8e
HH
754
755dmsquash-live:
756- fixed livenet-generator execution flag
757 and include only, if systemd is used
758- fixed dmsquash-live-root.sh for cases where the fstype of the liveimage is squashfs
759- fixed typo for rootfs.img
39c9b67f
HH
760- enable the use of the OverlayFS for the LiveOS root filesystem
761 Patch notes:
762 Integrate the option to use an OverlayFS as the root filesystem
763 into the 90dmsquash-live module for testing purposes.
764
765 The rd.live.overlay.overlayfs option allows one to request an
766 OverlayFS overlay. If a persistent overlay is detected at the
767 standard LiveOS path, the overlay & type detected will be used.
768
769 Tested primarily with transient, in-RAM overlay boots on vfat-
770 formatted Live USB devices, with persistent overlay directories
771 on ext4-formatted Live USB devices, and with embedded, persistent
772 overlay directories on vfat-formatted devices. (Persistent overlay
773 directories on a vfat-formatted device must be in an embedded
774 filesystem that supports the creation of trusted.* extended
775 attributes, and must provide valid d_type in readdir responses.)
776
777 The rd.live.overlay.readonly option, which allows a persistent
778 overlayfs to be mounted read only through a higher level transient
779 overlay directory, has been implemented through the multiple lower
780 layers feature of OverlayFS.
781
782 The default transient DM overlay size has been adjusted up to 32 GiB.
783 This change supports comparison of transient Device-mapper vs.
784 transient OverlayFS overlay performance. A transient DM overlay
785 is a sparse file in memory, so this setting does not consume more
786 RAM for legacy applications. It does permit a user to use all of
787 the available root filesystem storage, and fails gently when it is
788 consumed, as the available free root filesystem storage on a typical
789 LiveOS build is only a few GiB. Thus, when booted on other-
790 than-small RAM systems, the transient DM overlay should not overflow.
791
792 OverlayFS offers the potential to use all of the available free RAM
793 or all of the available free disc storage (on non-vfat-devices)
794 in its overlay, even beyond the root filesystem available space,
795 because the OverlayFS root filesystem is a union of directories on
796 two different partitions.
797
798 This patch also cleans up some message spew at shutdown, shortens
799 the execution path in a couple of places, and uses persistent
800 DM targets where required.
6fcd5c8e
HH
801
802dmraid:
803- added "nowatch" option in udev rule, otherwise udev would reread partitions for raid members
39c9b67f 804- allow booting from degraded MD RAID arrays
6fcd5c8e
HH
805
806shutdown:
807- handle readonly /run on shutdown
808
809kernel-modules:
810- add all HID drivers, regardless of hostonly mode
811 people swap keyboards sometimes and should be able to enter their disk password
812- add usb-storage
813 To save the rdsosreport.txt to a USB stick, the usb-storage module is needed.
a9f04fcc
HH
814- add xennet
815- add nvme
6fcd5c8e
HH
816
817systemd:
818- add /etc/machine-info
819- fixed systemd-escape call for names beginning with "-"
597b1592
HH
820- install missing drop-in configuration files for
821 /etc/systemd/{journal.conf,system.conf}
6fcd5c8e 822
9f521f76 823filesystems:
597b1592 824- add support to F2FS filesystem (fsck and modules)
9f521f76 825
6fcd5c8e
HH
826network:
827- fix carrier detection
828- correctly set mac address for ip=...:<mtu>:<mac>
829- fixed vlan, bonding, bridging, team logic
830 call ifup for the slaves and assemble afterwards
831- add mtu to list of variables to store in override
832- for rd.neednet=0 a bootdev is not needed anymore
833- dhclient-script.sh: add classless-static-routes support
597b1592
HH
834- support for iBFT IPv6
835- support macaddr in brackets [] (commit 740c46c0224a187d6b5a42b4aa56e173238884cc)
836- use arping2, if available
a9f04fcc 837- support multiple default gateways from DHCP server
39c9b67f
HH
838- fixup VLAN handling
839- enhance team support
840- differ between ipv6 local and global tentative
841- ipv6: wait for a router advertised route
842- add 'mtu' parameter for bond options
843- use 'ip' instead of 'brctl'
6fcd5c8e
HH
844
845nbd:
846- add systemd generator
847- use export names instead of port numbers, because port number based
848 exports are deprecated and were removed.
849
850fcoe:
851- no more /dev/shm state copying
852
853multipath:
854- check all /dev/mapper devices if they are multipath devices, not only mpath*
855
856fips:
857- fixed .hmac installation in FIPS mode
858
859plymouth:
860- also trigger the acpi subsystem
861
a9f04fcc
HH
862syslog:
863- add imjournal.so to read systemd journal
864- move start from udev to initqueue/online
865
866caps:
867- make it a non default module
868
869livenet:
870- support nfs:// urls in livenet-generator
871
872nfs:
873- install all nfs modules non-hostonly
874
39c9b67f
HH
875crypt:
876- support keyfiles embedded in the initramfs
877
878testsuite:
879- add TEST-70-BONDBRIDGETEAMVLAN
880- make "-cpu host" the default
881
6612ae0d
HH
882dracut-044
883==========
884creation:
885- better udev & systemd dir detection
886- split dracut-functions.sh in dracut-init.sh and dracut-functions.sh
887 dracut-functions.sh can now be sourced by external tools
888- detect all btrfs devices needed
889- added flag file if initqueue is needed
890- don't overwrite anything, if initramfs image file creation failed
891- if no compressor is specified, try to find a suitable one
892- drop scanning kernel config for CONFIG_MICROCODE_*_EARLY
893- remove "_EARLY" from CONFIG_MICROCODE_* checks
894- dracut.sh: add command line option for install_i18_all
895 --no-hostonly-i18n -> install_i18n_all=yes
896 --hostonly-i18n -> install_i18n_all=no
897- --no-reproducible to turn off reproducible mode
898- dracut-function.sh can now be sourced from outside of dracut
899- dracut-init.sh contains all functions, which only can be used from
900 within the dracut infrastructure
901- support --mount with just mountpoint as a parameter
902- removed action_on_fail support
903- removed host_modalias concept
904- do not create microcode, if no firmware is available
905- skip gpg files in microcode generation
906
907initramfs:
908- ensure pre-mount (and resume) run before root fsck
909- add --online option to initqueue
910
911qemu:
912- fixed virtual machine detection
913
914lvm:
915- remove all quirk arguments for lvm >= 2.2.221
916
917dmsquash:
918- fixup for checkisomd5
919- increase timeout for checkisomd5
920- use non-persistent metadata snapshots for transient overlays.
921- overflow support for persistent snapshot.
922- use non-persistent metadata snapshots.
923- avoid an overlay for persistent, uncompressed, read-write live installations.
924
925multipath:
926- multipath.conf included in hostonly mode
927- install all multipath path selector kernel modules
928
929iSCSI:
930- use the iBFT initiator name, if found and set
931- iscsid now present in the initramfs
932- iscsistart is done with systemd-run asynchrone to do things in
933 paralllel. Also restarted for every new interface which shows up.
934- If rd.iscsi.waitnet (default) is set, iscsistart is done only
935 after all interfaces are up.
936- If not all interfaces are up and rd.iscsi.testroute (default) is set,
937 the route to a iscsi target IP is checked and skipped, if there is none.
938- If all things fail, we issue a "dummy" interface iscsiroot to retry
939 everything in the initqueue/timeout.
940
941network:
942- added DHCP RENEW/REBIND
943- IPv4 DHCP lease time now optional (bootp)
944- IPv6 nfs parsing
945- fixed IPv6 route parsing
946- rd.peerdns=0 parameter to disable DHCP nameserver setting
947- detect duplicate IPv4 addresses for static addresses
948- if interfaces are specified with its enx* name, bind the correspondent MAC to the interface name
949- if multiple "ip=" are present on the kernel command line "rd.neednet=1" is assumed
950- add options to tweak timeouts
951 rd.net.dhcp.retry=<cnt>
952 If this option is set, dracut will try to connect via dhcp
953 <cnt> times before failing. Default is 1.
954
955 rd.net.timeout.dhcp=<arg>
956 If this option is set, dhclient is called with "-timeout <arg>".
957
958 rd.net.timeout.iflink=<seconds>
959 Wait <seconds> until link shows up. Default is 60 seconds.
960
961 rd.net.timeout.ifup=<seconds>
962 Wait <seconds> until link has state "UP". Default is 20 seconds.
963
964 rd.net.timeout.route=<seconds>
965 Wait <seconds> until route shows up. Default is 20 seconds.
966
967 rd.net.timeout.ipv6dad=<seconds>
968 Wait <seconds> until IPv6 DAD is finished. Default is 50 seconds.
969
970 rd.net.timeout.ipv6auto=<seconds>
971 Wait <seconds> until IPv6 automatic addresses are assigned.
972 Default is 40 seconds.
973
974 rd.net.timeout.carrier=<seconds>
975 Wait <seconds> until carrier is recognized. Default is 5 seconds.
976
977IMA:
978- load signed certificates in the IMA keyring, see modules.d/98integrity/README
979- load EVM public key in the kernel _evm keyring
980
981FCoE:
982 fcoe: start with fcoemon instead of fipvlan
983
eab03540
HH
984dracut-043
985==========
986- add missing dmsquash-generator
987
04bf862d
HH
988dracut-042
989==========
990- fixed dmsetup shutdown
991- new kernel command line option "rd.live.overlay.thin"
992 This option changes the underlying mechanism for the overlay in the
993 dmsquash module.
994 Instead of a plain dm snapshot a dm thin snapshot is used. The advantage
995 of the thin snapshot is, that the TRIM command is recognized, which
996 means that at runtime, only the occupied blocks will be claimed from
997 memory, and freed blocks will really be freed in ram.
998- dmsquash: Add squashfs support to rd.live.fsimg
999 Previously rd.live.fsimg only supported filesystems residing in
1000 (compressed) archives.
1001 Now rd.live.fsimg can also be used when a squashfs image is used.
1002 This is achieved by extracting the rootfs image from the squashfs and
1003 then continue with the default routines for rd.live.fsimg.
1004- lvm: add support for LVM system id
1005- split up the systemd dracut module
1006 Basic systemd functionality is in 00systemd now.
1007 Switching root and the initrd.target is in 00systemd-initrd.
1008 Dracut additions to the systemd initrd are in 98dracut-systemd.
1009- support for creating a UEFI boot executable via argument "--uefi"
1010 With an EFI stub, the kernel, the initramfs and a kernel cmdline can be
1011 glued together to a single UEFI executable, which can be booted by a
1012 UEFI BIOS.
1013- network: split out kernel-network-modules, now in 90kernel-network-modules
1014- support for ethernet point-to-point connections configured via DHCP
1015- kernel-modules: install all HID drivers
1016- dracut.pc pkg-config file
1017- mount /dev, /dev/shm and /run noexec
1018
e97ed337
HH
1019dracut-041
1020==========
1021- fixed the shutdown loop
1022- fixed gzip compression for versions, which do not have --rsyncable
1023- fixed ifcfg generation for persistent interface names
1024- multipath:
1025 * new option to turn off multipath "rd.multipath=0" completly
1026 * preload scsi dh modules
1027 * start multipathd via systemd service
1028- do not fail, if user pressed ESC during media check
1029- fixed systemd-journal by symlinking /var/log to /run/initramfs/log
1030- initrd-release moved to /usr/lib
1031- lots of iSCSI fixes
1032- new "rd.timeout" to specify the systemd JobTimeoutSec for devices
1033- if $initrd/etc/cmdline.d/* has a "root=" and the kernel cmdline does not,
1034 generate a mount unit for it
1035- increased the initqueue timeout for non systemd initramfs to 180s
1036- $initrd/etc/cmdline.d/ hostonly files are now generated for NFS
1037- make use of systemd-hibernate-resume, if available
1038- fixed ldconfig parsing for hwcap output
1039- network: add support for comma separated autoconf options like ip=eth0:auto6,dhcp
1040- new parameter "rd.live.overlay.size" to specify the overlay for live images
1041- changed the test suite for the new sfdisk syntax
1042- added cache tools for dm-cache setups
1043
1c08ad50
HH
1044dracut-040
1045==========
1046- fixed dracut module dependency checks
1047- fixed test suite
1048
ba7dab6d
HH
1049dracut-039
1050==========
1051- DRACUT_PATH can now be used to specify the PATH used by dracut
1052 to search for binaries instead of the default
1053 /usr/sbin:/sbin:/usr/bin:/bin
1054 This should be set in the distribution config file
1055 /usr/lib/dracut/dracut.conf.d/01-dist.conf
192990ce
HH
1056- add "--loginstall <DIR>" and loginstall="<DIR>" options
1057 to record all files, which are installed from the host fs
1058- "rd.writable.fsimg" - support for read/write filesystem images
ba7dab6d
HH
1059- "rd.route" kernel command line parameter added
1060- "--install-optional" and install_optional_items added
1061- find plymouth pkglibdir on debian
192990ce
HH
1062- torrent support for live images
1063 root=live:torrent://example.com/liveboot.img.torrent
1064 and generally added as a download handler
1065- disable microcode, if the kernel does not support it
ba7dab6d
HH
1066- speed up ldconfig_paths()
1067- more ARM modules
1068- fixed inst*() functions and "-H" handling
192990ce
HH
1069- fixed bridge setup
1070- added --force-drivers parameter and force_drivers=+ config option
1071 to enforce driver loading at early boot time
1072- documented "iso-scan/filename" usage in grub
ba7dab6d
HH
1073- various bugfixes
1074
267a109a
HH
1075dracut-038
1076==========
1077- "rd.cmdline=ask" will ask the user on the console to enter additional
1078 kernel command line parameters
1079- "rd.hostonly=0" removes all "hostonly" added custom files,
1080 which is useful in combination with "rd.auto" or other specific parameters,
1081 if you want to boot on the same hardware, but the compiled in configuration
1082 does not match your setup anymore
1083- inst* functions and dracut-install now accept the "-H" flag, which logs all
1084 installed files to /lib/dracut/hostonly-files. This is used to remove those
1085 files, if rd.hostonly is given on the kernel command line
1086- strstr now only does literal string match,
1087 please use strglob and strglobin for globs
1088- fixed unpacking of the microcode image on shutdown
1089- added systemd-gpt-auto-generator
1090- fcoe: wait for lldpad to be ready
1091- network: handle "ip=dhcp6"
1092- network: DCHPv6: set valid_lft and preferred_lft
1093- dm: support dm-cache
1094- fstab: do not mount and fsck from fstab if using systemd
1095- break at switch_root only for bare rd.break and not for any rd.break=...
1096- nbd: make use of "--systemd-mark", otherwise it gets killed on switch_root
1097- fcoe-uefi: fixed cmdline parameter generation
1098- iscsi: deprecate "ip=ibft", use "rd.iscsi.ibft[=1]" from now on
1099- "lsinitrd -m" now only lists the dracut modules of the image
1100- a lot of small bugfixes
1101
2bdf760f
HH
1102dracut-037
1103==========
1104- dracut: hostonly_cmdline variable and command line switch
1105 Toggle hostonly cmdline storing in the initramfs
1106 --hostonly-cmdline:
1107 Store kernel command line arguments needed in the initramfs
1108 --no-hostonly-cmdline:
1109 Do not store kernel command line arguments needed in the initramfs
1110- dracut: --mount now understands full fstab lines
1111- dracut now also includes drivers from the /lib/modules/<version>/updates directory
1112- dracut: only set the owner of files to 0:0, if generated as non-root
1113- dracut now directly writes to the initramfs file
1114- dracut: call lz4 with the legacy flag (linux kernel does not support the new format)
1115- systemd: rootfs-generator generates JobTimeout=0 units for the root device
1116- systemd: added the systemd-sysctl service
1117- systemd: add 80-net-setup-link.rules and .link files for persistent interface renaming
96087189 1118- systemd: make dracut-shutdown.service failure non-fatal
2bdf760f
HH
1119- network: various IPv6 fixes
1120- network: DCHCP for IPv6
1121- network: understand ip=.....:<dns1>:<dns2>
1122- network: parse ibft nameserver settings
96087189
HH
1123- shutdown: if kexec fails, just reboot
1124- lvm: handle one LV at a time with lvchange
2bdf760f
HH
1125- module-setup.sh:
1126 New functions require_binaries() and require_any_binary() to be used
1127 in the check() section of module-setup.sh.
1128- a lot of small bugfixes
1129
1130Contributions from:
1131Harald Hoyer
1132Alexander Tsoy
1133Till Maas
1134Amadeusz Żołnowski
1135Brian C. Lane
1136Colin Guthrie
1137Dave Young
1138WANG Chao
1139Shawn W Dunn
1140
d50a99c5
HH
1141dracut-036
1142==========
1143- fixed skipcpio signature checking
1144
41351164
HH
1145dracut-035
1146==========
1147- changed dracut tarball compression to xz
1148- new argument "--rebuild"
1149- add lzo, lz4 compression
1150- install: install all binaries with <name> found in PATH
1151- lsinitrd can now handle initramfs images with an early cpio prepended
1152 (microcode, ACPI tables)
1153- mkinitrd-suse added as a compat stub for dracut
1154- lvm: install thin utils for non-hostonly
1155- resume: fix swap detection in hostonly
1156- avoid loading unnecessary 32-bit libraries for 64-bit initrds
1157- crypt: wait for systemd password agents
1158- crypt: skip crypt swaps with password files
1159- network: before doing dhcp, dracut now checks, if the link has a carrier
1160- network: dhclient-script.sh now sets the lease time
1161- network: include usbnet drivers
1162- network: include all ethernet drivers
1163- network: add rd.bootif=0 to ignore BOOTIF
1164- i18n: introduce i18n_install_all, to install everything i18n related
1165- support SuSE DASD configurations
1166- support SuSE zfcp configurations
1167- support SuSE compressed KEYMAP= setting
1168- usrmount: always install the module,
1169 so always mount /usr from within the initramfs
1170- test/TEST-17-LVM-THIN: new test case for lvm thin pools
1171- "halt" the machine in systemd mode for die()
1172
2f6ed29d
HH
1173dracut-034
1174==========
1175- do not run dhcp on parts of assembled network interfaces (bond, bridge)
1176- add option to turn on/off prelinking
1177 --prelink, --noprelink
1178 do_prelink=[yes|no]
1179- add ACPI table overriding
1180- do not log to syslog/kmsg/journal for UID != 0
1181- lvm/mdraid: Fix LVM on MD activation
1182- bcache module removed (now in bcache-tools upstream)
1183- mdadm: also install configs from /etc/mdadm.conf.d
1184- fixes for mdadm-3.2.6+
1185- mkinitrd: better compat support for SUSE
1186- fcoe: add FCoE UEFI boot device support
1187- rootfs-block: add support for the rootfallback= kernel cmdline option
1188
1189Contributions from:
1190Thomas Renninger
1191Alexander Tsoy
1192Peter Rajnoha
1193WANG Chao
1194Harald Hoyer
1195
1196
d8cc8c04
HH
1197dracut-033
1198==========
1199- improved hostonly device recognition
1200- improved hostonly module recognition
1201- add dracut.css for dracut.html
1202- do not install udev rules from /etc in generic mode
1203- fixed LABEL= parsing for swap devices
1204- fixed iBFT network setup
1205- url-lib.sh: handle 0-size files with curl
1206- dracut.asc: document debugging dracut on shutdown
1207- if rd.md=0, use dmraid for imsm and ddf
1208- skip empty dracut modules
1209- removed caching of kernel cmdline
1210- fixed iso-scan, if the loop device driver is a kernel module
1211- bcache: support new blkid
1212- fixed ifup udev rules
1213- ifup with dhcp, if no "ip=" specified for the interface
1214
2f6ed29d
HH
1215Contributions from:
1216WANG Chao
1217Colin Walters
1218Harald Hoyer
1219
1220
a073aa5a
HH
1221dracut-032
1222==========
1223- add parameter --print-cmdline
1224 This prints the kernel command line parameters for the current disk
1225 layout.
1226 $ dracut --print-cmdline
1227 rd.luks.uuid=luks-e68c8906-6542-4a26-83c4-91b4dd9f0471
1228 rd.lvm.lv=debian/root rd.lvm.lv=debian/usr root=/dev/mapper/debian-root
1229 rootflags=rw,relatime,errors=remount-ro,user_xattr,barrier=1,data=ordered
1230 rootfstype=ext4
1231- dracut.sh: add --persistent-policy option and persistent_policy conf option
1232 --persistent-policy <policy>:
1233 Use <policy> to address disks and partitions.
1234 <policy> can be any directory name found in /dev/disk.
1235 E.g. "by-uuid", "by-label"
1236- dracut now creates the initramfs without udevadm
1237 that means the udev database does not have to populated
1238 and the initramfs can be built in a chroot with
1239 /sys /dev /proc mounted
1240- renamed dracut_install() to inst_multiple() for consistent naming
1241- if $libdirs is unset, fall back to ld.so.cache paths
1242- always assemble /usr device in initramfs
1243- bash module added (disable it, if you really want dash)
1244- continue to boot, if the main loop times out, in systemd mode
1245- removed inst*() shell pure versions, dracut-install binary is in charge now
1246- fixed ifcfg file generation for vlan
1247- do not include adjtime and localtime anymore
1248- fixed generation of zfcp.conf of CMS setups
1249- install vt102 terminfo
1250 dracut_install() is still there for backwards compat
1251- do not strip files in FIPS mode
1252- fixed iBFT interface configuration
1253- fs-lib: install fsck and fsck.ext*
1254- shutdown: fixed killall_proc_mountpoint()
1255- network: also wait for ethernet interfaces to setup
1256- fixed checking for FIPS mode
1257
1258Contributions from:
1259Harald Hoyer
1260WANG Chao
1261Baoquan He
1262Daniel Schaal
1263Dave Young
1264James Lee
1265Radek Vykydal
1266
1267
de50e9c0
HH
1268dracut-031
1269==========
1270- do not include the resume dracut module in hostonly mode,
1271 if no swap is present
1272- don't warn twice about omitted modules
1273- use systemd-cat for logging on systemd systems, if logfile is unset
1274- fixed PARTUUID parsing
1275- support kernel module signing keys
1276- do not install the usrmount dracut module in hostonly mode,
1277 if /sbin/init does not live in /usr
1278- add debian udev rule files
1279- add support for bcache
1280- network: handle bootif style interfaces
1281 e.g. ip=77-77-6f-6f-64-73:dhcp
1282- add support for kmod static devnodes
1283- add vlan support for iBFT
1284
1285Contributions from:
1286Harald Hoyer
1287Amadeusz Żołnowski
1288Brandon Philips
1289Colin Walters
1290James Lee
1291Kyle McMartin
1292Peter Jones
1293
8642792c
HH
1294dracut-030
1295==========
1296- support new persistent network interface names
1297- fix findmnt calls, prevents hang on stale NFS mounts
1298- add systemd.slice and slice.target units
1299- major shell cleanup
1300- support root=PARTLABEL= and root=PARTUUID=
1301- terminfo: only install l/linux v/vt100 and v/vt220
1302- unset all LC_* and LANG, 10% faster
1303- fixed dependency loop for dracut-cmdline.service
1304- do not wait_for_dev for the root devices
1305- do not wait_for_dev for devices, if dracut-initqueue is not needed
1306- support early microcode loading with --early-microcode
1307- dmraid, let dmraid setup its own partitions
1308- sosreport renamed to rdsosreport
1309
de50e9c0
HH
1310Contributions from:
1311Harald Hoyer
1312Konrad Rzeszutek Wilk
1313WANG Chao
1314
416d3d63
HH
1315dracut-029
1316==========
1317- wait for IPv6 autoconfiguration
1318- i18n: make the default font configurable
1319 To set the default font for your distribution, add
1320 i18n_default_font="latarcyrheb-sun16"
1321 to your /lib/dracut/dracut.conf.d/01-dist.conf distribution config.
1322- proper handle "rd.break" in systemd mode before switch-root
1323- systemd: make unit files symlinks
1324- build without dash requirement
1325- add dracut-shutdown.service.8 manpage
1326- handle MACs for "ip="
1327 "ip=77-77-6f-6f-64-73:dhcp"
1328- don't explode when mixing BOOTIF and ip=
1329- 90lvm/module-setup.sh: redirect error message of lvs to /dev/null
1330
1331Contributions from:
1332Harald Hoyer
1333Will Woods
1334Baoquan He
1335
03671254
HH
1336dracut-028
1337==========
1338- full integration of crypto devs in systemd logic
1339- support for bridge over team and vlan tagged team
1340- support multiple bonding interfaces
1341- new kernel command line param "rd.action_on_fail"
1342 to control the emergency action
1343- support for bridge over a vlan tagged interface
1344- support for "iso-scan/filename" kernel parameter
1345- lsinitrd got some love and does not use "file" anymore
1346- fixed issue with noexec mounted tmp dirs
1347- FIPS mode fixed
1348- dracut_install got some love
1349- fixed some /usr mounting problems
1350- ifcfg dracut module got some love and fixes
1351- default installed font is now latarcyrheb-sun16
1352- new parameters rd.live.dir and rd.live.squashimg
1353- lvm: add tools for thin provisioning
1354- also install non-hwcap libs
1355- setup correct system time and time zone in initrd
1356- s390: fixed cms setup
1357- add systemd-udevd persistent network interface naming
1358
1359Contributions from:
1360Harald Hoyer
1361Kamil Rytarowski
1362WANG Chao
1363Baoquan He
1364Adam Williamson
1365Colin Guthrie
1366Dan Horák
1367Dave Young
1368Dennis Gilmore
1369Dennis Schridde
1370
75369f8b
HH
1371dracut-027
1372==========
1373- dracut now has bash-completion
1374- require bash version 4
1375- systemd module now requires systemd >= 199
1376- dracut makes use of native systemd initrd units
1377- added hooks for new-kernel-pkg and kernel-install
1378- hostonly is now default for fedora
1379- comply with the BootLoaderSpec paths
1380 http://www.freedesktop.org/wiki/Specifications/BootLoaderSpec
1381- added rescue module
1382- host_fs_types is now a hashmap
1383- new dracut argument "--regenerate-all"
1384- new dracut argument "--noimageifnotneeded"
1385- new man page dracut.bootup
1386- install all host filesystem drivers
1387- use -D_FILE_OFFSET_BITS=64 to build dracut-install
1388
19d69051
HH
1389dracut-026
1390==========
1391- introduce /usr/lib/dracut/dracut.conf.d/ drop-in directory
1392
1393 /usr/lib/dracut/dracut.conf.d/*.conf can be overwritten by the same
1394 filenames in /etc/dracut.conf.d.
1395
1396 Packages should use /usr/lib/dracut/dracut.conf.d rather than
1397 /etc/dracut.conf.d for drop-in configuration files.
1398
1399 /etc/dracut.conf and /etc/dracut.conf.d belong to the system administrator.
1400
1401- uses systemd-198 native initrd units
1402- totally rely on the fstab-generator in systemd mode for block devices
1403- dracut systemd now uses dracut.target rather than basic.target
1404- dracut systemd services optimize themselves away
1405- fixed hostonly parameter generation
1406- turn off curl globbing (fixes IPv6)
1407- modify the udev rules on install and not runtime time
1408- enable initramfs building without kernel modules (fixed regression)
1409- in the initqueue/timeout,
1410 reset the main loop counter, as we see new udev events or initqueue/work
1411- fixed udev rule installation
1412
66f01450
HH
1413dracut-025
1414==========
1415- do not strip signed kernel modules
1416- add sosreport script and generate /run/initramfs/sosreport.txt
1417- make short uuid specification for allow-discards work
1418- turn off RateLimit for the systemd journal
1419- fixed MAC address assignment
1420- add systemd checkisomd5 service
1421- splitout drm kernel modules from plymouth module
1422- add 'swapoff' to initramfs to fix shutdown/reboot
1423- add team device support
1424- add pre-shutdown hook
1425- kill all processes in shutdown and report remaining ones
1426- "--device" changed to "--add-device" and "add_device=" added for conf files
1427- add memory usage trace to different hook points
1428- cope with optional field #7 in /proc/self/mountinfo
1429- lots of small bugfixes
1430
f046336c
HH
1431dracut-024
1432==========
1433- new dracut option "--device"
1434- new dracut kernel command line options "rd.auto"
1435- new dracut kernel command line options "rd.noverifyssl"
1436- new dracut option "--kernel-cmdline" and "kernel_cmdline" option for default parameters
1437- fixes for systemd and crypto
1438- fix for kexec in shutdown, if not included in initramfs
1439- create the initramfs non-world readable
1440- prelink/preunlink in the initramfs
1441- strip binaries in the initramfs by default now
1442- various FIPS fixes
1443- various dracut-install fixes
1444
6af5a4ac
HH
1445dracut-023
1446==========
1447- resume from hibernate fixes
1448- -N option for --no-hostonly
1449- support for systemd crypto handling
1450- new dracut module "crypt-loop"
1451- deprecate the old kernel command line options
1452- more documentation
1453- honor CFLAGS for dracut-install build
1454- multipath fixes
1455- / is mounted according to rootflags parameter but forced ro at first.
1456 Later it is remounted according to /etc/fstab + rootflags parameter
1457 and "ro"/"rw".
1458- support for xfs / reiserfs separate journal device
1459- new "ro_mnt" option to force ro mount of / and /usr
1460- root on cifs support
1461- dracut-install: fixed issue for /var/tmp containing a symlink
1462- only lazy resolve with ldd, if the /var/tmp partition is not mounted with "noexec"
1463- i18n: fixed inclusion of "include" keymaps
1464
df7be11b
HH
1465dracut-022
1466==========
1467- fixed host-only kernel module bug
1468
ddf818da
HH
1469dracut-021
1470==========
1471- fixed systemd in the initramfs (requires systemd >= 187)
1472- dracut-install: massive speedup with /var on the same filesystem with COW copy
1473- dracut-install: moved to /usr/lib/dracut until it becomes a general purpose tool
1474- new options: "rd.usrmount.ro" and "rd.skipfsck"
1475- less mount/umount
1476- apply "ro" on the kernel command line also to /usr
1477- mount according to fstab, if neither "ro" or "rw" is specified
1478- skip fsck for xfs and btrfs. remount is enough
1479- give emergency_shell if /usr mount failed
1480- dracut now uses getopt:
1481 * options can be position independent now!!
1482 * we can now use --option=<arg>
1483- added option "--kver=<kernel-version>", and the image location can be omitted
1484 # dracut --kver 3.5.0-0.rc7.git1.2.fc18.x86_64
1485- dracut.sh: for --include copy also the symbolic links
1486- man pages: lsinitrd and mkinitrd added
1487- network: We do not support renaming in the kernel namespace anymore (as udev does
1488 that not anymore). So, if a user wants to use ifname, he has to rename
1489 to a custom namespace. "eth[0-9]+" is not allowed anymore. !!!!!
1490- resume: moved the resume process to the initqueue.
1491 This should prevent accidently mounting the root file system.
1492- testsuite: add support for: make V=1 TESTS="01 20 40" check
1493 $ sudo make V=1 clean check
1494 now runs the testsuite in verbose mode
1495
1496 $ sudo make TESTS="01 20 40" clean check
1497 now only runs the 01, 20 and 40 tests.
1498
09eaf9f5
HH
1499dracut-020
1500==========
1501- changed rd.dasd kernel parameter
1502- arm kernel modules added to kernel-modules
1503- make udevdir systemdutildir systemdsystemunitdir global vars
1504 your distribution should ship those settings in
1505 /etc/dracut.conf.d/01-distro.conf
1506 see dracut.conf.d/fedora.conf.example
1507- kernel modules are now only handled with /sys/modules and modules.dep
1508- systemd fixups
1509- mdraid: wait for md devices to be clean, before shutdown
1510- ifup fixed for ipv6
1511- add PARTUUID as root=PARTUUID=<partition uuid> parameter
1512- fixed instmods() return code and set pipefail globally
1513- add 04watchdog dracut module
1514- dracut-shutdown.service: fixed ordering to be before shutdown.target
1515- make use of "ln -r" instead of shell functions, if new coreutils is installed
1516- network: support vlan tagged bonding
1517- new dracut module qemu and qemu-net to install all kernel driver
1518- fs-lib/fs-lib.sh: removed test mounting of btrfs and xfs
1519- no more "mknod" in the initramfs!!
1520- replaced all "tr" calls with "sed"
1521- speedup with lazy kernel module dependency resolving
1522- lots of speedup optimizations and last but not least
1523- dracut-install:
1524 - new binary to significanlty speedup the installation process
1525 - dracut-functions.sh makes use of it, if installed
1526
1527
6d82d7bc
HH
1528dracut-019
1529==========
1530- initqueue/online hook
1531- fixes for ifcfg write out
1532- rootfs-block: avoid remount when options don't change
1533- Debian multiarch support
1534- virtfs root filesystem support
1535- cope with systemd-udevd
1536- mount tmpfs with strictatime
1537- include all kernel/drivers/net/phy drivers
1538- add debug_on() and debug_off() functions
1539- add arguments for source_hook() and source_all()
1540- cleanup hook
1541- plymouth: get consoledev from /sys/class/tty/console/active
1542- experimental systemd dracut module for systemd in the initramfs
1543- install xhci-hcd kernel module
1544- dracut: new "--mount" option
1545- lsinitrd: new option --printsize
1546- ARM storage kernel modules added
1547- s390 cms conf file support
1548- /etc/initrd-release in the initrd
1549- vlan support
1550- full bonding and bridge support
1551- removed scsi_wait_scan kernel module from standard install
1552- support rd.luks.allow-discards and honor options in crypttab
1553- lots of bugfixes
1554
08842612
HH
1555dracut-018
1556==========
ef5c6eb9
HH
1557- lvm: ignore lvm mirrors
1558- lsinitrd: handle LZMA images
1559- iscsi: add rd.iscsi.param
1560- iscsi: add iscsi interface binding
1561- new module cms to read and handle z-Series cms config files
1562- fixed fstab.sys handling
1563- new dracut option "--tmpdir"
1564- new dracut option "--no-hostonly"
1565- nbd: name based nbd connects
08842612
HH
1566- converted manpage and documentation source to asciidoc
1567- write-ifcfg fixes and cleanups
1568- ifup is now done in the initqueue
1569- netroot cleanup
1570- initqueue/online is now for hooks, which require network
1571- no more /tmp/root.info
1572- 98pollcdrom: factored out the ugly cdrom polling in the main loop
1573- simplified rd.luks.uuid testing
1574- removed "egrep" and "ls" calls
1575- speedup kernel module installation
1576- make bzip2 optional
1577- lots of bugfixes
1578
f5a9e459
HH
1579dracut-017
1580==========
1581- a _lot_ faster than dracut-016 in image creation
1582- systemd service dracut-shutdown.service
1583- livenet fixes
1584- ssh-client module install fix
1585- root=iscsi:... fixed
1586- lots of restructuring and optimizing in dracut-functions.sh
1587- usrmount: honor fs_passno in /etc/fstab
1588- renamed all shell scripts to .sh
1589- new option "--omit-drivers" and config option "omit_drivers"
1590- hostonly mode fixups
1591
6bee3369
HH
1592dracut-016
1593==========
1594- fixed lsinitrd
1595- honor binaries in sbin first
1596- fixed usrmount module
1597- added systemd service for shutdown
1598- fixed terminfo on distros with /usr/share/terminfo
1599- reload udev rules after "pre-trigger" hook
1600- improved test suite
1601- new parameter "--omit-drivers" and new conf param omit_drivers
1602- "--offroot" support for mdraid
1603- new libs: net-lib.sh, nfs-lib.sh, url-lib.sh, img-lib.sh
1604 full of functions to use in your dracut module
1605
a74eae77
HH
1606dracut-015
1607==========
1608- hostonly mode automatically adds command line options for root and /usr
1609- --add-fstab --mount parameters
1610- ssh-client module
1611- --ctty option: add job control
1612- cleanup /run/initramfs
1613- convertfs module
1614- /sbin/ifup can be called directly
1615- support kernel modules compressed with xz
1616- s390 iscsi modules added
1617- terminfo module
1618- lsinitrd can handle concatened images
1619- lsinitrd can sort by size
1620
ef8b121e
HH
1621dracut-014
1622==========
1623- new dracut arguments:
1624 --lvmconf
1625 --nolvmconf
1626 --fscks [LIST]
1627 --nofscks
1628- new .conf options:
1629 install_items
1630 fscks
1631 nofscks
1632- new kernel options:
1633 rd.md.ddf
1634 rd.md.waitclean
1635 plymouth.enable
1636- dracut move from /sbin to /usr/bin
1637- dracut modules dir moved from /usr/share/dracut to /usr/lib/dracut
1638- profiling with "dracut --profile"
1639- new TEST-16-DMSQUASH, test for Fedora LiveCDs
1640- speedup of initramfs creation
1641- ask_for_password fallback to CLI
1642- mdraid completely switched to incremental assembly
1643- no more cdrom polling
1644- "switch_root" breakpoint is now very late
1645- /dev/live is gone
1646- /dev/root is gone
1647- fs-lib dracut module for fscks added
1648- xen dracut module removed
1649- usb mass storage kernel drivers now included
1650- usrmount dracut module added:
1651 mount /usr if found in /sysroot/etc/fstab
1652- only include fsck helper needed for hostonly
1653- fcoe: support for bnx2fc
1654- support iSCSI drivers: qla4xxx, cxgb3i, cxgb4i, bnx2i, be2iscsi
1655- fips-aesni dracut module added
1656- add install_items to dracut.conf
1657 install_items+=" <file>[ <file> ...] "
1658- speedup internal testsuite
1659- internal testsuite: store temporary data in a temporary dir
1660
e9519a39
HH
1661dracut-013
1662==========
1663- speedup of initramfs creation
1664- fixed inst_dir for symbolic links
1665- add unix kernel module
1666
e22ad509
HH
1667dracut-012
1668==========
1669- better fsck handling
1670- fixed wait condition for LVM volumes
1671- fix for hardlinks (welcome Debian! :-)
1672- shutdown bugfixes
1673- automatic busybox symlink creation
1674- try to mount /usr, if init points to a path in /usr
1675- btrfs with multiple devices
1676- "--force-add" option for dracut, to force-add dracut modules,
1677 without hostonly checks
1678- lsinitrd also display the initramfs size in human readable form
1679- livenet module, to mount live-isos over http
1680- masterkey,ecryptfs,integrity security modules
1681- initqueue/timeout queue e.g. for starting degraded raids
1682- "make rpm" creates an rpm with an increasing release number from any
1683 git checkout
1684- support lvm mirrors
1685- start degraded lvm mirrors after a timeout
1686- start degraded md raids after a timeout
1687- getarg() now returns wildcards without file matching to the current fs
1688- lots of bugfixes
1689
b99dc517
HH
1690dracut-011
1691==========
1692- use udev-168 features for shutting down udev
4765889b
HH
1693- introduce "--prefix" to put all initramfs files in e.g "/run/initramfs"
1694- new shutdown script (called by systemd >= 030) to disassemble the root device
1695- lots of bugfixes
1696- new module for gpg-encrypted keys - 91crypt-gpg
b99dc517 1697
5dcd565d
HH
1698dracut-010
1699==========
1700- lots of bugfixes
1701- plymouth: use /run/plymouth/pid instead of /run/initramfs/plymouth
1702- add "/lib/firmware/updates" to default firmware path
1703
6981a0bf
HH
1704dracut-009
1705==========
9a54908f
HH
1706- dracut generator
1707 - dracut-logger
1708 - xz compression
1709 - better argument handling
1710
1711- initramfs
1712 - hooks moved to /lib/dracut/hooks in initramfs
7641c73d 1713 - rd.driver.{blacklist|pre|post} accept comma separated driver list
9a54908f
HH
1714 - iSCSI: iSCSI Boot Firmware Table (iBFT) support
1715 - support for /run
1716 - live image: support for generic rootfs.img (instead of ext3fs.img)
1717 - caps module
1718 - FCoE: EDD support
1719
c033d96e
HH
1720dracut-008
1721==========
9d1015b6 1722- removed --ignore-kernel-modules option (no longer necessary)
6ae5caf0 1723- renamed kernel command line arguments to follow the rd. naming scheme
71df3c43 1724- merged check, install, installkernel to module-setup.sh
6ae5caf0
HH
1725- support for bzip2 and xz compressed initramfs images.
1726- source code beautification
1727- lots of documentation
1728- lsinitrd: "catinitrd" functionality
1729- dracut: --list-modules
1730- lvm: support for dynamic LVM SNAPSHOT root volume
1731- 95fstab-sys: mount all /etc/fstab.sys volumes before switch_root
1732- 96insmodpost dracut module
1733- rd.shell=1 per default
1734- rootfs-block:mount-root.sh add fsck
1735- busybox shell replacements module
1736- honor old "real_init="
1737- 97biosdevname dracut module
c033d96e 1738
0b2ddf8f
HH
1739dracut-007
1740==========
1741- module i18n is no longer fedora/red hat specific (Amadeusz Żołnowski)
1742- distribution specific conf file
1743- bootchartd support
1744- debug module now has fsck
620d0315 1745- use "hardlink", if available, to save some space
0b2ddf8f 1746- /etc/dracut.conf can be overwritten by settings in /etc/dracut.conf.d/*.conf
01816f2b
HH
1747- gentoo splash module
1748- --ignore-kernel-modules option
1749- crypto keys on external devices support
0b2ddf8f
HH
1750- bugfixes
1751
bdcb63b0
HH
1752dracut-006
1753==========
1754- fixed mdraid with IMSM
1755- fixed dracut manpages
1756- dmraid parse different error messages
1757- add cdrom polling mechanism for slow cdroms
1758- add module btrfs
8f74a60c 1759- add btrfsctl scan for btrfs multi-devices (raid)
bdcb63b0
HH
1760- teach dmsquash live-root to use rootflags
1761- trigger udev with action=add
3b403b32 1762- fixed add_drivers handling
bdcb63b0
HH
1763- add sr_mod
1764- use pigz instead of gzip, if available
7d86d90d
HH
1765- boot from LVM mirrors and snapshots
1766- iscsi: add support for multiple netroot=iscsi:
1767- Support old version of module-init-tools
1768- got rid of rdnetdebug
1769- fixed "ip=auto6"
1770- dracut.conf: use "+=" as default for config variables
1771- bugfixes
bdcb63b0 1772
e8767636
HH
1773dracut-005
1774==========
3b403b32 1775- dcb support to dracut's FCoE support
e8767636
HH
1776- add readonly overlay support for dmsquash
1777- add keyboard kernel modules
1778- dracut.conf: added add_dracutmodules
1779- add /etc/dracut.conf.d
1780- add preliminary IPv6 support
1781- bugfixes
1782
3ee26913
HH
1783dracut-004
1784==========
1785- dracut-lib: read multiple lines from $init/etc/cmdline
1786- lsinitrd and mkinitrd
1787- dmsquash: add support for loopmounted *.iso files
1788- lvm: add rd_LVM_LV and "--poll n"
1789- user suspend support
1790- add additional drivers in host-only mode, too
1791- improved emergency shell
1792- support for compressed kernel modules
1793- support for loading Xen modules
1794- rdloaddriver kernel command line parameter
1795- man pages for dracut-catimages and dracut-gencmdline
1796- bugfixes
1797
b59d3549
HH
1798dracut-003
1799==========
9993392f
HH
1800- add debian package modules
1801- add dracut.conf manpage
b59d3549
HH
1802- add module 90multipath
1803- add module 01fips
1804- crypt: ignore devices in /etc/crypttab (root is not in there)
1805 unless rd_NO_CRYPTTAB is specified
1806- kernel-modules: add scsi_dh scsi_dh_rdac scsi_dh_emc
1807- add multinic support
1808- add s390 zfcp support
1809- add s390 dasd support
1810- add s390 network support
1811- fixed dracut-gencmdline for root=UUID or LABEL
1812- do not destroy assembled raid arrays if mdadm.conf present
3b403b32 1813- mount /dev/shm
b59d3549
HH
1814- let udevd not resolve group and user names
1815- moved network from udev to initqueue
1816- improved debug output: specifying "rdinitdebug" now logs
1817 to dmesg, console and /init.log
1818- strip kernel modules which have no x bit set
1819- redirect stdin, stdout, stderr all RW to /dev/console
1820 so the user can use "less" to view /init.log and dmesg
3b403b32 1821- add new device mapper udev rules and dmeventd
a8a3ca51 1822- fixed dracut-gencmdline for root=UUID or LABEL
95b4875c
HH
1823- do not destroy assembled raid arrays if mdadm.conf present
1824- mount /dev/shm
1825- let udevd not resolve group and user names
1826- preserve timestamps of tools on initramfs generation
1827- generate symlinks for binaries correctly
1828- moved network from udev to initqueue
1829- mount nfs3 with nfsvers=3 option and retry with nfsvers=2
1830- fixed nbd initqueue-finished
1831- improved debug output: specifying "rdinitdebug" now logs
1832 to dmesg, console and /init.log
95b4875c
HH
1833- strip kernel modules which have no x bit set
1834- redirect stdin, stdout, stderr all RW to /dev/console
1835 so the user can use "less" to view /init.log and dmesg
1836- make install of new dm/lvm udev rules optionally
95b4875c
HH
1837- add new device mapper udev rules and dmeventd
1838- Fix LiveCD boot regression
1839- bail out if selinux policy could not be loaded and
1840 selinux=0 not specified on kernel command line
95b4875c
HH
1841- do not cleanup dmraids
1842- copy over lvm.conf
1843
4d924752
HH
1844dracut-002
1845==========
1846- add ifname= argument for persistent netdev names
1847- new /initqueue-finished to check if the main loop can be left
1848- copy mdadm.conf if --mdadmconf set or mdadmconf in dracut.conf
1849- plymouth: use plymouth-populate-initrd
1850- add add_drivers for dracut and dracut.conf
1851- add modprobe scsi_wait_scan to be sure everything was scanned
1852- fix for several problems with md raid containers
1853- fix for selinux policy loading
1854- fix for mdraid for IMSM
1855- fix for bug, which prevents installing 61-persistent-storage.rules (bug #520109)
1856- fix for missing grep for md
1857
d889c019
HH
1858dracut-001
1859==========
1860- better --hostonly checks
1861- better lvm/mdraid/dmraid handling
1862- fcoe booting support
1863 Supported cmdline formats:
1864 fcoe=<networkdevice>:<dcb|nodcb>
1865 fcoe=<macaddress>:<dcb|nodcb>
3b403b32 1866
d889c019
HH
1867 Note currently only nodcb is supported, the dcb option is reserved for
1868 future use.
3b403b32 1869
d889c019 1870 Note letters in the macaddress must be lowercase!
3b403b32 1871
d889c019
HH
1872 Examples:
1873 fcoe=eth0:nodcb
1874 fcoe=4A:3F:4C:04:F8:D7:nodcb
1875
3b403b32 1876- Syslog support for dracut
d889c019
HH
1877 This module provides syslog functionality in the initrd.
1878 This is especially interesting when complex configuration being
1879 used to provide access to the device the rootfs resides on.
1880
1881
5d12f1a4
HH
1882dracut-0.9
1883==========
1884- let plymouth attach to the terminal (nice text output now)
1885- new kernel command line parameter "rdinfo" show dracut output, even when
1886 "quiet" is specified
1887- rd_LUKS_UUID is now handled correctly
1888- dracut-gencmdline: rd_LUKS_UUID and rd_MD_UUID is now correctly generated
1889- now generates initrd-generic with around 15MB
1890- smaller bugfixes
1891
0de91060
HH
1892dracut-0.8
1893==========
1894- iSCSI with username and password
1895- support for live images (dmsquashed live images)
1896- iscsi_firmware fixes
1897- smaller images
1898- bugfixes
1899
1900dracut-0.7
1901==========
1902- dracut: strip binaries in initramfs
3b403b32 1903
0de91060
HH
1904 --strip
1905 strip binaries in the initramfs (default)
3b403b32 1906
0de91060
HH
1907 --nostrip
1908 do not strip binaries in the initramfs
1909- dracut-catimages
3b403b32 1910
0de91060
HH
1911 Usage: ./dracut-catimages [OPTION]... <initramfs> <base image>
1912 [<image>...]
1913 Creates initial ramdisk image by concatenating several images from the
1914 command
1915 line and /boot/dracut/
3b403b32 1916
0de91060
HH
1917 -f, --force Overwrite existing initramfs file.
1918 -i, --imagedir Directory with additional images to add
1919 (default: /boot/dracut/)
1920 -o, --overlaydir Overlay directory, which contains files that
1921 will be used to create an additional image
1922 --nooverlay Do not use the overlay directory
1923 --noimagedir Do not use the additional image directory
1924 -h, --help This message
1925 --debug Output debug information of the build process
1926 -v, --verbose Verbose output during the build process
1927
1928- s390 dasd support
1929
1930dracut-0.6
1931==========
1932- dracut: add --kernel-only and --no-kernel arguments
3b403b32 1933
0de91060
HH
1934 --kernel-only
1935 only install kernel drivers and firmware files
3b403b32 1936
0de91060
HH
1937 --no-kernel
1938 do not install kernel drivers and firmware files
3b403b32 1939
0de91060
HH
1940 All kernel module related install commands moved from "install"
1941 to "installkernel".
3b403b32 1942
0de91060
HH
1943 For "--kernel-only" all installkernel scripts of the specified
1944 modules are used, regardless of any checks, so that all modules
1945 which might be needed by any dracut generic image are in.
3b403b32 1946
0de91060
HH
1947 The basic idea is to create two images. One image with the kernel
1948 modules and one without. So if the kernel changes, you only have
1949 to replace one image.
3b403b32 1950
0de91060
HH
1951 Grub and the kernel can handle multiple images, so grub entry can
1952 look like this:
3b403b32 1953
0de91060
HH
1954 title Fedora (2.6.29.5-191.fc11.i586)
1955 root (hd0,0)
1956 kernel /vmlinuz-2.6.29.5-191.fc11.i586 ro rhgb quiet
1957 initrd /initrd-20090722.img /initrd-kernel-2.6.29.5-191.fc11.i586.img /initrd-config.img
3b403b32 1958
0de91060
HH
1959 initrd-20090722.img
1960 the image provided by the initrd rpm
1961 one old backup version is kept like with the kernel
3b403b32 1962
0de91060
HH
1963 initrd-kernel-2.6.29.5-191.fc11.i586.img
1964 the image provided by the kernel rpm
3b403b32 1965
0de91060
HH
1966 initrd-config.img
1967 optional image with local configuration files
1968
1969- dracut: add --kmoddir directory, where to look for kernel modules
3b403b32 1970
0de91060
HH
1971 -k, --kmoddir [DIR]
1972 specify the directory, where to look for kernel modules
1973
1974
1975
1976dracut-0.5
1977==========
1978- more generic (all plymouth modules, all keyboards, all console fonts)
1979- more kernel command line parameters (see also man dracut(8))
1980- a helper tool, which generates the kernel command line (dracut-gencmdline)
1981- bridged network boot
1982- a lot of new command line parameter
1983
1984dracut-0.4
1985==========
1986- bugfixes
1987- firmware loading support
1988- new internal queue (initqueue)
1989 initqueue now loops until /dev/root exists or root is mounted
3b403b32 1990
0de91060 1991 init now has the following points to inject scripts:
3b403b32 1992
0de91060
HH
1993 /cmdline/*.sh
1994 scripts for command line parsing
3b403b32 1995
0de91060
HH
1996 /pre-udev/*.sh
1997 scripts to run before udev is started
3b403b32 1998
0de91060
HH
1999 /pre-trigger/*.sh
2000 scripts to run before the main udev trigger is pulled
3b403b32 2001
0de91060
HH
2002 /initqueue/*.sh
2003 runs in parallel to the udev trigger
2004 Udev events can add scripts here with /sbin/initqueue.
2005 If /sbin/initqueue is called with the "--onetime" option, the script
2006 will be removed after it was run.
2007 If /initqueue/work is created and udev >= 143 then this loop can
2008 process the jobs in parallel to the udevtrigger.
2009 If the udev queue is empty and no root device is found or no root
2010 filesystem was mounted, the user will be dropped to a shell after
2011 a timeout.
2012 Scripts can remove themselves from the initqueue by "rm $job".
3b403b32 2013
0de91060
HH
2014 /pre-mount/*.sh
2015 scripts to run before the root filesystem is mounted
2016 NFS is an exception, because it has no device node to be created
2017 and mounts in the udev events
3b403b32 2018
0de91060
HH
2019 /mount/*.sh
2020 scripts to mount the root filesystem
2021 NFS is an exception, because it has no device node to be created
2022 and mounts in the udev events
2023 If the udev queue is empty and no root device is found or no root
2024 filesystem was mounted, the user will be dropped to a shell after
2025 a timeout.
3b403b32 2026
0de91060
HH
2027 /pre-pivot/*.sh
2028 scripts to run before the real init is executed and the initramfs
2029 disappears
2030 All processes started before should be killed here.
3b403b32 2031
0de91060
HH
2032 The behaviour of the dmraid module demonstrates how to use the new
2033 mechanism. If it detects a device which is part of a raidmember from a
2034 udev rule, it installs a job to scan for dmraid devices, if the udev
2035 queue is empty. After a scan, it removes itsself from the queue.
2036
2037
2038
2039dracut-0.3
2040==========
2041
2042- first public version
2043