summaryrefslogtreecommitdiffstats
path: root/0036-51-dracut-rescue-postinst.sh-fixed-new-kernel-pkg-ca.patch
blob: dd7c2ef31a6dcdb7ec00fadbf249eba24c9fb74c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From ce92ca0527fd004c23a997231a0a5e3c0ba0b89f Mon Sep 17 00:00:00 2001
From: Harald Hoyer <harald@redhat.com>
Date: Thu, 14 Mar 2013 17:52:15 +0100
Subject: [PATCH] 51-dracut-rescue-postinst.sh: fixed new-kernel-pkg call

---
 51-dracut-rescue-postinst.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/51-dracut-rescue-postinst.sh b/51-dracut-rescue-postinst.sh
index 5c0fe2c..21208a4 100755
--- a/51-dracut-rescue-postinst.sh
+++ b/51-dracut-rescue-postinst.sh
@@ -51,7 +51,7 @@ cp "$KERNEL_IMAGE" "${KERNEL_IMAGE%/*}/vmlinuz-${MACHINE_ID}-rescue"
 
 KERNEL_IMAGE="${KERNEL_IMAGE%/*}/vmlinuz-${MACHINE_ID}-rescue"
 
-new-kernel-image --install "$KERNEL_VERSION" --kernel-image "$KERNEL_IMAGE" --initrdfile "$INITRDFILE" --banner "$PRETTY_NAME Rescue"
+new-kernel-pkg --install "$KERNEL_VERSION" --kernel-image "$KERNEL_IMAGE" --initrdfile "$INITRDFILE" --banner "$PRETTY_NAME Rescue"
 
 ((ret+=$?))