X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/6a244cf2e8b86fd790bd6443721da90dcaabd33b..991e3e94c9668fb52ff2cc916d4ca1b9211f1f02:/target/linux/olpc/image/gen_image.sh?ds=sidebyside diff --git a/target/linux/olpc/image/gen_image.sh b/target/linux/olpc/image/gen_image.sh index d48e3720d..4fd6e377e 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 <