From 10d5da709bdff7cd1970dbd7a2ab390d4ceafe3b Mon Sep 17 00:00:00 2001 From: ryd Date: Wed, 12 Dec 2007 01:46:24 +0000 Subject: Removing Grub for olpc (unnecessary) Adding Bootscript Some SD-Card fixes Config changes git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9712 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/olpc/image/gen_image.sh | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'target/linux/olpc/image/gen_image.sh') 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 " @@ -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 <