Created
January 24, 2017 05:27
-
-
Save fourkbomb/ce92262fc633a9a001e19095c0e9d734 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo Purging old target_files... | |
rm out/dist/*target_files* | |
echo Making dist... | |
mka dist | |
echo Signing target files apks... | |
TARGET_FILES_SIGNED=lineage-$(get_build_var LINEAGE_VERSION)-signed-target_files.zip | |
./build/tools/releasetools/sign_target_files_apks -o -d ~/.android-certs out/dist/*-target_files-*.zip $TARGET_FILES_SIGNED | |
echo Generating ota package... | |
OTA_PACKAGE=lineage-$(get_build_var LINEAGE_VERSION)-install.zip | |
./build/tools/releasetools/ota_from_target_files -k ~/.android-certs/releasekey $TARGET_FILES_SIGNED $OTA_PACKAGE | |
echo Done: $OTA_PACKAGE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment