summaryrefslogtreecommitdiff
path: root/packages/initrdscripts/initramfs-kexec_1.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/initrdscripts/initramfs-kexec_1.0.bb')
-rw-r--r--packages/initrdscripts/initramfs-kexec_1.0.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/initrdscripts/initramfs-kexec_1.0.bb b/packages/initrdscripts/initramfs-kexec_1.0.bb
index 6b0bb46de3..1b2ae27cf7 100644
--- a/packages/initrdscripts/initramfs-kexec_1.0.bb
+++ b/packages/initrdscripts/initramfs-kexec_1.0.bb
@@ -1,12 +1,12 @@
DESCRIPTON = "A init script that mounts a device and kexecs a new kernel from it."
-PR = "r5"
+PR = "r6"
do_compile() {
cat > init.sh << EOF
#!/bin/sh
/bin/mount -t proc proc /proc
/bin/mount -t ${ROOTFS} ${ROOTDEV} /mnt
-/usr/sbin/kexec -l /mnt/zImage
+/usr/sbin/kexec -l /mnt/boot/zImage
/usr/sbin/kexec -e
EOF
}