diff options
| author | Barry Wardell <rockbox@barrywardell.net> | 2006-08-30 20:20:52 +0000 |
|---|---|---|
| committer | Barry Wardell <rockbox@barrywardell.net> | 2006-08-30 20:20:52 +0000 |
| commit | e4e4219302bf5ea6f068c85ae5a8ff51b975d9f1 (patch) | |
| tree | eb3aa3f774bf59c4fbe297f7eb2c904286ec3f65 | |
| parent | 4063e47f0342c048800f8055b7ed73a7c12f5e34 (diff) | |
| download | rockbox-e4e4219302bf5ea6f068c85ae5a8ff51b975d9f1.zip rockbox-e4e4219302bf5ea6f068c85ae5a8ff51b975d9f1.tar.gz rockbox-e4e4219302bf5ea6f068c85ae5a8ff51b975d9f1.tar.bz2 rockbox-e4e4219302bf5ea6f068c85ae5a8ff51b975d9f1.tar.xz | |
Even when we don't encrypt a mi4 we still need to run the encrypt step so that the crc gets updated.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10812 a1c6a512-1295-4272-9138-f99709370657
| -rwxr-xr-x | tools/mkmi4.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/mkmi4.sh b/tools/mkmi4.sh index 7504665..068d7e0 100755 --- a/tools/mkmi4.sh +++ b/tools/mkmi4.sh @@ -48,7 +48,7 @@ findtool(){ } help () { - echo "Usage: mi4fix.sh <e200/h10/h10_5gb> <input> <output>" + echo "Usage: mi4fix.sh <e200/h10/h10_5gb/elio> <input> <output>" exit } @@ -75,6 +75,9 @@ case $target in h10_5gb) buildopt="-2" ;; + elio) + buildopt="-2" + ;; *) echo "unsupported target" help @@ -108,7 +111,8 @@ if test -n "$encrypt"; then #echo "$tool encrypt $output.raw $output.encrypt $tea" $tool encrypt $output.raw $output.encrypt $tea else - mv $output.raw $output.encrypt + # Even if we don't encrypt we need to do this to ensure the crc gets fixed + $tool encrypt -pall $output.raw $output.encrypt default fi # sign if test -n "$sign"; then |