- Update to dracut mainline version 041.
Half of the patches got integrated mainline.
Some others have been merged together when it made sense some have
been left out, but are still in the repository as they need some special
treating and mainline discussion whether/how they get added. These are
also not urgently needed, but are debugging patches.
I broke the rule here to mention every added/deleted/modified patch as
every patch is touched and every 2nd got removed (mainline integrated).
I also re-ordered the patches in the PatchXY: area for easier merging them
and get them discussed and posted mainline easier, topic by topic.
OBS-URL: https://build.opensuse.org/request/show/293267
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=214
- Add ip= and root=nfs.. to dracut internal cmdline to make nfsroot working
(bnc#896464)
* Add 0160-nfs-Add-ip-.-and-root-nfs.-parameters-to-internal-dr.patch
- Fix error message in case there is no internal dracut cmdline added
Simple fix
* Add 0161-Fix-error-message-when-there-are-no-internal-kernel-.patch
- Request DHCP lease instead of getting/applying the offer
No bug number, but Pawel rated this high prio. This should hit SLE12 still.
* Add 0162-network-Request-DHCP-lease-instead-of-getting-applyi.patch
OBS-URL: https://build.opensuse.org/request/show/251837
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=191
- dracut.usage.asc: Remove distro specific help from manpage (bnc#895363)
*Add 0156-dracut.usage.asc-Remove-distro-specific-help-from-ma.patch
- Add /boot/zipl to host devs if it is a mount point (bnc#892187)
*Add 0157-Add-boot-zipl-to-host-devs-if-it-is-a-mount-point.patch
- Add SUSE kernel module dependencies (in /etc/modprobe.d/*) (bnc#895331)
*Add 0158-Add-SUSE-kernel-module-dependencies-in-etc-modprobe..patch
OBS-URL: https://build.opensuse.org/request/show/248600
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=186
- Network module may take quite a lot of initrd space. Do not add it
unconditionally (bnc#892851)
* Add 0153-Only-add-network-module-on-request-and-on-dependenci.patch
- S390x can do s2disk, allow resume module there
(bnc#889795)
* Add 0154-resume-Also-allow-this-module-on-S390-again-s2disk-c.patch
- Harden iscsi parameter checking. No bug report, but this problem
was found during multipath testing and happens with 2 or more
iscsi devices.
* Add 0155-iscsi-iscsi.initiator-and-others-can-and-must-only-s.patch
OBS-URL: https://build.opensuse.org/request/show/247544
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=184
- Do not blindly try to touch the logfile (bnc#893219)
* Add 0146-dracut.sh-corrected-logfile-check.patch
- Only fix UUID= fstab parsing
* Add 0147-dracut.sh-Fix-UUID-fstab-parsing-in-case-mount-optio.patch
- Also fix other parsing syntax in fstab like LABEL=
* Add 0148-dracut.sh-Fix-LABEL-and-other-fstab-syntax.patch
- Fix up some bugs from previous commit
* Add 0149-dracut.sh-Fix-fstab-parsing-again.patch
- bnc#893615
* Add 0150-Find-kernel-modules-in-extra-and-weak-updates-path-a.patch
- pixz does need too much memory, go back to xz in a conservative way
(bnc#893981)
* Add 0151-Go-back-to-xz-again-pixz-may-use-too-much-memory-whi.patch
- Add some default tools to initrd when debug module is included and
already provided an commented example line how to easily enable it.
No functional change by default.
* Add 0152-Add-a-comment-to-easily-add-debug-modules-also-add-v.patch
OBS-URL: https://build.opensuse.org/request/show/246856
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=182
- dracut.sh: check for logfile (--logfile option) and create it if necessary
Add 0139-dracut.sh-check-for-logfile-logfile-option-and-creat.patch
- Avoid duplicate names in host_devs
Add 0140-dracut.sh-Avoid-duplicate-devices-in-host_devs.patch
- iscsi: Avoid bad ip route call on empty address
Add 0141-iscsi-Avoid-bad-ip-route-call-on-empty-address.patch
- 40network: Don't report error for .../ifroute-* during module setup
Add 0142-40network-Don-t-report-error-for-etc-sysconfig-netwo.patch
- iscsi: Fix up ipv6 in brackets , iterate over all needed iscsi mounts
Add 0143-iscsi-Fix-up-ipv6-in-brackets-iterate-over-all-possi.patch
- 90crypt: Fixed crypttab_contains() to also work with device in /etc/crypttab
Add 0144-90crypt-Fixed-crypttab_contains-to-also-work-with-de.patch
- 40network: handle 'ip=ifname:static' correctly (bnc#892801)
Add 0145-40network-handle-ip-ifname-static-correctly.patch
OBS-URL: https://build.opensuse.org/request/show/245581
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=180
- Allow multiple configurations per network interface (bnc#887906)
Add 0133-Allow-multiple-configurations-per-network-interface-.patch
- Remove bootdev warning (bnc#881112)
Add 0134-Remove-bootdev-warning-bnc-881112.patch
- check for existance of 69-dm-lvm-metad.rules in modules_setup.sh, lvm module
(bnc#891791)
Add 0135-lvm-Fix-12819a579900b9691e2-check-for-existance-of-6.patch
- Moved persistent network rule revert to another file (was not in github):
Delete: 0133-Remove-70-persistent-net.rules.patch
Add: 0136-Revert-95udev-rules-add-persistent-network-rule.patch
- dracut-use-fipscheck-openssl.patch: Switch from Mozilla NSS sha256hmac
checking to fipscheck as recommended
Add: 0137-Switch-from-Mozilla-NSS-sha256hmac-checking-to-fipsc.patch
- warpclock: Do not use warpclock module on S390(x), hwclock does not exist
there (bnc#884513)
Add 0138-warpclock-Do-not-use-warpclock-module-on-S390-x-hwcl.patch
OBS-URL: https://build.opensuse.org/request/show/244813
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=178
- Update to latest git HEAD: commit 0fa5dbedc5b222435f51f7460a81232ee120c4e1
Tue May 20 13:23
Modified dracut_v37_to_HEAD.patch
Modified mdraid-setup.patch
Modified dracut-install-persistent-rule.patch
- Add /etc/dracut.d.conf/01-dist modifications to file instead of writing
to it via rpm build section
Add 0033-dracut_hostonly_hostonly_cmdline_default.patch
Add 0034-suse.conf.example_extend.patch
- Cleanup mkinitrd-suse.sh:
* Remove hostonly and hostonly-cmdline -> this is done via 01-dist config
file now
- Always add network module based on modules_setup.sh check() function and not
via 01-dist config file
Add 0035-always_add_network.patch
- Add find to debug binaries - Useful and harmless
Add 0036-add_extra_debug_binaries.patch
- Fix adding of network modules for s390 (bnc#879302)
Add 0037-fix_s390_network_modules_install.patch
- Omit resume module on s390(x) - There is no suspend on s390
Add 0039-s390_no_resume_module.patch
- Do not wait for swap - This causes trouble with Rudi's autobuild images:
Add 0038-remove_waiting_for_swap_dev.patch
- Fcoe and ibft fixes (bnc#879038):
Add 0041-only_enable_network_if_explicitly_requested.patch
Add 0042-ibft_autoconfig_param.patch
Add 0043-fcoe_strip_quotes.patch
- Print message when starting to update bootloader
Add 0044-Add_update_bootloader_msg.patch
- ToDo: Pass hostonly variable earlier so that is always avail in check()
OBS-URL: https://build.opensuse.org/request/show/235703
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=151
- Do not inst binaries explicitly into /bin or /usr/bin, it is already taken
care of internally for that:
Delete 0006-Install-bin-mount.patch
Modify 0013-Correct-paths-for-openSUSE.patch
- Do not stop trying to load drivers (via add-drivers or filesystems) if one
fails
Add 0025-dracut_continue_adding_modules_also_on_error.patch
- Introduce force-drivers. mkinitrd should use this one instead of add-drivers
later, if accepted mainline
Add
0026-force_to_add_and_load_kernel_modules_other_than_via_boot_param.patch
OBS-URL: https://build.opensuse.org/request/show/232961
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=141
- Update to lateste git HEAD 48b7ab1b35adf1f3f09f883ef14ea0a3fba1e468
Added: dracut_v37_to_HEAD.patch
Modified: 0013-Correct-paths-for-openSUSE.patch
Modified: mdraid-setup.patch
Modified: replace_dhclient_with_wickedd_dhcp_supplicants.patch
Deleted: 0018-fstab-do-not-mount-and-fsck-from-fstab-if-using-syst.patch
Deleted: 0019-dracut-initqueue-service-runs-before-remote-fs-pre.t.patch
- Fix lvm and other possible not working thing due to new parameter:
hostonly-cmdline which has to be active by default
bnc#874000 bnc#874905 bnc#874363
Added: mkinird_differ_host_and_cmdline_only_properly.patch
- Make write-ifcfg-suse.sh more update robust
Avoid rebasing of diff with every update touching this file by adding
write-ifcfg-suse.sh as source file and copy/link in .spec file.
Modified: change_write_ifcfg_to_suse.patch
OBS-URL: https://build.opensuse.org/request/show/232233
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=138
- Update dracut to 037
* Add --hostonly_cmdline switch
* Update --mount syntax
* Include modules from /updates directory
* Fixes for network setup
* Some small fixes
- Rediff patches
- Include iscsiuio again (bnc#872474)
Remove: remove-iscsiuio.patch
- Install 59-scsi-sg_utils.rules (bnc#872478)
Add: 0015-95udev-rules-Add-59-scsi-sg_utils.rules.patch
- Install 67-kpartx-compat.rules (bnc#872662)
Add: 0016-90multipath-add-67-kpartx-compat.rules.patch
- Install separate multipath service file (bnc#871610)
Add: 0017-90multipath-install-dracut-specific-service-file.patch
- Do not fsck and mount from fstab if systemd is used (bnc#
Add: 0018-fstab-do-not-mount-and-fsck-from-fstab-if-using-syst.patch
- Fixup initqueue for remote-fs
Add: 0019-dracut-initqueue-service-runs-before-remote-fs-pre.t.patch
OBS-URL: https://build.opensuse.org/request/show/229484
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=124
- Merge all dracut-* packages to one dracut.rpm package.
Subpackages only had one or two minor files not worth splitting a package
or dracut-network had important modules which should (like former main
dracut package) always get installed
- libcap does not exist and libcap2 or friends are not needed
-> remove Requires: libcap
- Reorder (sort) the files section a bit
OBS-URL: https://build.opensuse.org/request/show/224659
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=108
- Make sure that --add-drivers is not called with whitespace string which
will lead to a "read line" user input request and things may get stuck at
installation.
- Add: dracut-fix-whitespace-add-drivers_call.patch
- Remove s390 grub module again -> this will go into grub2 package
(ask rw@suse.de for details)
Delete/remove: s390_add-user-space-grub-rule.patch
- Add installkernel script which installs the kernel when:
make install
is invoked. The script from mkinitrd has been taken over and adopted.
Added source: dracut-installkernel
bnc#862990
OBS-URL: https://build.opensuse.org/request/show/224246
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=105
Add: dracut_do_not_update_booloader_if_no_kernel_is_found.patch
Adding:
Requires: systemd-sysvinit
which has reboot, halt and other binaries dracut likes to add to the initrd.
Cleanup and adjust to latest mainline:
Dropping as these are included in the latest update_git_v034_to_head patch:
Drop: 0001-95dasd-Install-kernel-modules-only-once.patch
Drop: 0002-95dasd-Only-install-module-if-normalize_dasd_arg-is-.patch
Drop: 0003-95dasd_mod-make-dasd_cio_free-optional.patch
Drop: 0004-95zfcp-Make-installation-optional.patch
Drop: 0005-95znet-Make-installation-optional.patch
Drop: 0007-Fixup-keymap-setting-for-openSUSE.patch
Drop: 0008-Add-DASD-configuration-for-SuSE.patch
Drop: 0009-Add-zfcp-scripts-for-SUSE.patch
Drop: 0010-Make-logfile-configurable.patch
Drop: 0011-mkinitrd-suse-Add-SUSE-compability-wrapper-for-dracu.patch
Drop: 0012-mkinitrd-suse.8.asc-Add-manpage-for-SUSE-compat-mkin.patch
Drop: 0015-Fixup-script-permissions.patch
Drop: 0016-Remove-shebang-from-shell-completion-files.patch
Drop: dracut-git-update.patch
Rebase: 0013-Correct-paths-for-openSUSE.patch
This is a rename of dracut-git-update.patch to:
Add: dracut_git_v034_to_head.patch
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=87
- Update with patches from git repository:
* kernel-modules: add ohci-pci to the list of forced module installs
* Run 'xz' and 'lzma' with multiple threads
* systemd: do not exit the initqueue, if systemd asks a password
* iscsi,nbd: do not fail in hostonly mode
* dracut-functions.sh: Avoid loading unnecessary 32-bit libraries
for 64-bit initrds
* fips: also install /etc/system-fips in the initramfs
* dracut.modules.7.asc: removed empty section
* dracut.sh: fixed PATH shortener
* dracut.spec: move /sbin/dracut to /usr/sbin/dracut
* iscsi/nbd: do not try to mount the whole disk, if root= is missing
* fips: include crct10dif_generic
* Handle crypto modules with and without modaliases
* usrmount/module-setup.sh: fixed typo
* lvm: always install thin utils for lvm
* kernel-modules(ARM): add mmc_block usb_storage to static list of
kernel mods
* dracut-functions.sh:check_block_and_slaves*() skip LVM internal devs
* mkdir basic dirs in /run
* network/fcoe: only redirect output to loginit.pipe, if exists
* dracut.sh: no need to make subdirs in run
* dracut.sh: also mkdir /run/lock, which is copied to
* lvm: fix thin recognition
* Add lzo, lz4 compression and read INITRD_COMPRESS
* remove resume-genrules.sh
* resume: fix swap detection in hostonly
* base/init.sh: also mkdir /run/lock
* dmsquash-live: add /dev/mapper/live-base
* Doc: cleanup, extend and split and reuse
OBS-URL: https://build.opensuse.org/request/show/208892
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=82
- Remove all patches which went mainline
- Fix missing root fs slash in lib/udev/rules.d resulting in:
/var/tmp/initramfs.Lusf6flib/udev/rules.d
- bcache: removed, it's in the upstream bcache-tools package
mainline git commit: 49268028b90f6344f79e3510d2
- Fix bad she-bang in mkinitrd_setup_dummy
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=67
- Add ACPI table override ability
- Adjust mkinitrd-dracut.sh to SUSE mkinitrd:
<none> : Before gives a "usage" error -> now scans /boot for kernels
and builds corresponding inirtrds for them
-i -k : Pass a list of kernels and initrd targets
(not sure it was worth the hassle to be able to pass)
-b : Boot directory to search for kernel images
-d : Change root file system. Not tested whether dracut's behavior
matches exactly what our mkinitrd does.
-s : Dummy (should even be obsolete in latest mkinitrd)
- Write caller and used parameters to syslog if mkinitrd is called.
So that those can easily be fixed and checked for correctness.
This should get reverted again before a bigger release.
OBS-URL: https://build.opensuse.org/request/show/201877
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=56
- save a few seconds on boot by always including the autofs4
kernel module in the initrd
- dracut 033
- improved hostonly device recognition
- improved hostonly module recognition
- do not install udev rules from /etc in generic mode
- fixed LABEL= parsing for swap devices
- fixed iBFT network setup
- removed caching of kernel cmdline
- bcache: support new blkid
- ifup with dhcp, if no "ip=" specified for the interface
- fixed ifup udev rules
OBS-URL: https://build.opensuse.org/request/show/200059
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=54
- After testing, we need to correct a major problem, /usr/bin/mount
most be installed in /bin/mount on the initrd otherwise boot fails.
- version 032
- add parameter --print-cmdline
- dracut now creates the initramfs without udevadm
that means the udev database does not have to populated
and the initramfs can be built in a chroot with
/sys /dev /proc mounted.
- renamed dracut_install() to inst_multiple() for consistent naming
- if $libdirs is unset, fall back to ld.so.cache paths
- always assemble /usr device in initramfs
- bash module added (disable it, if you really want dash)
- continue to boot, if the main loop times out, in systemd mode
- removed inst*() shell pure versions, dracut-install binary is in charge now
- fixed ifcfg file generation for vlan
- do not include adjtime and localtime anymore
- fixed generation of zfcp.conf of CMS setups
- install vt102 terminfo
- dracut_install() is still there for backwards compat
- do not strip files in FIPS mode
- fixed iBFT interface configuration
- fs-lib: install fsck and fsck.ext*
- shutdown: fixed killall_proc_mountpoint()
- network: also wait for ethernet interfaces to setup
- fixed checking for FIPS mode
- version 031_git201308011055
* systemd: add support for kmod static devnodes
* crypt: Wait for udev to settle before unlocking disk
OBS-URL: https://build.opensuse.org/request/show/197948
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=52
- dracut-026
- introduce /usr/lib/dracut/dracut.conf.d/ drop-in directory
/usr/lib/dracut/dracut.conf.d/*.conf can be overwritten by the same
filenames in /etc/dracut.conf.d.
Packages should use /usr/lib/dracut/dracut.conf.d rather than
/etc/dracut.conf.d for drop-in configuration files.
/etc/dracut.conf and /etc/dracut.conf.d belong to the system administrator.
- uses systemd-198 native initrd units
- totally rely on the fstab-generator in systemd mode for block devices
- dracut systemd now uses dracut.target rather than basic.target
- dracut systemd services optimize themselves away
- fixed hostonly parameter generation
- turn off curl globbing (fixes IPv6)
- modify the udev rules on install and not runtime time
- enable initramfs building without kernel modules (fixed regression)
- in the initqueue/timeout,
reset the main loop counter, as we see new udev events or initqueue/work
- fixed udev rule installation
OBS-URL: https://build.opensuse.org/request/show/158774
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=19
- Update to 025_git201302211113
* Support out-of-tree and updated drivers in initramfs creation
* shutdown: call "losetup -D" on shutdown
* Mount /proc before including dracut-lib.sh.
* dracut.sh: make /var/log a symlink to /run/log
* systemd/dracut-pre-pivot.sh: remove /dev/root symlink after shell
* kernel-modules: Add ehci support for kernel 3.8+
* Other bugfixes
OBS-URL: https://build.opensuse.org/request/show/156022
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=17
- Update to release 023:
+ resume from hibernate fixes
+ -N option for --no-hostonly
+ support for systemd crypto handling
+ new dracut module "crypt-loop"
+ deprecate the old kernel command line options
+ more documentation
+ honor CFLAGS for dracut-install build
+ multipath fixes
+ / is mounted according to rootflags parameter but forced ro at
first. Later it is remounted according to /etc/fstab +
rootflags parameter and "ro"/"rw".
+ support for xfs / reiserfs separate journal device
+ new "ro_mnt" option to force ro mount of / and /usr
+ root on cifs support
+ dracut-install: fixed issue for /var/tmp containing a symlink
+ only lazy resolve with ldd, if the /var/tmp partition is not
mounted with "noexec".
+ i18n: fixed inclusion of "include" keymaps
- Drop dracut_makefile_cflags_pass.patch and separate-journal.patch
(merged upstream)
OBS-URL: https://build.opensuse.org/request/show/129591
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=3
- Update to release 022:
+ fixed host-only kernel module bug
- Changes from release 021:
+ fixed systemd in the initramfs (requires systemd >= 187)
+ dracut-install: massive speedup with /var on the same
filesystem with COW copy.
+ dracut-install: moved to /usr/lib/dracut until it becomes a
general purpose toot
+ new options: "rd.usrmount.ro" and "rd.skipfsck"
+ less mount/umount
+ apply "ro" on the kernel command line also to /usr
+ mount according to fstab, if neither "ro" or "rw" is specified
+ skip fsck for xfs and btrfs. remount is enough
+ give emergency_shell if /usr mount failed
+ dracut now uses getopt:
- options can be position independent now!!
- we can now use --option=<arg>
+ added option "--kver=<kernel-version>", and the image location
can be omitted : dracut --kver 3.5.0-0.rc7.git1.2.fc18.x86_64
+ dracut.sh: for --include copy also the symbolic links
+ man pages: lsinitrd and mkinitrd added
+ network: We do not support renaming in the kernel namespace
anymore (as udev does that not anymore). So, if a user wants to
use ifname, he has to rename to a custom namespace. "eth[0-9]+"
is not allowed anymore.
+ resume: moved the resume process to the initqueue.
This should prevent accidently mounting the root file system.
+ improve running testsuite
- Clean up package to be openSUSE only package and follow openSUSE
standard.
OBS-URL: https://build.opensuse.org/request/show/129273
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=2