action.yml 688 B

12345678910111213141516171819202122232425
  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. "$COMMON/scripts/config" --file "$GKI_DEFCONFIG" --enable CONFIG_NTSYNC