summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)