#!/bin/bash -e # shellcheck disable=SC2250,SC2154,SC2086,SC2207,SC2016 TOPDIR=$(pwd) repo sync -q -c -j 6 --fail-fast --force-sync --no-tags || repo sync -q -c -j 6 --fail-fast --force-sync --no-tags || exit 1 cd build/tools git am $CI_WORKSPACE/fix-store-build-prop-zip.patch || git am --abort cd $TOPDIR cd packages/apps/LineageParts git am $CI_WORKSPACE/fix-always-enable-taskbar-toggle.patch || git am --abort cd $TOPDIR cd packages/apps/Trebuchet git am $CI_WORKSPACE/fix-enable-more-grids-for-tablet.patch || git am --abort git am $CI_WORKSPACE/fix-trebuchet-taskbar.patch || git am --abort cd $TOPDIR #bluetooth cd packages/modules/Bluetooth git am $CI_WORKSPACE/fix-bt-le.patch || git am --abort cd $TOPDIR #connectivity cd packages/modules/Connectivity git am $CI_WORKSPACE/fix-NetworkStats-disable-BPF.patch || git am --abort cd $TOPDIR #av cd frameworks/av git am $CI_WORKSPACE/fix-rear-camera-rotation.patch || git am --abort cd $TOPDIR #safetynet cd system/core #334348 git am $CI_WORKSPACE/snet20-1.patch || git am --abort cd $TOPDIR cd frameworks/base #334343 334344 git am $CI_WORKSPACE/snet20-2.patch || git am --abort git am $CI_WORKSPACE/snet20-3.patch || git am --abort git am $CI_WORKSPACE/microg.patch || git am --abort cd $TOPDIR cd hardware/qcom-caf/wlan git reset --hard e0f934b cd $TOPDIR #. build/envsetup.sh #repopick