sign-build: Galaxy S2 needs special treatment
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
This commit is contained in:
parent
93788fff24
commit
62d7769c27
19
sign-build
19
sign-build
@ -102,11 +102,20 @@ mkdir -p $DIST_OUT_DIR
|
|||||||
|
|
||||||
# -o option replaces the test keys with the created ones
|
# -o option replaces the test keys with the created ones
|
||||||
# -p makes sure the script finds signapk.jar
|
# -p makes sure the script finds signapk.jar
|
||||||
python $BASEDIR/build/tools/releasetools/sign_target_files_apks \
|
if [ "$DEVICE" = "i9100" ]
|
||||||
-o \
|
then
|
||||||
-p $OUT_DIR/host/linux-x86 \
|
python $BASEDIR/device/samsung/galaxys2-common/releasetools/galaxys2_sign_target_files_apks \
|
||||||
-d $KEY_DIR $TARGET_FILES \
|
-o \
|
||||||
$DIST_OUT_DIR/signed-target_files-$DEVICE.zip
|
-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 \
|
python $BASEDIR/build/tools/releasetools/ota_from_target_files \
|
||||||
-k $KEY_DIR/releasekey \
|
-k $KEY_DIR/releasekey \
|
||||||
|
Loading…
Reference in New Issue
Block a user