]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
chore(base): remove dead code
authorLaszlo Gombos <laszlo.gombos@gmail.com>
Sat, 27 Aug 2022 22:05:28 +0000 (22:05 +0000)
committerJóhann B. Guðmundsson <johannbg@gmail.com>
Mon, 24 Oct 2022 14:39:11 +0000 (14:39 +0000)
RD_TIMESTAMP is no longer used.
systemd-timestamp is not used.

modules.d/99base/init.sh
modules.d/99base/module-setup.sh

index ee895e3cbe632433a25d1b6cc74b51f1a35277c7..27563d0a40b0e6267e19242dbfa9426f2abd0e25 100755 (executable)
@@ -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}
index 427cccb5a8d4e8c40771ad0c6fc0ed73c47cb601..d5fb8bad6223b15b7328a8ca02a9b1a08c356e9f 100755 (executable)
@@ -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