X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/ea8823c99319e5c11b975d14c95b487d25ec0f3f..05c0f03a6cb47adaa23582b1a5488cc4e9706888:/target/linux/x86/image/gen_image_olpc.sh diff --git a/target/linux/x86/image/gen_image_olpc.sh b/target/linux/x86/image/gen_image_olpc.sh index 4fd6e377e..82bc4ed95 100755 --- a/target/linux/x86/image/gen_image_olpc.sh +++ b/target/linux/x86/image/gen_image_olpc.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Copyright (C) 2006 - 2007 OpenWrt.org +# Copyright (C) 2006-2010 OpenWrt.org set -x [ $# == 5 ] || { echo "SYNTAX: $0 " @@ -32,4 +32,4 @@ genext2fs -d "$KERNELDIR" -b "$BLOCKS" "$OUTPUT.kernel" 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" +rm -f "$OUTPUT.kernel"