action.yml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. name: 'Setup Misc Configs'
  2. description: 'Set up kernel configuration fragment with miscellaneous options'
  3. inputs:
  4. kernel_version:
  5. description: 'Kernel version (e.g., 6.1)'
  6. required: true
  7. android_version:
  8. description: 'Android version (e.g., android14)'
  9. required: true
  10. sublevel:
  11. description: 'Sublevel of kernel version (e.g., 1)'
  12. required: true
  13. runs:
  14. using: "composite"
  15. steps:
  16. - name: Apply Kernel Configuration
  17. shell: bash
  18. run: |
  19. cat >> "${{ github.workspace }}/wild_gki.fragment" << 'EOF'
  20. # Mountify Support
  21. CONFIG_OVERLAY_FS=y
  22. CONFIG_TMPFS_XATTR=y
  23. CONFIG_TMPFS_POSIX_ACL=y
  24. # KPatch-Next Support
  25. CONFIG_KALLSYMS=y
  26. CONFIG_KALLSYMS_ALL=y
  27. EOF
  28. # CONFIG_TRIM_UNUSED_KSYMS is not set
  29. # add this here for later
  30. - name: Add RUST build configs
  31. shell: bash
  32. if: ${{ inputs.kernel_version == '6.12' && inputs.android_version == 'android16' && inputs.sublevel >= '58' }}
  33. run: |
  34. set -euo pipefail
  35. echo "Add Build based configs"
  36. cat >> "${{ github.workspace }}/wild_gki.fragment" << 'EOF'
  37. # CONFIG_ANDROID_BINDER_IPC_RUST is not set
  38. CONFIG_ANDROID_BINDER_IPC_RUST_DUMMY=m
  39. EOF