Blame 0027-base-don-t-install-switch_root-if-systemd-is-used.patch
|
Harald Hoyer |
5393c4 |
From 109283a8830f7b9c1d4bb6b4852f1bff0d36bf30 Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
5393c4 |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
5393c4 |
Date: Mon, 12 Aug 2013 12:57:13 +0200
|
|
Harald Hoyer |
5393c4 |
Subject: [PATCH] base: don't install switch_root, if systemd is used
|
|
Harald Hoyer |
5393c4 |
|
|
Harald Hoyer |
5393c4 |
---
|
|
Harald Hoyer |
5393c4 |
modules.d/99base/module-setup.sh | 3 +--
|
|
Harald Hoyer |
5393c4 |
1 file changed, 1 insertion(+), 2 deletions(-)
|
|
Harald Hoyer |
5393c4 |
|
|
Harald Hoyer |
5393c4 |
diff --git a/modules.d/99base/module-setup.sh b/modules.d/99base/module-setup.sh
|
|
Harald Hoyer |
5393c4 |
index f217ccb..52ce400 100755
|
|
Harald Hoyer |
5393c4 |
--- a/modules.d/99base/module-setup.sh
|
|
Harald Hoyer |
5393c4 |
+++ b/modules.d/99base/module-setup.sh
|
|
Harald Hoyer |
5393c4 |
@@ -41,11 +41,10 @@ install() {
|
|
Harald Hoyer |
5393c4 |
|
|
Harald Hoyer |
5393c4 |
mkdir -p ${initdir}/tmp
|
|
Harald Hoyer |
5393c4 |
|
|
Harald Hoyer |
5393c4 |
- inst_multiple switch_root || dfatal "Failed to install switch_root"
|
|
Harald Hoyer |
5393c4 |
-
|
|
Harald Hoyer |
5393c4 |
inst_simple "$moddir/dracut-lib.sh" "/lib/dracut-lib.sh"
|
|
Harald Hoyer |
5393c4 |
|
|
Harald Hoyer |
5393c4 |
if ! dracut_module_included "systemd"; then
|
|
Harald Hoyer |
5393c4 |
+ inst_multiple switch_root || dfatal "Failed to install switch_root"
|
|
Harald Hoyer |
5393c4 |
inst_hook cmdline 10 "$moddir/parse-root-opts.sh"
|
|
Harald Hoyer |
5393c4 |
fi
|
|
Harald Hoyer |
5393c4 |
|