forked from ROM-builders/temporary
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Atul9977
authored
Dec 5, 2022
1 parent
4c640dd
commit b288dc1
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
# sync rom | ||
repo init --depth=1 --no-repo-verify -u https://github.com/Project-Kaleidoscope/android_manifest.git -b sunflowerleaf -g default,-mips,-darwin,-notdefault | ||
repo init --depth=1 --no-repo-verify -u https://github.com/ProtonPlus-org/manifest -b sc-v2 -g default,-mips,-darwin,-notdefault | ||
git clone https://github.com/Atul9977/local_manifest.git --depth 1 -b main .repo/local_manifests | ||
repo sync -c --no-clone-bundle --no-tags --optimized-fetch --prune --force-sync -j8 | ||
|
||
# build rom | ||
export KBUILD_BUILD_USER=Atul | ||
export BUILD_USERNAME=Atul | ||
export BUILD_BROKEN_MISSING_REQUIRED_MODULES=true | ||
source build/envsetup.sh | ||
lunch kscope_garden-userdebug | ||
lunch aosp_garden-userdebug | ||
export SELINUX_IGNORE_NEVERALLOWS=true | ||
export BUILD_BROKEN_MISSING_REQUIRED_MODULES=true | ||
export TZ=Asia/Kolkata #put before last build command | ||
make bacon | ||
make otapackage | ||
|
||
# upload rom (if you don't need to upload multiple files, then you don't need to edit next line) | ||
rclone copy out/target/product/$(grep unch $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1)/*.zip cirrus:$(grep unch $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1) -P |