diff options
author | Harald Hoyer <harald@redhat.com> | 2013-08-06 11:01:45 +0200 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2013-08-07 10:33:15 +0200 |
commit | 8652d5493d139105620ab82f34334f8acae13f13 (patch) | |
tree | 5282800b239414297d40a2dc4ae8fdeae5d92d44 | |
parent | af11946054193dbb13eec70cb62e6b0963c5fb41 (diff) | |
download | dracut-8652d5493d139105620ab82f34334f8acae13f13.tar.gz dracut-8652d5493d139105620ab82f34334f8acae13f13.tar.bz2 dracut-8652d5493d139105620ab82f34334f8acae13f13.zip |
51-dracut-rescue.install: fixed rescue image creation
-rwxr-xr-x | 51-dracut-rescue.install | 4 |
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 |