diff options
author | Chirayu Desai <chirayudesai1@gmail.com> | 2013-05-03 14:58:59 +0530 |
---|---|---|
committer | Chirayu Desai <chirayudesai1@gmail.com> | 2013-05-04 20:07:06 +0530 |
commit | c596f1fad7f4c6a3253e14889deb018049b6573c (patch) | |
tree | d6194abf230620a16d511e47cdcbae90d50df6a7 | |
parent | 7061c753642a6557732cc496e0c014ec0076dd79 (diff) | |
download | device_samsung_aries-common-c596f1fad7f4c6a3253e14889deb018049b6573c.zip device_samsung_aries-common-c596f1fad7f4c6a3253e14889deb018049b6573c.tar.gz device_samsung_aries-common-c596f1fad7f4c6a3253e14889deb018049b6573c.tar.bz2 |
releasetools: remove boot.img handling
Depends-on: Ic348d31e8df7933dc4f9f055b7a5a2beacc21d32
http://review.cyanogenmod.org/36813
Change-Id: Ia8dc8219a360c391243dee7a760067277e9e52d1
-rw-r--r-- | releasetools.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/releasetools.py b/releasetools.py index 76721e0..d9ec402 100644 --- a/releasetools.py +++ b/releasetools.py @@ -17,7 +17,6 @@ import common import os -import shutil LOCAL_DIR = os.path.dirname(os.path.abspath(__file__)) TARGET_DIR = os.getenv('OUT') @@ -61,13 +60,6 @@ def FullOTA_Assertions(info): info.script.AppendExtra('package_extract_file("boot.img", "/tmp/boot.img");') info.script.AppendExtra('assert(run_program("/tmp/updater.sh") == 0);') - # Make common releasetools copy boot.img verbatim - kernel_path = os.path.join(info.input_tmp, "BOOT", "kernel") - prebuilt_dir = os.path.join(info.input_tmp, "BOOTABLE_IMAGES") - prebuilt_path = os.path.join(prebuilt_dir, "boot.img") - os.mkdir(prebuilt_dir) - shutil.copyfile(kernel_path, prebuilt_path) - def FullOTA_InstallEnd(info): # Remove writing boot.img from script (we do it in updater.sh) |