From 88396c383cbe2937cac7dcff9f7100827738a67c Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Fri, 12 Jul 2013 10:13:49 +0200 Subject: [PATCH] base/module-setup.sh: do not include systemd-timestamp when using systemd in the initramfs --- modules.d/99base/module-setup.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules.d/99base/module-setup.sh b/modules.d/99base/module-setup.sh index f3caf2896..d35cba50a 100755 --- a/modules.d/99base/module-setup.sh +++ b/modules.d/99base/module-setup.sh @@ -60,7 +60,11 @@ install() { fi mkdir -p "${initdir}/var" - dracut_install -o $systemdutildir/systemd-timestamp + + if ! dracut_module_included "systemd"; then + dracut_install -o $systemdutildir/systemd-timestamp + fi + if [[ $realinitpath ]]; then for i in $realinitpath; do echo "rd.distroinit=$i" -- 2.47.3