summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2013-08-06 11:01:45 +0200
committerHarald Hoyer <harald@redhat.com>2013-08-07 10:33:15 +0200
commit8652d5493d139105620ab82f34334f8acae13f13 (patch)
tree5282800b239414297d40a2dc4ae8fdeae5d92d44
parentaf11946054193dbb13eec70cb62e6b0963c5fb41 (diff)
downloaddracut-8652d5493d139105620ab82f34334f8acae13f13.tar.gz
dracut-8652d5493d139105620ab82f34334f8acae13f13.tar.bz2
dracut-8652d5493d139105620ab82f34334f8acae13f13.zip
51-dracut-rescue.install: fixed rescue image creation
-rwxr-xr-x51-dracut-rescue.install4
1 files changed, 3 insertions, 1 deletions
diff --git a/51-dracut-rescue.install b/51-dracut-rescue.install
index 39d01a76..b655bc26 100755
--- a/51-dracut-rescue.install
+++ b/51-dracut-rescue.install
@@ -6,6 +6,9 @@ export LANG=C
COMMAND="$1"
KERNEL_VERSION="$2"
+BOOT_DIR_ABS="${3%/*}/0-rescue"
+KERNEL_IMAGE="$4"
+
dropindirs_sort()
{
@@ -50,7 +53,6 @@ fi
LOADER_ENTRY="/boot/loader/entries/${MACHINE_ID}-0-rescue.conf"
BOOT_DIR="/${MACHINE_ID}/0-rescue"
-BOOT_DIR_ABS="/boot${BOOT_DIR}"
ret=0