sign-build: consider device-specific releasetools code for Galaxy S2

Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
This commit is contained in:
Wolfgang Wiedmeyer 2017-02-15 01:56:01 +01:00
parent 37254642e9
commit d93a358a4a
No known key found for this signature in database
GPG Key ID: 5816A24C10757FC4

View File

@ -105,25 +105,35 @@ mkdir -p $DIST_OUT_DIR
if [ "$DEVICE" = "i9100" ]
then
python $BASEDIR/device/samsung/galaxys2-common/releasetools/galaxys2_sign_target_files_apks \
-s device/samsung/galaxys2-common/releasetools/extensions/releasetools.py \
-o \
-p $OUT_DIR/host/linux-x86 \
-d $KEY_DIR $TARGET_FILES \
$DIST_OUT_DIR/signed-target_files-$DEVICE.zip
python $BASEDIR/build/tools/releasetools/ota_from_target_files \
-s device/samsung/galaxys2-common/releasetools/extensions/releasetools.py \
-k $KEY_DIR/releasekey \
-p $OUT_DIR/host/linux-x86 \
$DIST_OUT_DIR/signed-target_files-$DEVICE.zip \
$DIST_OUT_DIR/$RELEASE-$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 \
-p $OUT_DIR/host/linux-x86 \
$DIST_OUT_DIR/signed-target_files-$DEVICE.zip \
$DIST_OUT_DIR/$RELEASE-$DEVICE.zip
fi
python $BASEDIR/build/tools/releasetools/img_from_target_files \
-z \
$DIST_OUT_DIR/signed-target_files-$DEVICE.zip \
$DIST_OUT_DIR/signed-img-$DEVICE.zip