Changes for November 2022
This commit is contained in:
parent
050bdbac47
commit
4721893991
@ -18,7 +18,7 @@ Clone both this and the patches repos:
|
|||||||
|
|
||||||
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:
|
||||||
|
|
||||||
bash lineage_build_unified/buildbot_unified.sh treble 64VN 64VS
|
bash lineage_build_unified/buildbot_unified.sh treble 64VN 64VS 64GN
|
||||||
|
|
||||||
Be sure to update the cloned repos from time to time!
|
Be sure to update the cloned repos from time to time!
|
||||||
|
|
||||||
|
@ -66,6 +66,7 @@ prep_build() {
|
|||||||
repopick 321338 -f # Allow disabling important developer notifications
|
repopick 321338 -f # Allow disabling important developer notifications
|
||||||
repopick 321339 -f # Allow disabling USB notifications
|
repopick 321339 -f # Allow disabling USB notifications
|
||||||
repopick 331534 -f # SystemUI: Add support to add/remove QS tiles with one tap
|
repopick 331534 -f # SystemUI: Add support to add/remove QS tiles with one tap
|
||||||
|
repopick 340916 # SystemUI: add burnIn protection
|
||||||
}
|
}
|
||||||
|
|
||||||
apply_patches() {
|
apply_patches() {
|
||||||
@ -96,13 +97,15 @@ build_device() {
|
|||||||
|
|
||||||
build_treble() {
|
build_treble() {
|
||||||
case "${1}" in
|
case "${1}" in
|
||||||
("64VN") TARGET=gsi_arm64_vN;;
|
("64VN") TARGET=gsi_arm64_vN; SECURE=true;;
|
||||||
("64VS") TARGET=gsi_arm64_vS;;
|
("64VS") TARGET=gsi_arm64_vS; SECURE=false;;
|
||||||
|
("64GN") TARGET=gsi_arm64_gN; SECURE=true;;
|
||||||
(*) echo "Invalid target - exiting"; exit 1;;
|
(*) echo "Invalid target - exiting"; exit 1;;
|
||||||
esac
|
esac
|
||||||
lunch lineage_${TARGET}-userdebug
|
lunch lineage_${TARGET}-userdebug
|
||||||
|
make installclean
|
||||||
make -j$(nproc --all) systemimage
|
make -j$(nproc --all) 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-20.0-$BUILD_DATE-UNOFFICIAL-${TARGET}$(${SECURE} && echo "-secure" || echo "")$(${PERSONAL} && echo "-personal" || echo "").img
|
||||||
}
|
}
|
||||||
|
|
||||||
if ${NOSYNC}
|
if ${NOSYNC}
|
||||||
@ -138,10 +141,6 @@ do
|
|||||||
build_${MODE} ${var}
|
build_${MODE} ${var}
|
||||||
done
|
done
|
||||||
ls ~/build-output | grep 'lineage' || true
|
ls ~/build-output | grep 'lineage' || true
|
||||||
if [ ${MODE} == "treble" ]
|
|
||||||
then
|
|
||||||
echo $START > ~/build-output/ota-timestamp.txt
|
|
||||||
fi
|
|
||||||
|
|
||||||
END=`date +%s`
|
END=`date +%s`
|
||||||
ELAPSEDM=$(($(($END-$START))/60))
|
ELAPSEDM=$(($(($END-$START))/60))
|
||||||
|
@ -4,4 +4,6 @@
|
|||||||
<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="phhusson/vendor_hardware_overlay" path="vendor/hardware_overlay" remote="github" revision="pie" />
|
<project name="phhusson/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/" />
|
||||||
|
<project name="MindTheGapps/vendor_gapps" path="vendor/gapps" remote="gitlab" revision="tau" />
|
||||||
</manifest>
|
</manifest>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user