summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2007-11-26 14:57:09 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2007-11-26 14:57:09 +0000
commit63a12d9a182ad1ba5c2a3f439ec3b42fd79fe3cf (patch)
tree3ab4e2b2f5d3ebedb7d7eb8750ffa80e02afda0b /conf
parentdc55bdcac1f124990a9837f39374c753ffd86dec (diff)
zaurus-2.6.inc: Make it work for the case when there's no jffs2 in IMAGE_FSTYPES.
Diffstat (limited to 'conf')
-rw-r--r--conf/machine/include/zaurus-2.6.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/machine/include/zaurus-2.6.inc b/conf/machine/include/zaurus-2.6.inc
index 8f48c614d1..7e41da0783 100644
--- a/conf/machine/include/zaurus-2.6.inc
+++ b/conf/machine/include/zaurus-2.6.inc
@@ -55,7 +55,7 @@ zaurus_make_installkit () {
cp gnu-tar ${IMAGE_NAME}-installkit/
cp ${IMAGE_NAME}.rootfs.tar.gz ${IMAGE_NAME}-installkit/hdimage1.tgz
else
- cp ${IMAGE_NAME}.rootfs.jffs2 ${IMAGE_NAME}-installkit/initrd.bin
+ [ -f ${IMAGE_NAME}.rootfs.jffs2 ] && cp ${IMAGE_NAME}.rootfs.jffs2 ${IMAGE_NAME}-installkit/initrd.bin
fi
# All zaurus machines except collie need updater.sh