Blame 0036-51-dracut-rescue-postinst.sh-fixed-new-kernel-pkg-ca.patch
|
Harald Hoyer |
61c497 |
From ce92ca0527fd004c23a997231a0a5e3c0ba0b89f Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
61c497 |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
61c497 |
Date: Thu, 14 Mar 2013 17:52:15 +0100
|
|
Harald Hoyer |
61c497 |
Subject: [PATCH] 51-dracut-rescue-postinst.sh: fixed new-kernel-pkg call
|
|
Harald Hoyer |
61c497 |
|
|
Harald Hoyer |
61c497 |
---
|
|
Harald Hoyer |
61c497 |
51-dracut-rescue-postinst.sh | 2 +-
|
|
Harald Hoyer |
61c497 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
Harald Hoyer |
61c497 |
|
|
Harald Hoyer |
61c497 |
diff --git a/51-dracut-rescue-postinst.sh b/51-dracut-rescue-postinst.sh
|
|
Harald Hoyer |
61c497 |
index 5c0fe2c..21208a4 100755
|
|
Harald Hoyer |
61c497 |
--- a/51-dracut-rescue-postinst.sh
|
|
Harald Hoyer |
61c497 |
+++ b/51-dracut-rescue-postinst.sh
|
|
Harald Hoyer |
61c497 |
@@ -51,7 +51,7 @@ cp "$KERNEL_IMAGE" "${KERNEL_IMAGE%/*}/vmlinuz-${MACHINE_ID}-rescue"
|
|
Harald Hoyer |
61c497 |
|
|
Harald Hoyer |
61c497 |
KERNEL_IMAGE="${KERNEL_IMAGE%/*}/vmlinuz-${MACHINE_ID}-rescue"
|
|
Harald Hoyer |
61c497 |
|
|
Harald Hoyer |
61c497 |
-new-kernel-image --install "$KERNEL_VERSION" --kernel-image "$KERNEL_IMAGE" --initrdfile "$INITRDFILE" --banner "$PRETTY_NAME Rescue"
|
|
Harald Hoyer |
61c497 |
+new-kernel-pkg --install "$KERNEL_VERSION" --kernel-image "$KERNEL_IMAGE" --initrdfile "$INITRDFILE" --banner "$PRETTY_NAME Rescue"
|
|
Harald Hoyer |
61c497 |
|
|
Harald Hoyer |
61c497 |
((ret+=$?))
|
|
Harald Hoyer |
61c497 |
|