Blame 0014-51-dracut-rescue.install-fixed-rescue-image-creation.patch
|
Harald Hoyer |
f8c4a0 |
From 8652d5493d139105620ab82f34334f8acae13f13 Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
f8c4a0 |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
f8c4a0 |
Date: Tue, 6 Aug 2013 11:01:45 +0200
|
|
Harald Hoyer |
f8c4a0 |
Subject: [PATCH] 51-dracut-rescue.install: fixed rescue image creation
|
|
Harald Hoyer |
f8c4a0 |
|
|
Harald Hoyer |
f8c4a0 |
---
|
|
Harald Hoyer |
f8c4a0 |
51-dracut-rescue.install | 4 +++-
|
|
Harald Hoyer |
f8c4a0 |
1 file changed, 3 insertions(+), 1 deletion(-)
|
|
Harald Hoyer |
f8c4a0 |
|
|
Harald Hoyer |
f8c4a0 |
diff --git a/51-dracut-rescue.install b/51-dracut-rescue.install
|
|
Harald Hoyer |
f8c4a0 |
index 39d01a7..b655bc2 100755
|
|
Harald Hoyer |
f8c4a0 |
--- a/51-dracut-rescue.install
|
|
Harald Hoyer |
f8c4a0 |
+++ b/51-dracut-rescue.install
|
|
Harald Hoyer |
f8c4a0 |
@@ -6,6 +6,9 @@ export LANG=C
|
|
Harald Hoyer |
f8c4a0 |
|
|
Harald Hoyer |
f8c4a0 |
COMMAND="$1"
|
|
Harald Hoyer |
f8c4a0 |
KERNEL_VERSION="$2"
|
|
Harald Hoyer |
f8c4a0 |
+BOOT_DIR_ABS="${3%/*}/0-rescue"
|
|
Harald Hoyer |
f8c4a0 |
+KERNEL_IMAGE="$4"
|
|
Harald Hoyer |
f8c4a0 |
+
|
|
Harald Hoyer |
f8c4a0 |
|
|
Harald Hoyer |
f8c4a0 |
dropindirs_sort()
|
|
Harald Hoyer |
f8c4a0 |
{
|
|
Harald Hoyer |
f8c4a0 |
@@ -50,7 +53,6 @@ fi
|
|
Harald Hoyer |
f8c4a0 |
|
|
Harald Hoyer |
f8c4a0 |
LOADER_ENTRY="/boot/loader/entries/${MACHINE_ID}-0-rescue.conf"
|
|
Harald Hoyer |
f8c4a0 |
BOOT_DIR="/${MACHINE_ID}/0-rescue"
|
|
Harald Hoyer |
f8c4a0 |
-BOOT_DIR_ABS="/boot${BOOT_DIR}"
|
|
Harald Hoyer |
f8c4a0 |
|
|
Harald Hoyer |
f8c4a0 |
ret=0
|
|
Harald Hoyer |
f8c4a0 |
|