From fe5c54451447685d762cb35754e5e3ad29f275b5 Mon Sep 17 00:00:00 2001 From: Andy CrossGate Yan Date: Sat, 17 Feb 2024 16:30:22 +0800 Subject: [PATCH] Changes for February 2024, promoting to Android 14 --- README.md | 8 ++++---- buildbot_unified.sh | 24 ++++++++++-------------- local_manifests_treble/manifest.xml | 4 ++-- 3 files changed, 16 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 63e3ee3..de3fcb3 100644 --- a/README.md +++ b/README.md @@ -5,16 +5,16 @@ Set up your environment by referring to [LineageOS Wiki](https://wiki.lineageos. Create a new working directory for your LineageOS build and navigate to it: - mkdir lineage-20-build-gsi; cd lineage-20-build-gsi + mkdir lineage-21-build-gsi; cd lineage-21-build-gsi Initialize your LineageOS workspace: - repo init -u https://github.com/LineageOS/android.git -b lineage-20.0 --git-lfs + repo init -u https://github.com/LineageOS/android.git -b lineage-21.0 --git-lfs Clone both this and the patches repos: - git clone https://github.com/AndyCGYan/lineage_build_unified lineage_build_unified -b lineage-20-light - git clone https://github.com/AndyCGYan/lineage_patches_unified lineage_patches_unified -b lineage-20-light + git clone https://github.com/AndyCGYan/lineage_build_unified lineage_build_unified -b lineage-21-light + git clone https://github.com/AndyCGYan/lineage_patches_unified lineage_patches_unified -b lineage-21-light Finally, start the build script - for example, to build for all supported archs: diff --git a/buildbot_unified.sh b/buildbot_unified.sh index 259c10c..51a8821 100755 --- a/buildbot_unified.sh +++ b/buildbot_unified.sh @@ -1,6 +1,6 @@ #!/bin/bash echo "" -echo "LineageOS 20 Unified Buildbot" +echo "LineageOS 21 Unified Buildbot" echo "Executing in 5 seconds - CTRL-C to exit" echo "" sleep 5 @@ -45,7 +45,7 @@ echo\ )' ERR START=`date +%s` -BUILD_DATE="$(date +%Y%m%d)" +BUILD_DATE="$(date -u +%Y%m%d)" prep_build() { echo "Preparing local manifests" @@ -62,15 +62,11 @@ prep_build() { mkdir -p ~/build-output echo "" - repopick 321337 -f # Deprioritize important developer notifications - repopick 321338 -f # Allow disabling important developer notifications - repopick 321339 -f # Allow disabling USB notifications - repopick 340916 # SystemUI: add burnIn protection - repopick 342860 # codec2: Use numClientBuffers to control the pipeline - repopick 342861 # CCodec: Control the inputs to avoid pipeline overflow - repopick 342862 # [WA] Codec2: queue a empty work to HAL to wake up allocation thread - repopick 342863 # CCodec: Use pipelineRoom only for HW decoder - repopick 342864 # codec2: Change a Info print into Verbose + repopick -t 21-snet -r -f + repopick 321337 -r -f # Deprioritize important developer notifications + repopick 321338 -r -f # Allow disabling important developer notifications + repopick 321339 -r -f # Allow disabling USB notifications + repopick 368923 -r -f # Launcher3: Show clear all button in recents overview } apply_patches() { @@ -96,7 +92,7 @@ finalize_treble() { build_device() { brunch ${1} - mv $OUT/lineage-*.zip ~/build-output/lineage-20.0-$BUILD_DATE-UNOFFICIAL-${1}$($PERSONAL && echo "-personal" || echo "").zip + mv $OUT/lineage-*.zip ~/build-output/lineage-21.0-$BUILD_DATE-UNOFFICIAL-${1}$($PERSONAL && echo "-personal" || echo "").zip } build_treble() { @@ -108,8 +104,8 @@ build_treble() { esac lunch lineage_${TARGET}-userdebug make installclean - make -j$(nproc --all) systemimage - mv $OUT/system.img ~/build-output/lineage-20.0-$BUILD_DATE-UNOFFICIAL-${TARGET}$(${PERSONAL} && echo "-personal" || echo "").img + make -j$(lscpu -b -p=Core,Socket | grep -v '^#' | sort -u | wc -l) systemimage + mv $OUT/system.img ~/build-output/lineage-21.0-$BUILD_DATE-UNOFFICIAL-${TARGET}$(${PERSONAL} && echo "-personal" || echo "").img } if ${NOSYNC} diff --git a/local_manifests_treble/manifest.xml b/local_manifests_treble/manifest.xml index 8841ab0..27bf375 100644 --- a/local_manifests_treble/manifest.xml +++ b/local_manifests_treble/manifest.xml @@ -1,9 +1,9 @@ - + - +