jffs2 boot was failing because OFW looks for nand:\boot\olpc.fth,
and only nand:\olpc.fth existed.
Signed-off-by: Andres Salomon <dilinger@collabora.co.uk>
# put here. $ROOT_DIR should be prefixed to any paths.
mkdir ${ROOT_DIR}/ofw
# put here. $ROOT_DIR should be prefixed to any paths.
mkdir ${ROOT_DIR}/ofw
+
+ # OFW needs this to boot w/ partitions
+ ln -s . ${ROOT_DIR}/boot/boot
# Apt can't deal w/ jffs2's lack of mmap, so we keep apt's cache on tmpfs
# (see <http://bugs.debian.org/314334>).
# Apt can't deal w/ jffs2's lack of mmap, so we keep apt's cache on tmpfs
# (see <http://bugs.debian.org/314334>).
# put here. $ROOT_DIR should be prefixed to any paths.
mkdir ${ROOT_DIR}/ofw
# put here. $ROOT_DIR should be prefixed to any paths.
mkdir ${ROOT_DIR}/ofw
+
+ # OFW needs this to boot w/ partitions
+ ln -s . ${ROOT_DIR}/boot/boot
# Apt can't deal w/ jffs2's lack of mmap, so we keep apt's cache on tmpfs
# (see <http://bugs.debian.org/314334>).
# Apt can't deal w/ jffs2's lack of mmap, so we keep apt's cache on tmpfs
# (see <http://bugs.debian.org/314334>).
# put here. $ROOT_DIR should be prefixed to any paths.
mkdir ${ROOT_DIR}/ofw
# put here. $ROOT_DIR should be prefixed to any paths.
mkdir ${ROOT_DIR}/ofw
+
+ # OFW needs this to boot w/ partitions
+ ln -s . ${ROOT_DIR}/boot/boot
+
# Apt can't deal w/ jffs2's lack of mmap, so we keep apt's cache on tmpfs
# (see <http://bugs.debian.org/314334>).
mkdir ${ROOT_DIR}/var/cache/apt/cache
# Apt can't deal w/ jffs2's lack of mmap, so we keep apt's cache on tmpfs
# (see <http://bugs.debian.org/314334>).
mkdir ${ROOT_DIR}/var/cache/apt/cache
# put here. $ROOT_DIR should be prefixed to any paths.
mkdir ${ROOT_DIR}/ofw
# put here. $ROOT_DIR should be prefixed to any paths.
mkdir ${ROOT_DIR}/ofw
+
+ # OFW needs this to boot w/ partitions
+ ln -s . ${ROOT_DIR}/boot/boot
# Apt can't deal w/ jffs2's lack of mmap, so we keep apt's cache on tmpfs
# (see <http://bugs.debian.org/314334>).
# Apt can't deal w/ jffs2's lack of mmap, so we keep apt's cache on tmpfs
# (see <http://bugs.debian.org/314334>).
# put here. $ROOT_DIR should be prefixed to any paths.
mkdir ${ROOT_DIR}/ofw
# put here. $ROOT_DIR should be prefixed to any paths.
mkdir ${ROOT_DIR}/ofw
+
+ # OFW needs this to boot w/ partitions
+ ln -s . ${ROOT_DIR}/boot/boot
# Apt can't deal w/ jffs2's lack of mmap, so we keep apt's cache on tmpfs
# (see <http://bugs.debian.org/314334>).
# Apt can't deal w/ jffs2's lack of mmap, so we keep apt's cache on tmpfs
# (see <http://bugs.debian.org/314334>).
+ # OFW needs this to boot w/ partitions
+ ln -s . ${ROOT_DIR}/boot/boot
+
# Apt can't deal w/ jffs2's lack of mmap, so we keep apt's cache on tmpfs
# (see <http://bugs.debian.org/314334>).
mkdir ${ROOT_DIR}/var/cache/apt/cache
# Apt can't deal w/ jffs2's lack of mmap, so we keep apt's cache on tmpfs
# (see <http://bugs.debian.org/314334>).
mkdir ${ROOT_DIR}/var/cache/apt/cache