From: Harald Hoyer Date: Thu, 14 Mar 2013 16:52:15 +0000 (+0100) Subject: 51-dracut-rescue-postinst.sh: fixed new-kernel-pkg call X-Git-Tag: 027~45 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ce92ca0527fd004c23a997231a0a5e3c0ba0b89f;p=thirdparty%2Fdracut.git 51-dracut-rescue-postinst.sh: fixed new-kernel-pkg call --- diff --git a/51-dracut-rescue-postinst.sh b/51-dracut-rescue-postinst.sh index 5c0fe2c8a..21208a441 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+=$?))