diff options
author | Koushik Dutta <koushd@gmail.com> | 2010-04-19 23:43:39 -0700 |
---|---|---|
committer | Koushik Dutta <koushd@gmail.com> | 2010-04-19 23:43:39 -0700 |
commit | 84231181e8e2ae012ceebceb3be10d43a8d5d7f3 (patch) | |
tree | fea80bca19710b581d71435f637c48e1a3bcd897 /META-INF | |
parent | 2f5b3be9e1ca5bfe123fce8d35a393490a53d9fc (diff) |
bug fixes
Diffstat (limited to 'META-INF')
-rw-r--r-- | META-INF/com/google/android/updater-script | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/META-INF/com/google/android/updater-script b/META-INF/com/google/android/updater-script index 4878f7a..a2dbf08 100644 --- a/META-INF/com/google/android/updater-script +++ b/META-INF/com/google/android/updater-script @@ -8,10 +8,11 @@ ui_print("Extracting Kernel files..."); package_extract_dir("kernel", "/tmp"); ui_print("Installing kernel..."); set_perm(0, 0, 0777, "/tmp/dump_image"); +set_perm(0, 0, 0777, "/tmp/mkflashnewboot.sh"); set_perm(0, 0, 0777, "/tmp/mkbootimg"); set_perm(0, 0, 0777, "/tmp/unpackbootimg"); run_program("/tmp/dump_image", "boot", "/tmp/boot.img"); run_program("/tmp/unpackbootimg", "/tmp/boot.img", "/tmp/"); -run_program("sh", "-c", "/tmp/mkbootimg --kernel /tmp/zImage --ramdisk /tmp/boot.img-ramdisk.gz --cmdline $(cat /tmp/boot.img-cmdline) --base $(cat /tmp/boot.img-base) --output /tmp/newboot.img"); +run_program("/tmp/mkflashnewboot.sh"); write_raw_image("/tmp/newboot.img", "boot"); ui_print("Done!"); |