diff options
author | Jens Muecke <jens@nons.de> | 2007-12-12 01:46:24 +0000 |
---|---|---|
committer | Jens Muecke <jens@nons.de> | 2007-12-12 01:46:24 +0000 |
commit | a3d681bba552ca210d1795845bd1bf89a5c1b38d (patch) | |
tree | 88e21330080a61f690137dcc9de87ac12c6a6370 /target/linux/olpc/image/gen_image.sh | |
parent | 8b4ba82c0efe7848fecd5abba25d21cd56c5921e (diff) | |
download | upstream-a3d681bba552ca210d1795845bd1bf89a5c1b38d.tar.gz upstream-a3d681bba552ca210d1795845bd1bf89a5c1b38d.tar.bz2 upstream-a3d681bba552ca210d1795845bd1bf89a5c1b38d.zip |
Removing Grub for olpc (unnecessary) Adding Bootscript Some SD-Card fixes Config changes
SVN-Revision: 9712
Diffstat (limited to 'target/linux/olpc/image/gen_image.sh')
-rwxr-xr-x | target/linux/olpc/image/gen_image.sh | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/target/linux/olpc/image/gen_image.sh b/target/linux/olpc/image/gen_image.sh index d48e3720dc..4fd6e377e5 100755 --- a/target/linux/olpc/image/gen_image.sh +++ b/target/linux/olpc/image/gen_image.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Copyright (C) 2006 OpenWrt.org +# Copyright (C) 2006 - 2007 OpenWrt.org set -x [ $# == 5 ] || { echo "SYNTAX: $0 <file> <kernel size> <kernel directory> <rootfs size> <rootfs image>" @@ -33,13 +33,3 @@ dd if="$OUTPUT.kernel" of="$OUTPUT" bs=512 seek="$KERNELOFFSET" conv=notrunc [ -n "$PADDING" ] && dd if=/dev/zero of="$OUTPUT" bs=512 seek="$ROOTFSOFFSET" conv=notrunc count="$ROOTFSSIZE" dd if="$ROOTFSIMAGE" of="$OUTPUT" bs=512 seek="$ROOTFSOFFSET" conv=notrunc #rm -f "$OUTPUT.kernel" - -which chpax >/dev/null && chpax -zp $(which grub) -grub --batch --no-curses --no-floppy --device-map=/dev/null <<EOF -device (hd0) $OUTPUT -geometry (hd0) $cyl $head $sect -root (hd0,0) -setup (hd0) -quit -EOF - |