From c596f1fad7f4c6a3253e14889deb018049b6573c Mon Sep 17 00:00:00 2001 From: Chirayu Desai Date: Fri, 3 May 2013 14:58:59 +0530 Subject: releasetools: remove boot.img handling Depends-on: Ic348d31e8df7933dc4f9f055b7a5a2beacc21d32 http://review.cyanogenmod.org/36813 Change-Id: Ia8dc8219a360c391243dee7a760067277e9e52d1 --- releasetools.py | 8 -------- 1 file changed, 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) -- cgit v1.1