summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2016-02-16 23:33:01 +0100
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2016-02-16 23:33:01 +0100
commit69f77a4cfdce1849e5e081d915f95cc761129f60 (patch)
tree1f6e393427e4d0f2c0e32e5460e46e7526b206d3
parentcd25e765552632d6ba1126d668052e970c97fad5 (diff)
downloadvendor_replicant-69f77a4cfdce1849e5e081d915f95cc761129f60.zip
vendor_replicant-69f77a4cfdce1849e5e081d915f95cc761129f60.tar.gz
vendor_replicant-69f77a4cfdce1849e5e081d915f95cc761129f60.tar.bz2
sign-build: remove hack to force rebuild of recovery
sign_target_files_apks is now fixed and properly recreates boot and recovery images Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
-rwxr-xr-xsign-build6
1 files changed, 1 insertions, 5 deletions
diff --git a/sign-build b/sign-build
index c5349e5..c4561f0 100755
--- a/sign-build
+++ b/sign-build
@@ -79,15 +79,11 @@ fi
mkdir -p $OUT_DIR
-cp $TARGET_FILES $OUT_DIR/target_files_temp.zip
-# remove recovery.img to make sure that it gets rebuild with the new keys
-zip -d $OUT_DIR/target_files_temp.zip "BOOTABLE_IMAGES/recovery.img"
-
# -o option replaces the test keys with the created ones
python $BASEDIR/build/tools/releasetools/sign_target_files_apks \
-e FDroid.apk=$KEY_DIR/platform \
-o \
- -d $KEY_DIR $OUT_DIR/target_files_temp.zip \
+ -d $KEY_DIR $TARGET_FILES \
$OUT_DIR/signed-target_files.zip
python $BASEDIR/build/tools/releasetools/ota_from_target_files \