git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1dec00a
)
initramfs-kexec: change rootdev vor collie from mtdblock2 to mtd2
author
Thomas Kunze
<thommycheck@gmx.de>
Fri, 22 Feb 2008 21:14:32 +0000
(21:14 +0000)
committer
Thomas Kunze
<thommycheck@gmx.de>
Fri, 22 Feb 2008 21:14:32 +0000
(21:14 +0000)
packages/initrdscripts/initramfs-kexec_1.0.bb
patch
|
blob
|
history
diff --git
a/packages/initrdscripts/initramfs-kexec_1.0.bb
b/packages/initrdscripts/initramfs-kexec_1.0.bb
index
b5bf497
..
b14ebbe
100644
(file)
--- 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 = "r
3
"
+PR = "r
4
"
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 = "mtd
block
2"
+ROOTDEV = "mtd2"
ROOTFS = "jffs2"