-diff -urNp -x '*.orig' dracut-056.org/dracut-init.sh dracut-056/dracut-init.sh
---- dracut-056.org/dracut-init.sh 2022-02-18 12:32:53.000000000 +0100
-+++ dracut-056/dracut-init.sh 2023-07-09 23:41:02.783913821 +0200
-@@ -1089,16 +1089,6 @@ fi
+diff -urpa dracut-059.orig/dracut-init.sh dracut-059/dracut-init.sh
+--- dracut-059.orig/dracut-init.sh 2022-12-24 17:49:27.000000000 +0100
++++ dracut-059/dracut-init.sh 2024-04-03 01:34:16.263871644 +0200
+@@ -1183,16 +1183,6 @@ fi
is_qemu_virtualized() {
# 0 if a virt environment was detected
# 1 if a virt environment could not be detected
for i in /sys/class/dmi/id/*_vendor; do
[[ -f $i ]] || continue
read -r vendor < "$i"
-diff -urNp -x '*.orig' dracut-056.org/dracut-logger.sh dracut-056/dracut-logger.sh
---- dracut-056.org/dracut-logger.sh 2022-02-18 12:32:53.000000000 +0100
-+++ dracut-056/dracut-logger.sh 2023-07-09 23:41:02.783913821 +0200
+diff -urpa dracut-059.orig/dracut-logger.sh dracut-059/dracut-logger.sh
+--- dracut-059.orig/dracut-logger.sh 2022-12-24 17:49:27.000000000 +0100
++++ dracut-059/dracut-logger.sh 2024-04-03 01:35:06.456549565 +0200
@@ -142,16 +142,7 @@ dlog_init() {
fi
- readonly _dlogfd=15
- systemd-cat -t 'dracut' --level-prefix=true < "$_systemdcatfile" &
- exec 15> "$_systemdcatfile"
-- elif ! [[ -S /dev/log ]] && [[ -w /dev/log ]] || ! command -v logger > /dev/null; then
-+ if ! [[ -S /dev/log ]] && [[ -w /dev/log ]] || ! command -v logger > /dev/null; then
+- elif ! ([[ -S /dev/log ]] && [[ -w /dev/log ]] && command -v logger > /dev/null); then
++ if ! ([[ -S /dev/log ]] && [[ -w /dev/log ]] && command -v logger > /dev/null); then
# We cannot log to syslog, so turn this facility off.
kmsgloglvl=$sysloglvl
sysloglvl=0
-diff -urNp -x '*.orig' dracut-056.org/dracut.sh dracut-056/dracut.sh
---- dracut-056.org/dracut.sh 2023-07-09 23:41:02.699912621 +0200
-+++ dracut-056/dracut.sh 2023-07-09 23:41:02.784913836 +0200
-@@ -1186,13 +1186,6 @@ if [[ -f $dracutbasedir/dracut-version.s
+diff -urpa dracut-059.orig/dracut.sh dracut-059/dracut.sh
+--- dracut-059.orig/dracut.sh 2024-04-03 01:29:40.532147553 +0200
++++ dracut-059/dracut.sh 2024-04-03 01:52:54.446974062 +0200
+@@ -1285,13 +1285,6 @@ if [[ -f $dracutbasedir/dracut-version.s
. "$dracutbasedir"/dracut-version.sh
fi
if [[ -f $dracutbasedir/dracut-init.sh ]]; then
# shellcheck source=./dracut-init.sh
. "$dracutbasedir"/dracut-init.sh
-@@ -1284,19 +1277,6 @@ esac
+@@ -1389,19 +1382,6 @@ esac
abs_outfile=$(readlink -f "$outfile") && outfile="$abs_outfile"
if [[ $no_kernel != yes ]] && [[ -d $srcmods ]]; then
if ! [[ -f $srcmods/modules.dep ]]; then
if [[ -n "$(find "$srcmods" -name '*.ko*')" ]]; then
-@@ -1356,10 +1336,6 @@ if [[ ! $print_cmdline ]]; then
+@@ -1467,10 +1447,6 @@ if [[ ! $print_cmdline ]]; then
esac
if ! [[ -s $uefi_stub ]]; then
dfatal "Can't find a uefi stub '$uefi_stub' to create a UEFI executable"
exit 1
fi
-@@ -1597,66 +1573,6 @@ for dev in "${!host_fs_types[@]}"; do
+@@ -1722,66 +1698,6 @@ for dev in "${!host_fs_types[@]}"; do
fi
done
[[ -d $dracutsysrootdir$udevdir ]] \
|| udevdir="$(pkg-config udev --variable=udevdir 2> /dev/null)"
if ! [[ -d $dracutsysrootdir$udevdir ]]; then
-@@ -1679,114 +1595,22 @@ fi
+@@ -1804,114 +1720,22 @@ fi
[[ -d $dracutsysrootdir$udevrulesconfdir ]] || udevrulesconfdir=${udevconfdir}/rules.d
-[[ -d $dracutsysrootdir$systemdnetworkconfdir ]] \
- || systemdnetworkconfdir=$(pkg-config systemd --variable=systemdnetworkconfdir 2> /dev/null)
-
--[[ -d $dracutsysrootdir$systemdnetworkconfdir ]] || systemdnetworkconfdir=${systemdsystemconfdir}/network
+-[[ -d $dracutsysrootdir$systemdnetworkconfdir ]] || systemdnetworkconfdir=${systemdutilconfdir}/network
-
-[[ -d $dracutsysrootdir$systemdntpunits ]] \
- || systemdntpunits=$(pkg-config systemd --variable=systemdntpunits 2> /dev/null)
-[[ -d $dracutsysrootdir$systemdntpunitsconfdir ]] \
- || systemdntpunitsconfdir=$(pkg-config systemd --variable=systemdntpunitsconfdir 2> /dev/null)
-
--[[ -d $dracutsysrootdir$systemdntpunitsconfdir ]] || systemdntpunitsconfdir=${systemdsystemconfdir}/ntp-units.d
+-[[ -d $dracutsysrootdir$systemdntpunitsconfdir ]] || systemdntpunitsconfdir=${systemdutilconfdir}/ntp-units.d
-
-[[ -d $dracutsysrootdir$systemdportable ]] \
- || systemdportable=$(pkg-config systemd --variable=systemdportable 2> /dev/null)
-[[ -d $dracutsysrootdir$systemdportableconfdir ]] \
- || systemdportableconfdir=$(pkg-config systemd --variable=systemdportableconfdir 2> /dev/null)
-
--[[ -d "$dracutsysrootdir$systemdportableconfdir" ]] || systemdportableconfdir=${systemdsystemconfdir}/portable
+-[[ -d "$dracutsysrootdir$systemdportableconfdir" ]] || systemdportableconfdir=${systemdutilconfdir}/portable
-
-[[ -d $dracutsysrootdir$systemdsystemunitdir ]] \
- || systemdsystemunitdir=$(pkg-config systemd --variable=systemdsystemunitdir 2> /dev/null)
-[[ -d $dracutsysrootdir$systemduserconfdir ]] \
- || systemduserconfdir=$(pkg-config systemd --variable=systemduserconfdir 2> /dev/null)
-
--[[ -d $dracutsysrootdir$systemduserconfdir ]] || systemduserconfdir=${systemdsystemconfdir}/user
+-[[ -d $dracutsysrootdir$systemduserconfdir ]] || systemduserconfdir=${systemdutilconfdir}/user
-
-[[ -d $dracutsysrootdir$systemdsystemconfdir ]] \
- || systemdsystemconfdir=$(pkg-config systemd --variable=systemdsystemconfdir 2> /dev/null)
-[[ -d $dracutsysrootdir$tmpfilesconfdir ]] || tmpfilesconfdir=/etc/tmpfiles.d
-
[[ -d $dracutsysrootdir$depmodd ]] \
- || sysctld=$(pkg-config libkmod --variable=depmodd 2> /dev/null)
+ || depmodd=$(pkg-config libkmod --variable=depmodd 2> /dev/null)
-@@ -1806,15 +1630,9 @@ export initdir dracutbasedir \
+@@ -1931,17 +1755,9 @@ export initdir dracutbasedir \
stdloglvl sysloglvl fileloglvl kmsgloglvl logfile \
debug host_fs_types host_devs swap_devs sshkey add_fstab \
DRACUT_VERSION udevdir udevconfdir udevrulesdir udevrulesconfdir \
- dbussessionconfdir dbussystem dbussystemconfdir dbussystemservices \
- dbussystemservicesconfdir environment environmentconfdir modulesload \
+ prefix filesystems drivers environment environmentconfdir modulesload \
- modulesloadconfdir sysctl sysctlconfdir sysusers sysusersconfdir \
-- systemdutildir systemdutilconfdir systemdcatalog systemdntpunits \
-- systemdntpunitsconfdir systemdsystemunitdir systemdsystemconfdir \
+ modulesloadconfdir sysctld sysctlconfdir sysusers sysusersconfdir \
+- systemdutildir systemdutilconfdir systemdcatalog systemdnetwork \
+- systemdnetworkconfdir systemdntpunits systemdntpunitsconfdir \
+- systemdportable systemdportableconfdir systemdsystemunitdir \
+- systemdsystemconfdir systemduser systemduserconfdir \
- hostonly_cmdline loginstall tmpfilesdir tmpfilesconfdir depmodd \
- depmodconfdir
+ hostonly_cmdline loginstall depmodd depmodconfdir
mods_to_load=""
# check all our modules to see if they should be sourced.
-@@ -2042,17 +1860,6 @@ if [[ $kernel_only != yes ]]; then
+@@ -2169,17 +1985,6 @@ if [[ $kernel_only != yes ]]; then
cat "$f" >> "${initdir}/etc/fstab"
done
-
if [[ $DRACUT_RESOLVE_LAZY ]] && [[ $DRACUT_INSTALL ]]; then
dinfo "*** Resolving executable dependencies ***"
- find "$initdir" -type f -perm /0111 -not -path '*.ko' -print0 \
-@@ -2587,25 +2394,4 @@ freeze_ok_for_fstype() {
+ # shellcheck disable=SC2086
+@@ -2712,25 +2517,4 @@ freeze_ok_for_fstype() {
esac
}
-# globally. See e.g. https://github.com/ostreedev/ostree/commit/8642ef5ab3fec3ac8eb8f193054852f83a8bc4d0
-if [[ -d $dracutsysrootdir/run/systemd/system ]]; then
- if ! sync "$outfile" 2> /dev/null; then
-- dinfo "dracut: sync operation on newly created initramfs $outfile failed"
+- dinfo "sync operation on newly created initramfs $outfile failed"
- exit 1
- fi
-
- if [[ "$(stat -c %m -- "$outfile")" != "/" ]] && freeze_ok_for_fstype "$outfile"; then
- FSFROZEN="$(dirname "$outfile")"
- if ! (fsfreeze -f "${FSFROZEN}" 2> /dev/null && fsfreeze -u "${FSFROZEN}" 2> /dev/null); then
-- dinfo "dracut: warning: could not fsfreeze $(dirname "$outfile")"
+- dwarn "Could not fsfreeze $(dirname "$outfile")"
- fi
- unset FSFROZEN
- fi
-fi
-
exit 0
-diff -urNp -x '*.orig' dracut-056.org/modules.d/01fips/fips.sh dracut-056/modules.d/01fips/fips.sh
---- dracut-056.org/modules.d/01fips/fips.sh 2022-02-18 12:32:53.000000000 +0100
-+++ dracut-056/modules.d/01fips/fips.sh 2023-07-09 23:41:02.784913836 +0200
+diff -urpa dracut-059.orig/man/dracut.cmdline.7.asc dracut-059/man/dracut.cmdline.7.asc
+--- dracut-059.orig/man/dracut.cmdline.7.asc 2022-12-24 17:49:27.000000000 +0100
++++ dracut-059/man/dracut.cmdline.7.asc 2024-04-03 01:58:16.335321542 +0200
+@@ -1253,14 +1253,6 @@ CIO_IGNORE
+ rd.cio_accept=0.0.0180,0.0.0800,0.0.0801,0.0.0802
+ --
+
+-Plymouth Boot Splash
+-~~~~~~~~~~~~~~~~~~~~
+-**plymouth.enable=0**::
+- disable the plymouth bootsplash completely.
+-
+-**rd.plymouth=0**::
+- disable the plymouth bootsplash only for the initramfs.
+-
+ Kernel keys
+ ~~~~~~~~~~~
+ **masterkey=**__<kernel master key path name>__::
+@@ -1408,8 +1400,6 @@ iscsi_in_password:: rd.iscsi.in.password
+
+ iscsi_firmware:: rd.iscsi.firmware=0
+
+-rd_NO_PLYMOUTH:: rd.plymouth=0
+-
+ rd_retry:: rd.retry
+
+ rdshell:: rd.shell
+diff -urpa dracut-059.orig/modules.d/01fips/fips.sh dracut-059/modules.d/01fips/fips.sh
+--- dracut-059.orig/modules.d/01fips/fips.sh 2022-12-24 17:49:27.000000000 +0100
++++ dracut-059/modules.d/01fips/fips.sh 2024-04-03 01:34:16.263871644 +0200
@@ -4,15 +4,9 @@ type getarg > /dev/null 2>&1 || . /lib/d
# systemd lets stdout go to journal only, but the system
mount_boot() {
boot=$(getarg boot=)
-diff -urNp -x '*.orig' dracut-056.org/modules.d/02caps/module-setup.sh dracut-056/modules.d/02caps/module-setup.sh
---- dracut-056.org/modules.d/02caps/module-setup.sh 2022-02-18 12:32:53.000000000 +0100
-+++ dracut-056/modules.d/02caps/module-setup.sh 2023-07-09 23:41:02.784913836 +0200
+diff -urpa dracut-059.orig/modules.d/02caps/module-setup.sh dracut-059/modules.d/02caps/module-setup.sh
+--- dracut-059.orig/modules.d/02caps/module-setup.sh 2022-12-24 17:49:27.000000000 +0100
++++ dracut-059/modules.d/02caps/module-setup.sh 2024-04-03 01:34:16.263871644 +0200
@@ -14,12 +14,8 @@ depends() {
# called by dracut
+ # capsh wants bash and we need bash also
+ inst /bin/bash
}
-diff -urNp -x '*.orig' dracut-056.org/modules.d/04watchdog/module-setup.sh dracut-056/modules.d/04watchdog/module-setup.sh
---- dracut-056.org/modules.d/04watchdog/module-setup.sh 2022-02-18 12:32:53.000000000 +0100
-+++ dracut-056/modules.d/04watchdog/module-setup.sh 2023-07-09 23:41:02.784913836 +0200
+diff -urpa dracut-059.orig/modules.d/04watchdog/module-setup.sh dracut-059/modules.d/04watchdog/module-setup.sh
+--- dracut-059.orig/modules.d/04watchdog/module-setup.sh 2022-12-24 17:49:27.000000000 +0100
++++ dracut-059/modules.d/04watchdog/module-setup.sh 2024-04-03 01:34:16.263871644 +0200
@@ -15,20 +15,17 @@ depends() {
install() {
# Do not add watchdog hooks if systemd module is included
inst_hook emergency 02 "$moddir/watchdog-stop.sh"
inst_multiple -o wdctl
}
-diff -urNp -x '*.orig' dracut-056.org/modules.d/10i18n/console_init.sh dracut-056/modules.d/10i18n/console_init.sh
---- dracut-056.org/modules.d/10i18n/console_init.sh 2022-02-18 12:32:53.000000000 +0100
-+++ dracut-056/modules.d/10i18n/console_init.sh 2023-07-09 23:41:02.784913836 +0200
+diff -urpa dracut-059.orig/modules.d/10i18n/console_init.sh dracut-059/modules.d/10i18n/console_init.sh
+--- dracut-059.orig/modules.d/10i18n/console_init.sh 2022-12-24 17:49:27.000000000 +0100
++++ dracut-059/modules.d/10i18n/console_init.sh 2024-04-03 01:34:16.263871644 +0200
@@ -1,11 +1,5 @@
#!/bin/sh
[ -e /etc/vconsole.conf ] && . /etc/vconsole.conf
DEFAULT_FONT=eurlatgr
-diff -urNp -x '*.orig' dracut-056.org/modules.d/10i18n/module-setup.sh dracut-056/modules.d/10i18n/module-setup.sh
---- dracut-056.org/modules.d/10i18n/module-setup.sh 2022-02-18 12:32:53.000000000 +0100
-+++ dracut-056/modules.d/10i18n/module-setup.sh 2023-07-09 23:41:02.784913836 +0200
+diff -urpa dracut-059.orig/modules.d/10i18n/module-setup.sh dracut-059/modules.d/10i18n/module-setup.sh
+--- dracut-059.orig/modules.d/10i18n/module-setup.sh 2022-12-24 17:49:27.000000000 +0100
++++ dracut-059/modules.d/10i18n/module-setup.sh 2024-04-03 01:34:16.263871644 +0200
@@ -18,13 +18,6 @@ depends() {
install() {
declare -A KEYMAPS
KBDSUBDIRS=(consolefonts consoletrans keymaps unimaps)
DEFAULT_FONT="${i18n_default_font:-eurlatgr}"
I18N_CONF="/etc/locale.conf"
-@@ -121,11 +114,9 @@ install() {
+@@ -122,11 +115,9 @@ install() {
install_base() {
inst_multiple setfont loadkeys kbd_mode stty
if [[ ${kbddir} != "/usr/share" ]]; then
inst_dir /usr/share
-@@ -239,17 +230,11 @@ install() {
+@@ -244,17 +235,11 @@ install() {
inst_simple "${kbddir}"/unimaps/"${FONT_UNIMAP}".uni
fi
return 0
}
-@@ -278,11 +263,6 @@ install() {
+@@ -283,11 +268,6 @@ install() {
if checks; then
install_base
if [[ ${hostonly} ]] && ! [[ ${i18n_install_all} == "yes" ]]; then
install_local_i18n || install_all_kbd
else
-diff -urNp -x '*.orig' dracut-056.org/modules.d/35network-legacy/module-setup.sh dracut-056/modules.d/35network-legacy/module-setup.sh
---- dracut-056.org/modules.d/35network-legacy/module-setup.sh 2022-02-18 12:32:53.000000000 +0100
-+++ dracut-056/modules.d/35network-legacy/module-setup.sh 2023-07-09 23:41:02.784913836 +0200
+diff -urpa dracut-059.orig/modules.d/35network-legacy/module-setup.sh dracut-059/modules.d/35network-legacy/module-setup.sh
+--- dracut-059.orig/modules.d/35network-legacy/module-setup.sh 2022-12-24 17:49:27.000000000 +0100
++++ dracut-059/modules.d/35network-legacy/module-setup.sh 2024-04-03 01:50:09.792750224 +0200
@@ -22,12 +22,6 @@ installkernel() {
install() {
local _arch
- #Adding default link
- if dracut_module_included "systemd"; then
-- inst_multiple -o "${systemdutildir}/network/99-default.link"
-- [[ $hostonly ]] && inst_multiple -H -o "${systemdsystemconfdir}/network/*.link"
+- inst_multiple -o "${systemdnetwork}/99-default.link"
+- [[ $hostonly ]] && inst_multiple -H -o "${systemdnetworkconfdir}/*.link"
- fi
-
inst_multiple ip dhclient sed awk grep pgrep tr expr
inst_multiple -o arping arping2
-diff -urNp -x '*.orig' dracut-056.org/modules.d/35network-legacy/net-genrules.sh dracut-056/modules.d/35network-legacy/net-genrules.sh
---- dracut-056.org/modules.d/35network-legacy/net-genrules.sh 2022-02-18 12:32:53.000000000 +0100
-+++ dracut-056/modules.d/35network-legacy/net-genrules.sh 2023-07-09 23:41:02.784913836 +0200
+diff -urpa dracut-059.orig/modules.d/35network-legacy/net-genrules.sh dracut-059/modules.d/35network-legacy/net-genrules.sh
+--- dracut-059.orig/modules.d/35network-legacy/net-genrules.sh 2022-12-24 17:49:27.000000000 +0100
++++ dracut-059/modules.d/35network-legacy/net-genrules.sh 2024-04-03 01:34:19.367913571 +0200
@@ -102,11 +102,8 @@ command -v fix_bootif > /dev/null || . /
for iface in $IFACES; do
fi
done
# Default: We don't know the interface to use, handle all
-diff -urNp -x '*.orig' dracut-056.org/modules.d/40network/module-setup.sh dracut-056/modules.d/40network/module-setup.sh
---- dracut-056.org/modules.d/40network/module-setup.sh 2022-02-18 12:32:53.000000000 +0100
-+++ dracut-056/modules.d/40network/module-setup.sh 2023-07-09 23:41:02.784913836 +0200
-@@ -9,23 +9,12 @@ check() {
+diff -urpa dracut-059.orig/modules.d/40network/module-setup.sh dracut-059/modules.d/40network/module-setup.sh
+--- dracut-059.orig/modules.d/40network/module-setup.sh 2022-12-24 17:49:27.000000000 +0100
++++ dracut-059/modules.d/40network/module-setup.sh 2024-04-03 01:44:08.395869097 +0200
+@@ -9,27 +9,7 @@ check() {
depends() {
is_qemu_virtualized && echo -n "qemu-net "
-- for module in network-wicked network-manager network-legacy systemd-networkd; do
+- for module in network-wicked connman network-manager network-legacy systemd-networkd; do
- if dracut_module_included "$module"; then
- network_handler="$module"
- break
- fi
- done
-+ if dracut_module_included "network-legacy"; then
-+ network_handler="$module"
-+ fi
-
- if [ -z "$network_handler" ]; then
+-
+- if [ -z "$network_handler" ]; then
- if [[ -e $dracutsysrootdir$systemdsystemunitdir/wicked.service ]]; then
- network_handler="network-wicked"
+- elif [[ -e $dracutsysrootdir$systemdsystemunitdir/connman.service ]]; then
+- network_handler="connman"
- elif [[ -x $dracutsysrootdir/usr/libexec/nm-initrd-generator ]] || [[ -x $dracutsysrootdir/usr/lib/nm-initrd-generator ]]; then
- network_handler="network-manager"
- elif [[ -x $dracutsysrootdir$systemdutildir/systemd-networkd ]]; then
- else
- network_handler="network-legacy"
- fi
-+ network_handler="network-legacy"
- fi
- echo "kernel-network-modules $network_handler"
+- fi
+- echo "kernel-network-modules $network_handler"
++ echo "kernel-network-modules network-legacy"
return 0
-diff -urNp -x '*.orig' dracut-056.org/modules.d/40network/net-lib.sh dracut-056/modules.d/40network/net-lib.sh
---- dracut-056.org/modules.d/40network/net-lib.sh 2022-02-18 12:32:53.000000000 +0100
-+++ dracut-056/modules.d/40network/net-lib.sh 2023-07-09 23:41:02.784913836 +0200
+ }
+
+diff -urpa dracut-059.orig/modules.d/40network/net-lib.sh dracut-059/modules.d/40network/net-lib.sh
+--- dracut-059.orig/modules.d/40network/net-lib.sh 2022-12-24 17:49:27.000000000 +0100
++++ dracut-059/modules.d/40network/net-lib.sh 2024-04-03 01:34:19.367913571 +0200
@@ -59,7 +59,7 @@ iface_name() {
configured_ifaces() {
local IFACES="" iface_id="" rv=1
for iface_id in $IFACES; do
printf "%s\n" "$(iface_name "$iface_id")"
rv=0
-diff -urNp -x '*.orig' dracut-056.org/modules.d/50plymouth/module-setup.sh dracut-056/modules.d/50plymouth/module-setup.sh
---- dracut-056.org/modules.d/50plymouth/module-setup.sh 2022-02-18 12:32:53.000000000 +0100
-+++ dracut-056/modules.d/50plymouth/module-setup.sh 2023-07-09 23:41:02.784913836 +0200
-@@ -44,8 +44,6 @@ install() {
+diff -urpa dracut-059.orig/modules.d/50plymouth/module-setup.sh dracut-059/modules.d/50plymouth/module-setup.sh
+--- dracut-059.orig/modules.d/50plymouth/module-setup.sh 2022-12-24 17:49:27.000000000 +0100
++++ dracut-059/modules.d/50plymouth/module-setup.sh 2024-04-03 01:34:19.367913571 +0200
+@@ -46,8 +46,6 @@ install() {
inst_multiple plymouthd plymouth plymouth-set-default-theme
+ inst_hook pre-trigger 10 "$moddir"/plymouth-pretrigger.sh
+ inst_hook pre-pivot 90 "$moddir"/plymouth-newroot.sh
}
-diff -urNp -x '*.orig' dracut-056.org/modules.d/90btrfs/module-setup.sh dracut-056/modules.d/90btrfs/module-setup.sh
---- dracut-056.org/modules.d/90btrfs/module-setup.sh 2022-02-18 12:32:53.000000000 +0100
-+++ dracut-056/modules.d/90btrfs/module-setup.sh 2023-07-09 23:41:02.785913850 +0200
+diff -urpa dracut-059.orig/modules.d/80test-root/module-setup.sh dracut-059/modules.d/80test-root/module-setup.sh
+--- dracut-059.orig/modules.d/80test-root/module-setup.sh 2022-12-24 17:49:27.000000000 +0100
++++ dracut-059/modules.d/80test-root/module-setup.sh 2024-04-03 01:57:03.802341909 +0200
+@@ -22,6 +22,4 @@ install() {
+ inst_binary "${dracutbasedir}/dracut-util" "/usr/bin/dracut-util"
+ ln -s dracut-util "${initdir}/usr/bin/dracut-getarg"
+ ln -s dracut-util "${initdir}/usr/bin/dracut-getargs"
+-
+- inst_multiple -o plymouth
+ }
+diff -urpa dracut-059.orig/modules.d/90btrfs/module-setup.sh dracut-059/modules.d/90btrfs/module-setup.sh
+--- dracut-059.orig/modules.d/90btrfs/module-setup.sh 2022-12-24 17:49:27.000000000 +0100
++++ dracut-059/modules.d/90btrfs/module-setup.sh 2024-04-03 01:34:19.367913571 +0200
@@ -43,9 +43,7 @@ install() {
inst_rules 64-btrfs-dm.rules
fi
inst_multiple -o btrfsck btrfs-zero-log
inst "$(command -v btrfs)" /sbin/btrfs
-diff -urNp -x '*.orig' dracut-056.org/modules.d/90crypt/crypt-lib.sh dracut-056/modules.d/90crypt/crypt-lib.sh
---- dracut-056.org/modules.d/90crypt/crypt-lib.sh 2022-02-18 12:32:53.000000000 +0100
-+++ dracut-056/modules.d/90crypt/crypt-lib.sh 2023-07-09 23:41:02.785913850 +0200
+diff -urpa dracut-059.orig/modules.d/90crypt/crypt-lib.sh dracut-059/modules.d/90crypt/crypt-lib.sh
+--- dracut-059.orig/modules.d/90crypt/crypt-lib.sh 2022-12-24 17:49:27.000000000 +0100
++++ dracut-059/modules.d/90crypt/crypt-lib.sh 2024-04-03 01:34:19.367913571 +0200
@@ -105,30 +105,22 @@ ask_for_password() {
{
} 9> /.console_lock
[ $ret -ne 0 ] && echo "Wrong password" >&2
-diff -urNp -x '*.orig' dracut-056.org/modules.d/90crypt/crypt-run-generator.sh dracut-056/modules.d/90crypt/crypt-run-generator.sh
---- dracut-056.org/modules.d/90crypt/crypt-run-generator.sh 2022-02-18 12:32:53.000000000 +0100
-+++ dracut-056/modules.d/90crypt/crypt-run-generator.sh 2023-07-09 23:41:02.785913850 +0200
+diff -urpa dracut-059.orig/modules.d/90crypt/crypt-run-generator.sh dracut-059/modules.d/90crypt/crypt-run-generator.sh
+--- dracut-059.orig/modules.d/90crypt/crypt-run-generator.sh 2022-12-24 17:49:27.000000000 +0100
++++ dracut-059/modules.d/90crypt/crypt-run-generator.sh 2024-04-03 01:34:19.367913571 +0200
@@ -11,7 +11,7 @@ crypttab_contains "$luks" "$dev" && exit
allowdiscards="-"
- systemctl start cryptsetup.target
-fi
exit 0
-diff -urNp -x '*.orig' dracut-056.org/modules.d/90crypt/module-setup.sh dracut-056/modules.d/90crypt/module-setup.sh
---- dracut-056.org/modules.d/90crypt/module-setup.sh 2023-07-09 23:41:02.704912692 +0200
-+++ dracut-056/modules.d/90crypt/module-setup.sh 2023-07-09 23:41:02.785913850 +0200
+diff -urpa dracut-059.orig/modules.d/90crypt/module-setup.sh dracut-059/modules.d/90crypt/module-setup.sh
+--- dracut-059.orig/modules.d/90crypt/module-setup.sh 2024-04-03 01:32:59.746838184 +0200
++++ dracut-059/modules.d/90crypt/module-setup.sh 2024-04-03 01:34:19.367913571 +0200
@@ -4,7 +4,7 @@
check() {
local fs
-
dracut_need_initqueue
}
-diff -urNp -x '*.orig' dracut-056.org/modules.d/90crypt/parse-crypt.sh dracut-056/modules.d/90crypt/parse-crypt.sh
---- dracut-056.org/modules.d/90crypt/parse-crypt.sh 2022-02-18 12:32:53.000000000 +0100
-+++ dracut-056/modules.d/90crypt/parse-crypt.sh 2023-07-09 23:41:02.785913850 +0200
+diff -urpa dracut-059.orig/modules.d/90crypt/parse-crypt.sh dracut-059/modules.d/90crypt/parse-crypt.sh
+--- dracut-059.orig/modules.d/90crypt/parse-crypt.sh 2022-12-24 17:49:27.000000000 +0100
++++ dracut-059/modules.d/90crypt/parse-crypt.sh 2024-04-03 01:40:00.012514381 +0200
@@ -36,12 +36,6 @@ else
LUKS=$(getargs rd.luks.uuid -d rd_LUKS_UUID)
tout=$(getarg rd.luks.key.tout)
- printf -- 'ENV{ID_FS_TYPE}=="crypto_LUKS", RUN+="%s ' "$(command -v initqueue)"
- printf -- '--unique --settled --onetime --name cryptroot-ask-%%k '
- # shellcheck disable=SC2016
-- printf -- '%s $env{DEVNAME} luks-$env{ID_FS_UUID} %s"\n' "$(command -v cryptroot-ask)" "$tout"
+- printf -- '%s $env{DEVNAME} luks-$env{ID_FS_UUID} 0 %s"\n' "$(command -v cryptroot-ask)" "$tout"
- } >> /etc/udev/rules.d/70-luks.rules.new
- else
- {
- fi
+ {
+ printf -- 'ENV{ID_FS_TYPE}=="crypto_LUKS", RUN+="%s ' "$(command -v initqueue)"
-+ printf -- '--unique --settled --onetime --name cryptroot-ask-%%k '
++ printf -- '--unique --settled --onetime --name crypt-run-generator-%%k '
+ # shellcheck disable=SC2016
-+ printf -- '%s $env{DEVNAME} luks-$env{ID_FS_UUID} %s"\n' "$(command -v cryptroot-ask)" "$tout"
++ printf -- '%s $env{DEVNAME} luks-$env{ID_FS_UUID}"\n' "$(command -v crypt-run-generator)"
+ } >> /etc/udev/rules.d/70-luks.rules.new
fi
echo 'LABEL="luks_end"' >> /etc/udev/rules.d/70-luks.rules.new
-diff -urNp -x '*.orig' dracut-056.org/modules.d/90dmsquash-live/dmsquash-live-root.sh dracut-056/modules.d/90dmsquash-live/dmsquash-live-root.sh
---- dracut-056.org/modules.d/90dmsquash-live/dmsquash-live-root.sh 2022-02-18 12:32:53.000000000 +0100
-+++ dracut-056/modules.d/90dmsquash-live/dmsquash-live-root.sh 2023-07-09 23:41:02.785913850 +0200
-@@ -40,18 +40,11 @@ if [ "$fs" = "iso9660" -o "$fs" = "udf"
+diff -urpa dracut-059.orig/modules.d/90dmsquash-live/dmsquash-live-root.sh dracut-059/modules.d/90dmsquash-live/dmsquash-live-root.sh
+--- dracut-059.orig/modules.d/90dmsquash-live/dmsquash-live-root.sh 2022-12-24 17:49:27.000000000 +0100
++++ dracut-059/modules.d/90dmsquash-live/dmsquash-live-root.sh 2024-04-03 01:47:30.930604587 +0200
+@@ -67,18 +67,11 @@ if [ "$fs" = "iso9660" -o "$fs" = "udf"
fi
getarg rd.live.check -d check || check=""
if [ -n "$check" ]; then
- type plymouth > /dev/null 2>&1 && plymouth --hide-splash
- if [ -n "$DRACUT_SYSTEMD" ]; then
-- p=$(dev_unit_name "$livedev")
+- p=$(dev_unit_name "$check_dev")
- systemctl start checkisomd5@"${p}".service
- else
-- checkisomd5 --verbose "$livedev"
+- checkisomd5 --verbose "$check_dev"
- fi
-+ checkisomd5 --verbose "$livedev"
++ checkisomd5 --verbose "$check_dev"
if [ $? -eq 1 ]; then
die "CD check failed!"
exit 1
fi
ln -s "$livedev" /run/initramfs/livedev
-@@ -142,7 +135,6 @@ do_live_overlay() {
+@@ -168,7 +161,6 @@ do_live_overlay() {
fi
if [ -n "$overlayfs" ]; then
unset -v overlayfs
fi
setup="yes"
else
-@@ -151,9 +143,6 @@ do_live_overlay() {
+@@ -177,9 +169,6 @@ do_live_overlay() {
&& [ -d /run/initramfs/overlayfs/ovlwork ]; then
ln -s /run/initramfs/overlayfs/overlayfs /run/overlayfs${readonly_overlay:+-r}
ln -s /run/initramfs/overlayfs/ovlwork /run/ovlwork${readonly_overlay:+-r}
overlayfs="required"
setup="yes"
fi
-@@ -162,9 +151,6 @@ do_live_overlay() {
+@@ -188,9 +177,6 @@ do_live_overlay() {
&& [ -d /run/initramfs/overlayfs$pathspec/../ovlwork ]; then
ln -s /run/initramfs/overlayfs$pathspec /run/overlayfs${readonly_overlay:+-r}
ln -s /run/initramfs/overlayfs$pathspec/../ovlwork /run/ovlwork${readonly_overlay:+-r}
overlayfs="required"
setup="yes"
fi
-@@ -175,7 +161,6 @@ do_live_overlay() {
+@@ -201,7 +187,6 @@ do_live_overlay() {
die "OverlayFS is required but not available."
exit 1
fi
m='OverlayFS is not available; using temporary Device-mapper overlay.'
info "$m"
unset -v overlayfs setup
-@@ -191,29 +176,12 @@ do_live_overlay() {
- m="$m"$'\n All root filesystem changes will be lost on shutdown.'
- m="$m"$'\n Press [Enter] to continue.'
+@@ -218,40 +203,13 @@ do_live_overlay() {
+ All root filesystem changes will be lost on shutdown.
+ Press [Enter] to continue.'
printf "\n\n\n\n%s\n\n\n" "${m}" > /dev/kmsg
- if [ -n "$DRACUT_SYSTEMD" ]; then
- if type plymouth > /dev/null 2>&1 && plymouth --ping; then
- if getargbool 0 rhgb || getargbool 0 splash; then
-- m='>>>'$'\n''>>>'$'\n''>>>'$'\n\n\n'"$m"
-- m="${m%n.*}"$'n.\n\n\n''<<<'$'\n''<<<'$'\n''<<<'
+- m='>>>
+->>>
+->>>
+-
+-
+-'"$m"
+- m="${m%n.*}"'n.
+-
+-
+-<<<
+-<<<
+-<<<'
- plymouth display-message --text="${m}"
- else
- plymouth ask-question --prompt="${m}" --command=true
- fi
- else
-- m=">>>${m//.[[:space:]]/.} <<<"
+- m=">>>$(printf '%s' "$m" | tr -d '\n') <<<"
- systemd-ask-password --timeout=0 "${m}"
- fi
- else
- type plymouth > /dev/null 2>&1 && plymouth --ping && plymouth --quit
-- read -s -r -p $'\n\n'"${m}" -n 1 _
+- printf '\n\n%s' "$m"
+- read -r _
- fi
-+ read -s -r -p $'\n\n'"${m}" -n 1 _
++ printf '\n\n%s' "$m"
++ read -r _
fi
if [ -n "$overlayfs" ]; then
if [ -n "$readonly_overlay" ] && ! [ -h /run/overlayfs-r ]; then
fi
else
dd if=/dev/null of=/overlay bs=1024 count=1 seek=$((overlay_size * 1024)) 2> /dev/null
-@@ -296,9 +264,6 @@ if [ -e "$SQUASHED" ]; then
+@@ -334,9 +292,6 @@ if [ -e "$SQUASHED" ]; then
fi
elif [ -d /run/initramfs/squashfs/proc ]; then
FSIMG=$SQUASHED
overlayfs="required"
else
die "Failed to find a root filesystem in $SQUASHED."
-@@ -384,16 +349,12 @@ if [ -n "$overlayfs" ]; then
- else
- ovlfs=lowerdir=/run/rootfsbase
+@@ -411,10 +366,8 @@ if [ -n "$overlayfs" ]; then
+ ln -sf /run/initramfs/live /run/rootfsbase
fi
-- if [ -z "$DRACUT_SYSTEMD" ]; then
-- printf 'mount -t overlay LiveOS_rootfs -o%s,%s %s\n' "$ROOTFLAGS" \
-- "$ovlfs",upperdir=/run/overlayfs,workdir=/run/ovlwork \
-- "$NEWROOT" > "$hookdir"/mount/01-$$-live.sh
-- fi
-+ printf 'mount -t overlay LiveOS_rootfs -o%s,%s %s\n' "$ROOTFLAGS" \
-+ "$ovlfs",upperdir=/run/overlayfs,workdir=/run/ovlwork \
-+ "$NEWROOT" > "$hookdir"/mount/01-$$-live.sh
else
- if [ -z "$DRACUT_SYSTEMD" ]; then
- [ -n "$ROOTFLAGS" ] && ROOTFLAGS="-o $ROOTFLAGS"
fi
[ -e "$SQUASHED" ] && umount -l /run/initramfs/squashfs
-diff -urNp -x '*.orig' dracut-056.org/modules.d/90dmsquash-live/module-setup.sh dracut-056/modules.d/90dmsquash-live/module-setup.sh
---- dracut-056.org/modules.d/90dmsquash-live/module-setup.sh 2022-02-18 12:32:53.000000000 +0100
-+++ dracut-056/modules.d/90dmsquash-live/module-setup.sh 2023-07-09 23:41:02.785913850 +0200
-@@ -31,10 +31,6 @@ install() {
+diff -urpa dracut-059.orig/modules.d/90dmsquash-live/module-setup.sh dracut-059/modules.d/90dmsquash-live/module-setup.sh
+--- dracut-059.orig/modules.d/90dmsquash-live/module-setup.sh 2022-12-24 17:49:27.000000000 +0100
++++ dracut-059/modules.d/90dmsquash-live/module-setup.sh 2024-04-03 01:44:29.724157165 +0200
+@@ -31,9 +31,5 @@ install() {
inst_hook pre-pivot 20 "$moddir/apply-live-updates.sh"
inst_script "$moddir/dmsquash-live-root.sh" "/sbin/dmsquash-live-root"
inst_script "$moddir/iso-scan.sh" "/sbin/iso-scan"
- inst_script "$moddir/dmsquash-generator.sh" "$systemdutildir"/system-generators/dracut-dmsquash-generator
- inst_simple "$moddir/checkisomd5@.service" "/etc/systemd/system/checkisomd5@.service"
- fi
- # should probably just be generally included
- inst_rules 60-cdrom_id.rules
dracut_need_initqueue
-diff -urNp -x '*.orig' dracut-056.org/modules.d/90kernel-modules/module-setup.sh dracut-056/modules.d/90kernel-modules/module-setup.sh
---- dracut-056.org/modules.d/90kernel-modules/module-setup.sh 2022-02-18 12:32:53.000000000 +0100
-+++ dracut-056/modules.d/90kernel-modules/module-setup.sh 2023-07-09 23:41:02.785913850 +0200
-@@ -152,8 +152,6 @@ install() {
+ }
+diff -urpa dracut-059.orig/modules.d/90kernel-modules/module-setup.sh dracut-059/modules.d/90kernel-modules/module-setup.sh
+--- dracut-059.orig/modules.d/90kernel-modules/module-setup.sh 2022-12-24 17:49:27.000000000 +0100
++++ dracut-059/modules.d/90kernel-modules/module-setup.sh 2024-04-03 01:34:19.367913571 +0200
+@@ -144,9 +144,7 @@ install() {
[[ -d /lib/modprobe.d ]] && inst_multiple -o "/lib/modprobe.d/*.conf"
[[ -d /usr/lib/modprobe.d ]] && inst_multiple -o "/usr/lib/modprobe.d/*.conf"
[[ $hostonly ]] && inst_multiple -H -o /etc/modprobe.d/*.conf /etc/modprobe.conf
- fi
+ inst_hook cmdline 01 "$moddir/parse-kernel.sh"
inst_simple "$moddir/insmodpost.sh" /sbin/insmodpost.sh
+ inst_multiple -o sysctl
}
-diff -urNp -x '*.orig' dracut-056.org/modules.d/90livenet/module-setup.sh dracut-056/modules.d/90livenet/module-setup.sh
---- dracut-056.org/modules.d/90livenet/module-setup.sh 2022-02-18 12:32:53.000000000 +0100
-+++ dracut-056/modules.d/90livenet/module-setup.sh 2023-07-09 23:41:02.785913850 +0200
+diff -urpa dracut-059.orig/modules.d/90livenet/module-setup.sh dracut-059/modules.d/90livenet/module-setup.sh
+--- dracut-059.orig/modules.d/90livenet/module-setup.sh 2022-12-24 17:49:27.000000000 +0100
++++ dracut-059/modules.d/90livenet/module-setup.sh 2024-04-03 01:34:19.367913571 +0200
@@ -17,8 +17,5 @@ install() {
inst_hook cmdline 29 "$moddir/parse-livenet.sh"
inst_hook initqueue/online 95 "$moddir/fetch-liveupdate.sh"
- fi
dracut_need_initqueue
}
-diff -urNp -x '*.orig' dracut-056.org/modules.d/90mdraid/module-setup.sh dracut-056/modules.d/90mdraid/module-setup.sh
---- dracut-056.org/modules.d/90mdraid/module-setup.sh 2022-02-18 12:32:53.000000000 +0100
-+++ dracut-056/modules.d/90mdraid/module-setup.sh 2023-07-09 23:41:02.785913850 +0200
+diff -urpa dracut-059.orig/modules.d/90mdraid/module-setup.sh dracut-059/modules.d/90mdraid/module-setup.sh
+--- dracut-059.orig/modules.d/90mdraid/module-setup.sh 2022-12-24 17:49:27.000000000 +0100
++++ dracut-059/modules.d/90mdraid/module-setup.sh 2024-04-03 01:34:19.367913571 +0200
@@ -121,20 +121,6 @@ install() {
inst_hook shutdown 30 "$moddir/md-shutdown.sh"
inst_script "$moddir/mdraid-cleanup.sh" /sbin/mdraid-cleanup
inst_hook pre-shutdown 30 "$moddir/mdmon-pre-shutdown.sh"
dracut_need_initqueue
}
-diff -urNp -x '*.orig' dracut-056.org/modules.d/90multipath/module-setup.sh dracut-056/modules.d/90multipath/module-setup.sh
---- dracut-056.org/modules.d/90multipath/module-setup.sh 2022-02-18 12:32:53.000000000 +0100
-+++ dracut-056/modules.d/90multipath/module-setup.sh 2023-07-09 23:41:02.786913864 +0200
-@@ -132,17 +132,8 @@ install() {
+diff -urpa dracut-059.orig/modules.d/90multipath/module-setup.sh dracut-059/modules.d/90multipath/module-setup.sh
+--- dracut-059.orig/modules.d/90multipath/module-setup.sh 2022-12-24 17:49:27.000000000 +0100
++++ dracut-059/modules.d/90multipath/module-setup.sh 2024-04-03 01:39:20.659982879 +0200
+@@ -132,18 +132,8 @@ install() {
[[ $_conf ]] && echo "$_conf" >> "${initdir}/etc/cmdline.d/90multipath.conf"
fi
- inst_simple "${moddir}/multipathd-configure.service" "${systemdsystemunitdir}/multipathd-configure.service"
- $SYSTEMCTL -q --root "$initdir" enable multipathd-configure.service
- fi
+- inst_simple "${systemdsystemunitdir}/multipathd.socket"
- inst_simple "${moddir}/multipathd.service" "${systemdsystemunitdir}/multipathd.service"
- $SYSTEMCTL -q --root "$initdir" enable multipathd.service
- else
inst_hook cleanup 80 "$moddir/multipathd-needshutdown.sh"
inst_hook shutdown 20 "$moddir/multipath-shutdown.sh"
-diff -urNp -x '*.orig' dracut-056.org/modules.d/91zipl/install_zipl_cmdline.sh dracut-056/modules.d/91zipl/install_zipl_cmdline.sh
---- dracut-056.org/modules.d/91zipl/install_zipl_cmdline.sh 2022-02-18 12:32:53.000000000 +0100
-+++ dracut-056/modules.d/91zipl/install_zipl_cmdline.sh 2023-07-09 23:41:02.786913864 +0200
+diff -urpa dracut-059.orig/modules.d/91zipl/install_zipl_cmdline.sh dracut-059/modules.d/91zipl/install_zipl_cmdline.sh
+--- dracut-059.orig/modules.d/91zipl/install_zipl_cmdline.sh 2022-12-24 17:49:27.000000000 +0100
++++ dracut-059/modules.d/91zipl/install_zipl_cmdline.sh 2024-04-03 01:34:19.367913571 +0200
@@ -30,10 +30,6 @@ fi
umount ${MNT}
: > /tmp/install.zipl.cmdline-done
exit 0
-diff -urNp -x '*.orig' dracut-056.org/modules.d/95debug/module-setup.sh dracut-056/modules.d/95debug/module-setup.sh
---- dracut-056.org/modules.d/95debug/module-setup.sh 2022-02-18 12:32:53.000000000 +0100
-+++ dracut-056/modules.d/95debug/module-setup.sh 2023-07-09 23:41:02.786913864 +0200
+diff -urpa dracut-059.orig/modules.d/95debug/module-setup.sh dracut-059/modules.d/95debug/module-setup.sh
+--- dracut-059.orig/modules.d/95debug/module-setup.sh 2022-12-24 17:49:27.000000000 +0100
++++ dracut-059/modules.d/95debug/module-setup.sh 2024-04-03 01:40:31.656941777 +0200
@@ -15,7 +15,7 @@ depends() {
install() {
inst_multiple -o ls ps grep more cat rm strace free showmount df du lsblk \
- ping netstat rpcinfo vi scp ping6 ssh find \
+ ping netstat rpcinfo vi scp ping6 ssh find chroot \
- tcpdump cp dd less hostname mkdir systemd-analyze \
+ tcpdump cp dd less hostname mkdir \
fsck fsck.ext2 fsck.ext4 fsck.ext3 fsck.ext4dev fsck.f2fs fsck.vfat e2fsck
grep '^tcpdump:' "$dracutsysrootdir"/etc/passwd 2> /dev/null >> "$initdir/etc/passwd"
-diff -urNp -x '*.orig' dracut-056.org/modules.d/95fcoe/cleanup-fcoe.sh dracut-056/modules.d/95fcoe/cleanup-fcoe.sh
---- dracut-056.org/modules.d/95fcoe/cleanup-fcoe.sh 2022-02-18 12:32:53.000000000 +0100
-+++ dracut-056/modules.d/95fcoe/cleanup-fcoe.sh 2023-07-09 23:41:02.786913864 +0200
+diff -urpa dracut-059.orig/modules.d/95fcoe/cleanup-fcoe.sh dracut-059/modules.d/95fcoe/cleanup-fcoe.sh
+--- dracut-059.orig/modules.d/95fcoe/cleanup-fcoe.sh 2022-12-24 17:49:27.000000000 +0100
++++ dracut-059/modules.d/95fcoe/cleanup-fcoe.sh 2024-04-03 01:34:19.399914002 +0200
@@ -6,10 +6,8 @@ if [ -e /var/run/lldpad.pid ]; then
lldpad -k
# with systemd version 230, this is not necessary anymore
+ cp /dev/shm/lldpad.state /run/initramfs/state/dev/shm/ > /dev/null 2>&1
+ echo "files /dev/shm/lldpad.state" >> /run/initramfs/rwtab
fi
-diff -urNp -x '*.orig' dracut-056.org/modules.d/95fstab-sys/mount-sys.sh dracut-056/modules.d/95fstab-sys/mount-sys.sh
---- dracut-056.org/modules.d/95fstab-sys/mount-sys.sh 2022-02-18 12:32:53.000000000 +0100
-+++ dracut-056/modules.d/95fstab-sys/mount-sys.sh 2023-07-09 23:41:02.786913864 +0200
+diff -urpa dracut-059.orig/modules.d/95fstab-sys/mount-sys.sh dracut-059/modules.d/95fstab-sys/mount-sys.sh
+--- dracut-059.orig/modules.d/95fstab-sys/mount-sys.sh 2022-12-24 17:49:27.000000000 +0100
++++ dracut-059/modules.d/95fstab-sys/mount-sys.sh 2024-04-03 01:34:19.399914002 +0200
@@ -27,9 +27,7 @@ fstab_mount() {
# systemd will mount and run fsck from /etc/fstab and we don't want to
# prefer $NEWROOT/etc/fstab.sys over local /etc/fstab.sys
if [ -f "$NEWROOT"/etc/fstab.sys ]; then
-diff -urNp -x '*.orig' dracut-056.org/modules.d/95iscsi/cleanup-iscsi.sh dracut-056/modules.d/95iscsi/cleanup-iscsi.sh
---- dracut-056.org/modules.d/95iscsi/cleanup-iscsi.sh 2022-02-18 12:32:53.000000000 +0100
-+++ dracut-056/modules.d/95iscsi/cleanup-iscsi.sh 2023-07-09 23:41:02.786913864 +0200
+diff -urpa dracut-059.orig/modules.d/95iscsi/cleanup-iscsi.sh dracut-059/modules.d/95iscsi/cleanup-iscsi.sh
+--- dracut-059.orig/modules.d/95iscsi/cleanup-iscsi.sh 2022-12-24 17:49:27.000000000 +0100
++++ dracut-059/modules.d/95iscsi/cleanup-iscsi.sh 2024-04-03 01:34:19.399914002 +0200
@@ -1,5 +1,5 @@
#!/bin/sh
+if { [ -e /sys/module/bnx2i ] || [ -e /sys/module/qedi ]; }; then
killproc iscsiuio
fi
-diff -urNp -x '*.orig' dracut-056.org/modules.d/95iscsi/iscsiroot.sh dracut-056/modules.d/95iscsi/iscsiroot.sh
---- dracut-056.org/modules.d/95iscsi/iscsiroot.sh 2022-02-18 12:32:53.000000000 +0100
-+++ dracut-056/modules.d/95iscsi/iscsiroot.sh 2023-07-09 23:41:02.786913864 +0200
+diff -urpa dracut-059.orig/modules.d/95iscsi/iscsiroot.sh dracut-059/modules.d/95iscsi/iscsiroot.sh
+--- dracut-059.orig/modules.d/95iscsi/iscsiroot.sh 2022-12-24 17:49:27.000000000 +0100
++++ dracut-059/modules.d/95iscsi/iscsiroot.sh 2024-04-03 01:34:19.399914002 +0200
@@ -37,8 +37,7 @@ iroot=${iroot#:}
modprobe crc32c 2> /dev/null
&& ! [ -e /tmp/iscsiuio-started ]; then
iscsiuio
: > /tmp/iscsiuio-started
-@@ -159,11 +158,6 @@ handle_netroot() {
+@@ -150,11 +149,6 @@ handle_netroot() {
mkdir -p /etc/iscsi
ln -fs /run/initiatorname.iscsi /etc/iscsi/initiatorname.iscsi
: > /tmp/iscsi_set_initiator
fi
if [ -z "$iscsi_initiator" ]; then
-@@ -180,11 +174,6 @@ handle_netroot() {
+@@ -171,11 +165,6 @@ handle_netroot() {
mkdir -p /etc/iscsi
ln -fs /run/initiatorname.iscsi /etc/iscsi/initiatorname.iscsi
: > /tmp/iscsi_set_initiator
fi
if [ -z "$iscsi_target_port" ]; then
-@@ -204,17 +193,10 @@ handle_netroot() {
+@@ -195,17 +184,10 @@ handle_netroot() {
if ! [ -e /etc/iscsi/initiatorname.iscsi ]; then
mkdir -p /etc/iscsi
ln -fs /run/initiatorname.iscsi /etc/iscsi/initiatorname.iscsi
# FIXME $iscsi_protocol??
-@@ -226,8 +208,7 @@ handle_netroot() {
+@@ -217,8 +199,7 @@ handle_netroot() {
wait_for_dev -n /dev/root
# install mount script
fi
if strglobin "$iscsi_target_ip" '*:*:*' && ! strglobin "$iscsi_target_ip" '['; then
-diff -urNp -x '*.orig' dracut-056.org/modules.d/95iscsi/module-setup.sh dracut-056/modules.d/95iscsi/module-setup.sh
---- dracut-056.org/modules.d/95iscsi/module-setup.sh 2022-02-18 12:32:53.000000000 +0100
-+++ dracut-056/modules.d/95iscsi/module-setup.sh 2023-07-09 23:41:02.786913864 +0200
+diff -urpa dracut-059.orig/modules.d/95iscsi/module-setup.sh dracut-059/modules.d/95iscsi/module-setup.sh
+--- dracut-059.orig/modules.d/95iscsi/module-setup.sh 2022-12-24 17:49:27.000000000 +0100
++++ dracut-059/modules.d/95iscsi/module-setup.sh 2024-04-03 01:34:19.399914002 +0200
@@ -190,14 +190,6 @@ install() {
inst_multiple umount iscsi-iname iscsiadm iscsid
inst_binary sort
inst_dir /var/lib/iscsi
mkdir -p "${initdir}/var/lib/iscsi/nodes"
# Fedora 34 iscsid wants a non-empty /var/lib/iscsi/nodes directory
-diff -urNp -x '*.orig' dracut-056.org/modules.d/95iscsi/parse-iscsiroot.sh dracut-056/modules.d/95iscsi/parse-iscsiroot.sh
---- dracut-056.org/modules.d/95iscsi/parse-iscsiroot.sh 2022-02-18 12:32:53.000000000 +0100
-+++ dracut-056/modules.d/95iscsi/parse-iscsiroot.sh 2023-07-09 23:41:02.786913864 +0200
+diff -urpa dracut-059.orig/modules.d/95iscsi/parse-iscsiroot.sh dracut-059/modules.d/95iscsi/parse-iscsiroot.sh
+--- dracut-059.orig/modules.d/95iscsi/parse-iscsiroot.sh 2022-12-24 17:49:27.000000000 +0100
++++ dracut-059/modules.d/95iscsi/parse-iscsiroot.sh 2024-04-03 01:34:19.399914002 +0200
@@ -41,7 +41,6 @@ if [ "${root%%:*}" = "iscsi" ]; then
netroot=$root
# if root is not specified try to mount the whole iSCSI LUN
done
# Done, all good!
-diff -urNp -x '*.orig' dracut-056.org/modules.d/95nbd/module-setup.sh dracut-056/modules.d/95nbd/module-setup.sh
---- dracut-056.org/modules.d/95nbd/module-setup.sh 2022-02-18 12:32:53.000000000 +0100
-+++ dracut-056/modules.d/95nbd/module-setup.sh 2023-07-09 23:41:02.786913864 +0200
+diff -urpa dracut-059.orig/modules.d/95nbd/module-setup.sh dracut-059/modules.d/95nbd/module-setup.sh
+--- dracut-059.orig/modules.d/95nbd/module-setup.sh 2022-12-24 17:49:27.000000000 +0100
++++ dracut-059/modules.d/95nbd/module-setup.sh 2024-04-03 01:34:19.399914002 +0200
@@ -32,8 +32,5 @@ install() {
inst nbd-client
inst_hook cmdline 90 "$moddir/parse-nbdroot.sh"
- fi
dracut_need_initqueue
}
-diff -urNp -x '*.orig' dracut-056.org/modules.d/95nbd/nbdroot.sh dracut-056/modules.d/95nbd/nbdroot.sh
---- dracut-056.org/modules.d/95nbd/nbdroot.sh 2022-02-18 12:32:53.000000000 +0100
-+++ dracut-056/modules.d/95nbd/nbdroot.sh 2023-07-09 23:41:02.786913864 +0200
+diff -urpa dracut-059.orig/modules.d/95nbd/nbdroot.sh dracut-059/modules.d/95nbd/nbdroot.sh
+--- dracut-059.orig/modules.d/95nbd/nbdroot.sh 2022-12-24 17:49:27.000000000 +0100
++++ dracut-059/modules.d/95nbd/nbdroot.sh 2024-04-03 01:34:19.399914002 +0200
@@ -101,27 +101,13 @@ if [ "$root" = "block:/dev/root" -o "$ro
udevadm control --reload
wait_for_dev -n /dev/root
fi
if ! [ "$nbdport" -gt 0 ] 2> /dev/null; then
-diff -urNp -x '*.orig' dracut-056.org/modules.d/95resume/module-setup.sh dracut-056/modules.d/95resume/module-setup.sh
---- dracut-056.org/modules.d/95resume/module-setup.sh 2023-07-09 23:41:02.697912592 +0200
-+++ dracut-056/modules.d/95resume/module-setup.sh 2023-07-09 23:41:02.787913878 +0200
+diff -urpa dracut-059.orig/modules.d/95resume/module-setup.sh dracut-059/modules.d/95resume/module-setup.sh
+--- dracut-059.orig/modules.d/95resume/module-setup.sh 2024-04-03 01:28:29.775191905 +0200
++++ dracut-059/modules.d/95resume/module-setup.sh 2024-04-03 01:34:19.399914002 +0200
@@ -40,15 +40,6 @@ install() {
[[ $_resumeconf ]] && printf "%s\n" "$_resumeconf" >> "${initdir}/etc/cmdline.d/95resume.conf"
fi
inst_script "$moddir/resume.sh" /lib/dracut/resume.sh
}
-diff -urNp -x '*.orig' dracut-056.org/modules.d/95rootfs-block/module-setup.sh dracut-056/modules.d/95rootfs-block/module-setup.sh
---- dracut-056.org/modules.d/95rootfs-block/module-setup.sh 2022-02-18 12:32:53.000000000 +0100
-+++ dracut-056/modules.d/95rootfs-block/module-setup.sh 2023-07-09 23:41:02.787913878 +0200
-@@ -77,11 +77,9 @@ install() {
+diff -urpa dracut-059.orig/modules.d/95rootfs-block/module-setup.sh dracut-059/modules.d/95rootfs-block/module-setup.sh
+--- dracut-059.orig/modules.d/95rootfs-block/module-setup.sh 2022-12-24 17:49:27.000000000 +0100
++++ dracut-059/modules.d/95rootfs-block/module-setup.sh 2024-04-03 01:34:19.399914002 +0200
+@@ -82,11 +82,9 @@ install() {
inst_multiple umount
inst_multiple tr
inst_hook initqueue/timeout 99 "$moddir/rootfallback.sh"
}
-diff -urNp -x '*.orig' dracut-056.org/modules.d/95udev-rules/module-setup.sh dracut-056/modules.d/95udev-rules/module-setup.sh
---- dracut-056.org/modules.d/95udev-rules/module-setup.sh 2022-02-18 12:32:53.000000000 +0100
-+++ dracut-056/modules.d/95udev-rules/module-setup.sh 2023-07-09 23:41:02.787913878 +0200
+diff -urpa dracut-059.orig/modules.d/95udev-rules/module-setup.sh dracut-059/modules.d/95udev-rules/module-setup.sh
+--- dracut-059.orig/modules.d/95udev-rules/module-setup.sh 2022-12-24 17:49:27.000000000 +0100
++++ dracut-059/modules.d/95udev-rules/module-setup.sh 2024-04-03 01:34:19.399914002 +0200
@@ -11,18 +11,13 @@ install() {
inst_dir /etc/udev
inst_multiple -o /etc/udev/udev.conf
exit 1
fi
-diff -urNp -x '*.orig' dracut-056.org/modules.d/98usrmount/module-setup.sh dracut-056/modules.d/98usrmount/module-setup.sh
---- dracut-056.org/modules.d/98usrmount/module-setup.sh 2022-02-18 12:32:53.000000000 +0100
-+++ dracut-056/modules.d/98usrmount/module-setup.sh 2023-07-09 23:41:02.787913878 +0200
+diff -urpa dracut-059.orig/modules.d/98usrmount/module-setup.sh dracut-059/modules.d/98usrmount/module-setup.sh
+--- dracut-059.orig/modules.d/98usrmount/module-setup.sh 2022-12-24 17:49:27.000000000 +0100
++++ dracut-059/modules.d/98usrmount/module-setup.sh 2024-04-03 01:34:19.399914002 +0200
@@ -13,8 +13,6 @@ depends() {
# called by dracut
+ inst_hook pre-pivot 50 "$moddir/mount-usr.sh"
:
}
-diff -urNp -x '*.orig' dracut-056.org/modules.d/99base/dracut-dev-lib.sh dracut-056/modules.d/99base/dracut-dev-lib.sh
---- dracut-056.org/modules.d/99base/dracut-dev-lib.sh 2022-02-18 12:32:53.000000000 +0100
-+++ dracut-056/modules.d/99base/dracut-dev-lib.sh 2023-07-09 23:41:02.787913878 +0200
+diff -urpa dracut-059.orig/modules.d/99base/dracut-dev-lib.sh dracut-059/modules.d/99base/dracut-dev-lib.sh
+--- dracut-059.orig/modules.d/99base/dracut-dev-lib.sh 2022-12-24 17:49:27.000000000 +0100
++++ dracut-059/modules.d/99base/dracut-dev-lib.sh 2024-04-03 01:34:19.399914002 +0200
@@ -25,11 +25,6 @@ str_replace() {
dev_unit_name() {
local dev="$1"
- /sbin/initqueue --onetime --unique --name daemon-reload systemctl daemon-reload
- fi
}
-diff -urNp -x '*.orig' dracut-056.org/modules.d/99base/dracut-lib.sh dracut-056/modules.d/99base/dracut-lib.sh
---- dracut-056.org/modules.d/99base/dracut-lib.sh 2023-07-09 23:41:02.702912664 +0200
-+++ dracut-056/modules.d/99base/dracut-lib.sh 2023-07-09 23:41:02.787913878 +0200
+diff -urpa dracut-059.orig/modules.d/99base/dracut-lib.sh dracut-059/modules.d/99base/dracut-lib.sh
+--- dracut-059.orig/modules.d/99base/dracut-lib.sh 2024-04-03 01:31:54.785960810 +0200
++++ dracut-059/modules.d/99base/dracut-lib.sh 2024-04-03 01:49:20.168079971 +0200
@@ -2,7 +2,6 @@
type wait_for_dev > /dev/null 2>&1 || . /lib/dracut-dev-lib.sh
vwarn() {
while read -r line || [ -n "$line" ]; do
-@@ -464,10 +449,6 @@ die() {
+@@ -444,10 +429,6 @@ die() {
source_hook "shutdown-emergency"
fi
exit 1
}
-@@ -924,43 +905,34 @@ fi
+@@ -904,43 +885,35 @@ fi
_emergency_shell() {
local _name="$1"
- export PS1="$_name:\${PWD}# "
- [ -e /.profile ] || : > /.profile
-
-+ echo 'To get more debug information in the report,'
-+ echo 'reboot with "rd.debug" added to the kernel command line.'
-+ fi
-+ echo
-+ echo 'Dropping to debug shell.'
-+ echo
-+ export PS1="$_name:\${PWD}# "
-+ [ -e /.profile ] || : > /.profile
- _ctty="$(RD_DEBUG='' getarg rd.ctty=)" && _ctty="/dev/${_ctty##*/}"
+- _ctty="$(RD_DEBUG='' getarg rd.ctty=)" && _ctty="/dev/${_ctty##*/}"
- if [ -z "$_ctty" ]; then
- _ctty=console
- while [ -f /sys/class/tty/$_ctty/active ]; do
-- _ctty=$(cat /sys/class/tty/$_ctty/active)
+- read -r _ctty < /sys/class/tty/$_ctty/active
- _ctty=${_ctty##* } # last one in the list
- done
- _ctty=/dev/$_ctty
- [ -c "$_ctty" ] || _ctty=/dev/tty1
- case "$(/usr/bin/setsid --help 2>&1)" in *--ctty*) CTTY="--ctty" ;; esac
- setsid $CTTY /bin/sh -i -l 0<> $_ctty 1<> $_ctty 2<> $_ctty
++ echo 'To get more debug information in the report,'
++ echo 'reboot with "rd.debug" added to the kernel command line.'
++ fi
++ echo
++ echo 'Dropping to debug shell.'
++ echo
++ export PS1="$_name:\${PWD}# "
++ [ -e /.profile ] || : > /.profile
++
++ _ctty="$(RD_DEBUG='' getarg rd.ctty=)" && _ctty="/dev/${_ctty##*/}"
+ if [ -z "$_ctty" ]; then
+ _ctty=console
+ while [ -f /sys/class/tty/$_ctty/active ]; do
-+ _ctty=$(cat /sys/class/tty/$_ctty/active)
++ read -r _ctty < /sys/class/tty/$_ctty/active
+ _ctty=${_ctty##* } # last one in the list
+ done
+ _ctty=/dev/$_ctty
}
emergency_shell() {
-@@ -976,11 +948,6 @@ emergency_shell() {
- _rdshell_name=$2
- action="Shutdown"
- hook="shutdown-emergency"
-- if type plymouth > /dev/null 2>&1; then
-- plymouth --hide-splash
-- elif [ -x /oldroot/bin/plymouth ]; then
-- /oldroot/bin/plymouth --hide-splash
-- fi
- shift 2
- fi
-
-diff -urNp -x '*.orig' dracut-056.org/modules.d/99base/init.sh dracut-056/modules.d/99base/init.sh
---- dracut-056.org/modules.d/99base/init.sh 2023-07-09 23:41:02.702912664 +0200
-+++ dracut-056/modules.d/99base/init.sh 2023-07-09 23:41:02.787913878 +0200
+diff -urpa dracut-059.orig/modules.d/99base/init.sh dracut-059/modules.d/99base/init.sh
+--- dracut-059.orig/modules.d/99base/init.sh 2024-04-03 01:31:54.785960810 +0200
++++ dracut-059/modules.d/99base/init.sh 2024-04-03 01:34:19.399914002 +0200
@@ -141,7 +141,7 @@ getargbool 0 rd.udev.info -d -y rdudevin
getargbool 0 rd.udev.debug -d -y rdudevdebug && UDEV_LOG=debug
UDEV_QUEUE_EMPTY="udevadm settle --timeout=0"
-diff -urNp -x '*.orig' dracut-056.org/modules.d/99base/module-setup.sh dracut-056/modules.d/99base/module-setup.sh
---- dracut-056.org/modules.d/99base/module-setup.sh 2023-07-09 23:41:02.703912678 +0200
-+++ dracut-056/modules.d/99base/module-setup.sh 2023-07-09 23:41:02.787913878 +0200
-@@ -53,11 +53,8 @@ install() {
+diff -urpa dracut-059.orig/modules.d/99base/module-setup.sh dracut-059/modules.d/99base/module-setup.sh
+--- dracut-059.orig/modules.d/99base/module-setup.sh 2024-04-03 01:31:54.785960810 +0200
++++ dracut-059/modules.d/99base/module-setup.sh 2024-04-03 01:48:14.915198647 +0200
+@@ -53,10 +53,8 @@ install() {
inst_simple "$moddir/dracut-dev-lib.sh" "/lib/dracut-dev-lib.sh"
mkdir -p "${initdir}"/var
- if ! dracut_module_included "systemd"; then
- inst_multiple switch_root || dfatal "Failed to install switch_root"
- inst_hook cmdline 10 "$moddir/parse-root-opts.sh"
-- inst_multiple -o "$systemdutildir"/systemd-timestamp
- fi
+ inst_multiple switch_root || dfatal "Failed to install switch_root"
+ inst_hook cmdline 10 "$moddir/parse-root-opts.sh"
if [[ $realinitpath ]]; then
for i in $realinitpath; do
-@@ -109,11 +106,8 @@ install() {
+@@ -108,11 +106,8 @@ install() {
if [[ -n ${host_devs[*]} ]]; then
dracut_need_initqueue
fi
export PREFIX="$initdir"
export hookdir=/lib/dracut/hooks
+diff -urpa dracut-059.orig/modules.d/99shutdown/shutdown.sh dracut-059/modules.d/99shutdown/shutdown.sh
+--- dracut-059.orig/modules.d/99shutdown/shutdown.sh 2022-12-24 17:49:27.000000000 +0100
++++ dracut-059/modules.d/99shutdown/shutdown.sh 2024-04-03 01:56:30.249888736 +0200
+@@ -149,12 +149,6 @@ while [ $_cnt -le 40 ]; do
+ done
+ [ $_cnt -ge 40 ] && _check_shutdown final
+
+-if type plymouth > /dev/null 2>&1; then
+- plymouth --hide-splash
+-elif [ -x /oldroot/bin/plymouth ]; then
+- /oldroot/bin/plymouth --hide-splash
+-fi
+-
+ getarg 'rd.break=shutdown' && emergency_shell --shutdown shutdown "Break before shutdown"
+
+ case "$ACTION" in