sign-build: Galaxy S2 needs special treatment

Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
This commit is contained in:
Wolfgang Wiedmeyer 2017-01-29 19:19:05 +01:00
parent 93788fff24
commit 62d7769c27
No known key found for this signature in database
GPG Key ID: 5816A24C10757FC4
1 changed files with 14 additions and 5 deletions

View File

@ -102,11 +102,20 @@ mkdir -p $DIST_OUT_DIR
# -o option replaces the test keys with the created ones
# -p makes sure the script finds signapk.jar
python $BASEDIR/build/tools/releasetools/sign_target_files_apks \
-o \
-p $OUT_DIR/host/linux-x86 \
-d $KEY_DIR $TARGET_FILES \
$DIST_OUT_DIR/signed-target_files-$DEVICE.zip
if [ "$DEVICE" = "i9100" ]
then
python $BASEDIR/device/samsung/galaxys2-common/releasetools/galaxys2_sign_target_files_apks \
-o \
-p $OUT_DIR/host/linux-x86 \
-d $KEY_DIR $TARGET_FILES \
$DIST_OUT_DIR/signed-target_files-$DEVICE.zip
else
python $BASEDIR/build/tools/releasetools/sign_target_files_apks \
-o \
-p $OUT_DIR/host/linux-x86 \
-d $KEY_DIR $TARGET_FILES \
$DIST_OUT_DIR/signed-target_files-$DEVICE.zip
fi
python $BASEDIR/build/tools/releasetools/ota_from_target_files \
-k $KEY_DIR/releasekey \