From 69f77a4cfdce1849e5e081d915f95cc761129f60 Mon Sep 17 00:00:00 2001 From: Wolfgang Wiedmeyer Date: Tue, 16 Feb 2016 23:33:01 +0100 Subject: [PATCH] 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 --- sign-build | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sign-build b/sign-build index c5349e54..c4561f03 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 \