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>
This commit is contained in:
Wolfgang Wiedmeyer 2016-02-16 23:33:01 +01:00
parent cd25e76555
commit 69f77a4cfd
No known key found for this signature in database
GPG Key ID: 5816A24C10757FC4
1 changed files with 1 additions and 5 deletions

View File

@ -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 \