Debian Patches

Status for dracut/105-3

Patch Description Author Forwarded Bugs Origin Last update
makefile no
udevsettle no
debian-initramfs-post-update.patch Run bootloader hooks from /etc/initramfs/post-update.d after making the image, and add $NO_POST_UPDATE_HOOKS to disable this
.
See <https://kernel-team.pages.debian.net/kernel-handbook/ch-update-hooks.html#s-initramfs-hooks>
наб <nabijaczleweli@nabijaczleweli.xyz> not-needed debian 2022-11-17
Default-initrdname-to-initrd.img-kernel.patch Default initrdname to initrd.img-${kernel}
The initrd is named `initrd.img-${kernel}` in Debian and Ubuntu.
Benjamin Drung <benjamin.drung@canonical.com> not-needed 2024-07-02
fix-01fips-crypto-policies-use-bin-in-shebang.patch fix(01fips-crypto-policies): use /bin in shebang
lintian complaints on Debian/Ubuntu:

```
```

Even for usr-merged setup, the shells should be found in `/bin`.
Benjamin Drung <benjamin.drung@canonical.com> yes 2024-10-21
test-decrease-default-VM-memory-size-to-1-GiB.patch test: decrease default VM memory size to 1 GiB
Commit a0442b777820("test: increase VM memory size to pass test 40 on
more VMs") increased the VM memory from 1 to 2 GiB for TEST-72-NBD,
because the test ran out of memory on Arch and openSUSE.

Running the tests on armhf fails with:

```
```

Decrease the default memory back to 1 GiB. Dracut should work on systems
and VMs with not much memory.
Benjamin Drung <benjamin.drung@canonical.com> yes 2024-11-13
fix-iscsi-include-usr-lib-open-iscsi-startup-checks.sh-if.patch fix(iscsi): include /usr/lib/open-iscsi/startup-checks.sh if needed
On Debian/Ubuntu iscsid.service (from open-iscsi 2.1.10-1) fails to
start in the initrd, because its `ExecStartPre` script is not included
in the initrd:

```
$ grep ExecStartPre /usr/lib/systemd/system/iscsid.service
ExecStartPre=/usr/lib/open-iscsi/startup-checks.sh
```

The upstream open-iscsi project ships an `iscsid.service` [1] that does not
have an `ExecStartPre` entry, but Debian/Ubuntu uses their own service
file [2].

The TEST-70-ISCSI test will succeed on Ubuntu 25.04 (plucky) with
open-iscsi 2.1.10-1ubuntu2 (see https://launchpad.net/bugs/2072484).

[1] https://github.com/open-iscsi/open-iscsi/blob/master/etc/systemd/iscsid.service.template
[2] https://salsa.debian.org/linux-blocks-team/open-iscsi/-/blob/master/debian/iscsid.service
Benjamin Drung <benjamin.drung@canonical.com> yes 2024-11-20
fix-dracut-init-add-compatibility-with-Debian-Ubuntu-for-.patch fix(dracut-init): add compatibility with Debian/Ubuntu for libdirs detection

Make sure if /lib/ is included in libdirs when needed.

This change is required for multipath dracut module to work properly
on Debian/Ubuntu based distributions.
Jo Zzsi <jozzsicsataban@gmail.com> no upstream, https://github.com/dracut-ng/dracut-ng/pull/950 2024-11-13
test-introduce-wait_for_server_startup.patch test: introduce wait_for_server_startup
The code for the server startup is duplicated in multiple test cases. So
introduce a helper function to reduce code duplication.
Benjamin Drung <benjamin.drung@canonical.com> yes 2024-11-18
test-fail-test-if-server-has-terminated.patch test: fail test if server has terminated
The server might shutdown on error. When waiting for the server to
startup, check if the server QEMU process has vanished and abort the
test in that case.
Benjamin Drung <benjamin.drung@canonical.com> yes 2024-11-18
test-print-all-server-startup-logs-in-V-1-or-V-2-mode.patch test: print all server startup logs in V=1 or V=2 mode
In V=0 mode only print "Waiting for the server to startup" once and do
not print anything from the server startup logs.

In V=1 and V=2 print all lines from the server startup while waiting
for the server to be ready to ease debugging (e.g. when the kernel
crashes the last 10 lines will not be enough).
Benjamin Drung <benjamin.drung@canonical.com> yes 2024-11-19

All known versions for source package 'dracut'

Links