summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Kunze <thommycheck@gmx.de>2008-02-22 21:14:32 +0000
committerThomas Kunze <thommycheck@gmx.de>2008-02-22 21:14:32 +0000
commit6e8198eadd0e3f9b108f2907fbe20a4afd62b3ec (patch)
tree5c6b3ddb7c9dc3df5d71f429d3415c7b9bb7a214
parent1dec00a7e52008400bdfc8034f6298f2578cb637 (diff)
initramfs-kexec: change rootdev vor collie from mtdblock2 to mtd2
-rw-r--r--packages/initrdscripts/initramfs-kexec_1.0.bb6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/initrdscripts/initramfs-kexec_1.0.bb b/packages/initrdscripts/initramfs-kexec_1.0.bb
index b5bf497f37..b14ebbe60c 100644
--- a/packages/initrdscripts/initramfs-kexec_1.0.bb
+++ b/packages/initrdscripts/initramfs-kexec_1.0.bb
@@ -1,11 +1,11 @@
DESCRIPTON = "A init script that mounts a device and kexecs a new kernel from it."
-PR = "r3"
+PR = "r4"
do_compile() {
cat > init.sh << EOF
#!/bin/sh
/bin/mount -t proc proc /proc
-/bin/mount -t ${ROOTFS} /dev/${ROOTDEV} /mnt
+/bin/mount -t ${ROOTFS} ${ROOTDEV} /mnt
/usr/sbin/kexec -l /mnt/zImage
/usr/sbin/kexec -e
EOF
@@ -21,5 +21,5 @@ PACKAGE_ARCH = "all"
FILES_${PN} = "/init /proc /mnt"
-ROOTDEV = "mtdblock2"
+ROOTDEV = "mtd2"
ROOTFS = "jffs2"