|
@@ -17,7 +17,6 @@ runs:
|
|
|
run: |
|
|
run: |
|
|
|
set -euo pipefail
|
|
set -euo pipefail
|
|
|
|
|
|
|
|
- echo "Using patch: $(basename $NTSYNC_PATCH)"
|
|
|
|
|
if [[ ${{ inputs.version }} = "android16-6.12" ]]; then
|
|
if [[ ${{ inputs.version }} = "android16-6.12" ]]; then
|
|
|
echo "Removing pre-existing ntsync files for android16-6.12"
|
|
echo "Removing pre-existing ntsync files for android16-6.12"
|
|
|
rm -f include/uapi/linux/ntsync.h
|
|
rm -f include/uapi/linux/ntsync.h
|
|
@@ -37,6 +36,10 @@ runs:
|
|
|
|
|
|
|
|
cp ${{ github.workspace }}/kernel_patches/common/ntsync/ntsync_base.patch ${{ github.workspace }}/kernel/common
|
|
cp ${{ github.workspace }}/kernel_patches/common/ntsync/ntsync_base.patch ${{ github.workspace }}/kernel/common
|
|
|
patch -p1 < ntsync_base.patch
|
|
patch -p1 < ntsync_base.patch
|
|
|
- cat >> "${{ github.workspace }}/kernel/common/arch/arm64/configs/gki_defconfig" << 'EOF'
|
|
|
|
|
- CONFIG_NTSYNC=y
|
|
|
|
|
- EOF
|
|
|
|
|
|
|
+
|
|
|
|
|
+ - name: Enable NTSync
|
|
|
|
|
+ uses: ./.github/actions/set-kernel-config
|
|
|
|
|
+ with:
|
|
|
|
|
+ config_list: |
|
|
|
|
|
+ CONFIG_NTSYNC=y
|
|
|
|
|
+
|