sign-build: consider device-specific releasetools code for Galaxy S2
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
This commit is contained in:
parent
37254642e9
commit
d93a358a4a
12
sign-build
12
sign-build
@ -105,25 +105,35 @@ mkdir -p $DIST_OUT_DIR
|
|||||||
if [ "$DEVICE" = "i9100" ]
|
if [ "$DEVICE" = "i9100" ]
|
||||||
then
|
then
|
||||||
python $BASEDIR/device/samsung/galaxys2-common/releasetools/galaxys2_sign_target_files_apks \
|
python $BASEDIR/device/samsung/galaxys2-common/releasetools/galaxys2_sign_target_files_apks \
|
||||||
|
-s device/samsung/galaxys2-common/releasetools/extensions/releasetools.py \
|
||||||
-o \
|
-o \
|
||||||
-p $OUT_DIR/host/linux-x86 \
|
-p $OUT_DIR/host/linux-x86 \
|
||||||
-d $KEY_DIR $TARGET_FILES \
|
-d $KEY_DIR $TARGET_FILES \
|
||||||
$DIST_OUT_DIR/signed-target_files-$DEVICE.zip
|
$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
|
else
|
||||||
python $BASEDIR/build/tools/releasetools/sign_target_files_apks \
|
python $BASEDIR/build/tools/releasetools/sign_target_files_apks \
|
||||||
-o \
|
-o \
|
||||||
-p $OUT_DIR/host/linux-x86 \
|
-p $OUT_DIR/host/linux-x86 \
|
||||||
-d $KEY_DIR $TARGET_FILES \
|
-d $KEY_DIR $TARGET_FILES \
|
||||||
$DIST_OUT_DIR/signed-target_files-$DEVICE.zip
|
$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 \
|
||||||
-p $OUT_DIR/host/linux-x86 \
|
-p $OUT_DIR/host/linux-x86 \
|
||||||
$DIST_OUT_DIR/signed-target_files-$DEVICE.zip \
|
$DIST_OUT_DIR/signed-target_files-$DEVICE.zip \
|
||||||
$DIST_OUT_DIR/$RELEASE-$DEVICE.zip
|
$DIST_OUT_DIR/$RELEASE-$DEVICE.zip
|
||||||
|
fi
|
||||||
|
|
||||||
python $BASEDIR/build/tools/releasetools/img_from_target_files \
|
python $BASEDIR/build/tools/releasetools/img_from_target_files \
|
||||||
|
-z \
|
||||||
$DIST_OUT_DIR/signed-target_files-$DEVICE.zip \
|
$DIST_OUT_DIR/signed-target_files-$DEVICE.zip \
|
||||||
$DIST_OUT_DIR/signed-img-$DEVICE.zip
|
$DIST_OUT_DIR/signed-img-$DEVICE.zip
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user