From f2d181b778eb456fcba4e01c26bb400723113e40 Mon Sep 17 00:00:00 2001 From: Laszlo Gombos Date: Sat, 27 Aug 2022 22:05:28 +0000 Subject: [PATCH] chore(base): remove dead code RD_TIMESTAMP is no longer used. systemd-timestamp is not used. --- modules.d/99base/init.sh | 2 +- modules.d/99base/module-setup.sh | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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 -- 2.47.3