summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPawit Pornkitprasan <p.pawit@gmail.com>2013-07-24 02:09:10 +0000
committerGerrit Code Review <gerrit@cyanogenmod.org>2013-07-24 02:09:10 +0000
commitad85cfbf87899b5fe44131ef96eb873872da5f33 (patch)
tree638573c3c740d79536473dc16d139867cca518c2
parent889f4e58cb47a94671aa162a6fe252f9ee44b24a (diff)
parentc596f1fad7f4c6a3253e14889deb018049b6573c (diff)
downloaddevice_samsung_aries-common-ad85cfbf87899b5fe44131ef96eb873872da5f33.zip
device_samsung_aries-common-ad85cfbf87899b5fe44131ef96eb873872da5f33.tar.gz
device_samsung_aries-common-ad85cfbf87899b5fe44131ef96eb873872da5f33.tar.bz2
Merge "releasetools: remove boot.img handling" into cm-10.1
-rw-r--r--releasetools.py8
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)