action.yml 680 B

1234567891011121314151617181920212223242526
  1. name: add ntsync
  2. description: integrate ntsync into kernel
  3. inputs:
  4. android_version:
  5. description: 'Android version (android14)'
  6. required: true
  7. kernel_version:
  8. description: 'Kernel version (6.1)'
  9. required: true
  10. runs:
  11. using: composite
  12. steps:
  13. - name: apply ntsync patches
  14. shell: bash
  15. run: |
  16. cd "$COMMON"
  17. patch -p1 < "$KERNEL_PATCHES/common/ntsync/ntsync_base.patch"
  18. patch -p1 < "$KERNEL_PATCHES/common/ntsync/ntsync_compat_${{ inputs.android_version }}-${{ inputs.kernel_version }}.patch"
  19. - name: enable ntsync config
  20. shell: bash
  21. run: |
  22. cat >> "$GKI_DEFCONFIG" << 'EOF'
  23. CONFIG_NTSYNC=y
  24. EOF