-#!/bin/sh
+#!/bin/bash
#
# mkbootable.sh, make a bootable file set from a jffs2 image
# Copyright © 2008 James Cameron <quozl@laptop.org>
INTERACTIVE=yes
OUTPUT=${IMAGE_DEFAULT}.bootable
-. functions.sh
+. ./functions.sh
images()
{
mkdir ${OUTPUT}
fi
-cp ${IMAGE}.{dat,crc,img} ${OUTPUT}
+cp ${IMAGE}.{dat,img} ${OUTPUT}
mkdir -p ${OUTPUT}/boot
cat <<EOF >${OUTPUT}/boot/olpc.fth
\ OLPC boot script
+visible
cr
." This is a debxo bootable install script." cr
cr
." `md5sum ${IMAGE}.img`" cr
." `md5sum ${IMAGE}.dat`" cr
-." `md5sum ${IMAGE}.crc`" cr
cr
EOF