From: Laszlo Gombos Date: Sat, 27 Aug 2022 22:05:28 +0000 (+0000) Subject: chore(base): remove dead code X-Git-Tag: 058~107 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2d181b778eb456fcba4e01c26bb400723113e40;p=thirdparty%2Fdracut.git chore(base): remove dead code RD_TIMESTAMP is no longer used. systemd-timestamp is not used. --- diff --git a/modules.d/99base/init.sh b/modules.d/99base/init.sh index ee895e3cb..27563d0a4 100755 --- a/modules.d/99base/init.sh +++ b/modules.d/99base/init.sh @@ -302,7 +302,7 @@ debug_off # Turn off debugging for this section # unexport some vars export_n root rflags fstype netroot NEWROOT unset CMDLINE -export RD_TIMESTAMP + # Clean up the environment for i in $(export -p); do i=${i#declare -x} diff --git a/modules.d/99base/module-setup.sh b/modules.d/99base/module-setup.sh index 427cccb5a..d5fb8bad6 100755 --- a/modules.d/99base/module-setup.sh +++ b/modules.d/99base/module-setup.sh @@ -56,7 +56,6 @@ install() { 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 if [[ $realinitpath ]]; then