Changes for February 2024, promoting to Android 14

This commit is contained in:
Andy CrossGate Yan 2024-02-17 16:30:22 +08:00
parent 07e8ea88af
commit fe5c544514
3 changed files with 16 additions and 20 deletions

View File

@ -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: 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: 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: 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_build_unified lineage_build_unified -b lineage-21-light
git clone https://github.com/AndyCGYan/lineage_patches_unified lineage_patches_unified -b lineage-20-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: Finally, start the build script - for example, to build for all supported archs:

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
echo "" echo ""
echo "LineageOS 20 Unified Buildbot" echo "LineageOS 21 Unified Buildbot"
echo "Executing in 5 seconds - CTRL-C to exit" echo "Executing in 5 seconds - CTRL-C to exit"
echo "" echo ""
sleep 5 sleep 5
@ -45,7 +45,7 @@ echo\
)' ERR )' ERR
START=`date +%s` START=`date +%s`
BUILD_DATE="$(date +%Y%m%d)" BUILD_DATE="$(date -u +%Y%m%d)"
prep_build() { prep_build() {
echo "Preparing local manifests" echo "Preparing local manifests"
@ -62,15 +62,11 @@ prep_build() {
mkdir -p ~/build-output mkdir -p ~/build-output
echo "" echo ""
repopick 321337 -f # Deprioritize important developer notifications repopick -t 21-snet -r -f
repopick 321338 -f # Allow disabling important developer notifications repopick 321337 -r -f # Deprioritize important developer notifications
repopick 321339 -f # Allow disabling USB notifications repopick 321338 -r -f # Allow disabling important developer notifications
repopick 340916 # SystemUI: add burnIn protection repopick 321339 -r -f # Allow disabling USB notifications
repopick 342860 # codec2: Use numClientBuffers to control the pipeline repopick 368923 -r -f # Launcher3: Show clear all button in recents overview
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
} }
apply_patches() { apply_patches() {
@ -96,7 +92,7 @@ finalize_treble() {
build_device() { build_device() {
brunch ${1} 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() { build_treble() {
@ -108,8 +104,8 @@ build_treble() {
esac esac
lunch lineage_${TARGET}-userdebug lunch lineage_${TARGET}-userdebug
make installclean make installclean
make -j$(nproc --all) systemimage make -j$(lscpu -b -p=Core,Socket | grep -v '^#' | sort -u | wc -l) systemimage
mv $OUT/system.img ~/build-output/lineage-20.0-$BUILD_DATE-UNOFFICIAL-${TARGET}$(${PERSONAL} && echo "-personal" || echo "").img mv $OUT/system.img ~/build-output/lineage-21.0-$BUILD_DATE-UNOFFICIAL-${TARGET}$(${PERSONAL} && echo "-personal" || echo "").img
} }
if ${NOSYNC} if ${NOSYNC}

View File

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<manifest> <manifest>
<project name="AndyCGYan/android_device_lineage_gsi" path="device/lineage/gsi" remote="github" revision="lineage-20" /> <project name="AndyCGYan/android_device_lineage_gsi" path="device/lineage/gsi" remote="github" revision="lineage-21" />
<project name="AndyCGYan/android_packages_apps_QcRilAm" path="packages/apps/QcRilAm" remote="github" revision="master" /> <project name="AndyCGYan/android_packages_apps_QcRilAm" path="packages/apps/QcRilAm" remote="github" revision="master" />
<project name="TrebleDroid/vendor_hardware_overlay" path="vendor/hardware_overlay" remote="github" revision="pie" /> <project name="TrebleDroid/vendor_hardware_overlay" path="vendor/hardware_overlay" remote="github" revision="pie" />
<remove-project name="LineageOS/android_packages_apps_Camera2" /> <remove-project name="LineageOS/android_packages_apps_Camera2" />
<remote name="gitlab" fetch="https://gitlab.com/" /> <remote name="gitlab" fetch="https://gitlab.com/" />
<project name="MindTheGapps/vendor_gapps" path="vendor/gapps" remote="gitlab" revision="tau" /> <project name="MindTheGapps/vendor_gapps" path="vendor/gapps" remote="gitlab" revision="upsilon" />
</manifest> </manifest>