initramfs-kexe: load zImage from the /boot directory
authorThomas Kunze <thommycheck@gmx.de>
Fri, 25 Jul 2008 14:37:15 +0000 (14:37 +0000)
committerThomas Kunze <thommycheck@gmx.de>
Fri, 25 Jul 2008 14:37:15 +0000 (14:37 +0000)
packages/initrdscripts/initramfs-kexec_1.0.bb

index 6b0bb46..1b2ae27 100644 (file)
@@ -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
 }