summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorThomas Kunze <thommycheck@gmx.de>2008-07-25 14:37:15 +0000
committerThomas Kunze <thommycheck@gmx.de>2008-07-25 14:37:15 +0000
commitc47bfd68d102add00e80b93190b133c5678f2e35 (patch)
tree4eb71dcddbf7ae9688250c57014955fa82209943 /packages
parent61b8fecfd244e7d73491b2558dede15f8541fa79 (diff)
initramfs-kexe: load zImage from the /boot directory
Diffstat (limited to 'packages')
-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
}