aboutsummaryrefslogtreecommitdiffstats
path: root/simpad-utilities
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-04-21 07:35:08 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-04-21 07:35:08 +0000
commit3a89c2e82c2eb41804e60f45ae308298dacd60a6 (patch)
tree0c74012ec891066fa4e5eab4f3a31a05a9200ef9 /simpad-utilities
parent83c4dd95e1cb221a9afc49f856a99f0b182b2a7f (diff)
downloadopenembedded-3a89c2e82c2eb41804e60f45ae308298dacd60a6.tar.gz
Merge bk://openembedded@openembedded.bkbits.net/packages
into r2d2.tm.informatik.uni-frankfurt.de:/home/projekte/packages 2004/04/21 01:12:51+02:00 uni-frankfurt.de!mickey fix CMDLINE in kernel 2.6.5-jl1 2004/04/21 01:01:19+02:00 uni-frankfurt.de!mickey simpad-make-flashimg fixlet BKrev: 4086242cnKqmPgbRa3QOhJGdIfAifA
Diffstat (limited to 'simpad-utilities')
-rw-r--r--simpad-utilities/genboot/simpad-make-flashimg7
1 files changed, 4 insertions, 3 deletions
diff --git a/simpad-utilities/genboot/simpad-make-flashimg b/simpad-utilities/genboot/simpad-make-flashimg
index 95877f115f..e29de3f94f 100644
--- a/simpad-utilities/genboot/simpad-make-flashimg
+++ b/simpad-utilities/genboot/simpad-make-flashimg
@@ -9,11 +9,12 @@
GENBOOT=genboot
PAD=pad
KERNEL=$2
+INITRD=$3
doComplete()
{
kernel=$(basename $KERNEL)
- initrd=$OUTPUT_DIR/images/initrd.bin
+ initrd=$INITRD
outfile=/tmp/tmpfile
padfile=/tmp/tmpfile2
flashfile=$kernel.initrd.flashfile
@@ -76,13 +77,13 @@ doKernelInPlace()
}
if [ $# -lt 2 ]
- then echo "Usage: ./simpad-make-flashimg [kernel|complete|inplace] <kernel>" && exit -1
+ then echo "Usage: ./simpad-make-flashimg [kernel|complete|inplace] <kernel> [rootfs.jffs2]" && exit -1
fi
case "$1" in
kernel) doKernel;;
complete) doComplete;;
inplace) doKernelInPlace;;
-*) echo "Usage: ./simpad-make-flashimg [kernel|complete|inplace] <kernel>"; exit;;
+*) echo "Usage: ./simpad-make-flashimg [kernel|complete|inplace] <kernel> [rootfs.jffs2]"; exit;;
esac