[oe-commits] org.oe.dev initramfs-kexec: change rootdev vor collie from mtdblock2 to mtd2

thesing commit openembedded-commits at lists.openembedded.org
Fri Feb 22 21:34:17 UTC 2008


initramfs-kexec: change rootdev vor collie from mtdblock2 to mtd2

Author: thesing at openembedded.org
Branch: org.openembedded.dev
Revision: 2c3a38874a4f6692c855ed4f099954ecf8bcd8b3
ViewMTN: http://monotone.openembedded.org/revision/info/2c3a38874a4f6692c855ed4f099954ecf8bcd8b3
Files:
1
packages/initrdscripts/initramfs-kexec_1.0.bb
Diffs:

#
# mt diff -rcd252a2052020afb6a19af56adfc3d1b2a79aadd -r2c3a38874a4f6692c855ed4f099954ecf8bcd8b3
#
# 
# 
# patch "packages/initrdscripts/initramfs-kexec_1.0.bb"
#  from [c0bc8bdffc0333010b2a64f38e16d9a659238fb0]
#    to [477745f4ed2bfacec7191d1080a2179b9f2c159c]
# 
============================================================
--- packages/initrdscripts/initramfs-kexec_1.0.bb	c0bc8bdffc0333010b2a64f38e16d9a659238fb0
+++ packages/initrdscripts/initramfs-kexec_1.0.bb	477745f4ed2bfacec7191d1080a2179b9f2c159c
@@ -1,11 +1,11 @@ DESCRIPTON = "A init script that mounts 
 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 @@ FILES_${PN} = "/init /proc /mnt"
 
 FILES_${PN} = "/init /proc /mnt"
 
-ROOTDEV = "mtdblock2"
+ROOTDEV = "mtd2"
 ROOTFS = "jffs2"






More information about the Openembedded-commits mailing list