From 3166567577837a8c66d6848d260697bb8dd8df4c Mon Sep 17 00:00:00 2001 From: eliasofwaffle Date: Tue, 23 Apr 2024 19:35:29 +0000 Subject: [PATCH 1/2] build_rom: Initial Lineage 21 Build --- build_rom.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/build_rom.sh b/build_rom.sh index d1161af03d4..9168ad3f081 100644 --- a/build_rom.sh +++ b/build_rom.sh @@ -1,13 +1,15 @@ # sync rom -repo init --depth=1 --no-repo-verify -u git://github.com/DerpFest-11/manifest.git -b 11 -g default,-mips,-darwin,-notdefault -git clone https://github.com/pocox3pro/Local-Manifests.git --depth 1 -b master .repo/local_manifests +repo init --depth=1 --no-repo-verify -u https://github.com/LineageOS/android.git -b lineage-21.0 --git-lfs -g default,-mips,-darwin,-notdefault +git clone https://github.com/Roynas-Android-Playground/local_manifests --depth=1 -b Exynos7885-fourteen .repo/local_manifests repo sync -c --no-clone-bundle --no-tags --optimized-fetch --prune --force-sync -j8 # build rom source build/envsetup.sh -lunch derp_vayu-user -export TZ=Asia/Dhaka #put before last build command -mka derp +export ALLOW_MISSING_DEPENDENCIES=true +export BUILD_BROKEN_USES_BUILD_COPY_HEADERS=true +export BUILD_BROKEN_DUP_RULES=true +brunch a10 eng +export TZ=America/Sao_Paulo #put before last build command # 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 From 685c35d13413069ad9dbc72c5bc707f9b8f63176 Mon Sep 17 00:00:00 2001 From: eliasofwaffle Date: Tue, 23 Apr 2024 20:09:38 +0000 Subject: [PATCH 2/2] fix --- build_rom.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build_rom.sh b/build_rom.sh index 9168ad3f081..c3c0983814f 100644 --- a/build_rom.sh +++ b/build_rom.sh @@ -8,8 +8,12 @@ source build/envsetup.sh export ALLOW_MISSING_DEPENDENCIES=true export BUILD_BROKEN_USES_BUILD_COPY_HEADERS=true export BUILD_BROKEN_DUP_RULES=true +xport BUILD_USER=EliasOfWaffle +export BUILD_USERNAME=EliasOfWaffle +export KBUILD_BUILD_USER=EliasOfWaffle +export TZ=America/Sao_Paulo brunch a10 eng -export TZ=America/Sao_Paulo #put before last build command +#export TZ=America/Sao_Paulo #put before last build command # 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