Blame 0025-99base-init-move-switch_root-breakpoint-to-a-later-p.patch
|
Harald Hoyer |
55891e |
From 1e2f60993fa3e4638ab03db1701e0b0d3f100ca0 Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
55891e |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
55891e |
Date: Tue, 30 Aug 2011 16:23:17 +0200
|
|
Harald Hoyer |
55891e |
Subject: [PATCH] 99base/init: move switch_root breakpoint to a later point in
|
|
Harald Hoyer |
55891e |
the script
|
|
Harald Hoyer |
55891e |
|
|
Harald Hoyer |
55891e |
---
|
|
Harald Hoyer |
55891e |
modules.d/99base/init | 2 +-
|
|
Harald Hoyer |
55891e |
1 files changed, 1 insertions(+), 1 deletions(-)
|
|
Harald Hoyer |
55891e |
|
|
Harald Hoyer |
55891e |
diff --git a/modules.d/99base/init b/modules.d/99base/init
|
|
Harald Hoyer |
55891e |
index 21b9468..b666d3e 100755
|
|
Harald Hoyer |
55891e |
--- a/modules.d/99base/init
|
|
Harald Hoyer |
55891e |
+++ b/modules.d/99base/init
|
|
Harald Hoyer |
55891e |
@@ -359,7 +359,6 @@ done
|
|
Harald Hoyer |
55891e |
emergency_shell
|
|
Harald Hoyer |
55891e |
}
|
|
Harald Hoyer |
55891e |
|
|
Harald Hoyer |
55891e |
-getarg rd.break rdbreak && emergency_shell -n switch_root "Break before switch_root"
|
|
Harald Hoyer |
55891e |
|
|
Harald Hoyer |
55891e |
if [ $UDEVVERSION -lt 168 ]; then
|
|
Harald Hoyer |
55891e |
# stop udev queue before killing it
|
|
Harald Hoyer |
55891e |
@@ -443,6 +442,7 @@ fi
|
|
Harald Hoyer |
55891e |
|
|
Harald Hoyer |
55891e |
wait_for_loginit
|
|
Harald Hoyer |
55891e |
|
|
Harald Hoyer |
55891e |
+getarg rd.break rdbreak && emergency_shell -n switch_root "Break before switch_root"
|
|
Harald Hoyer |
55891e |
info "Switching root"
|
|
Harald Hoyer |
55891e |
|
|
Harald Hoyer |
55891e |
unset PS4
|