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. runs:
  11. using: "composite"
  12. steps:
  13. - name: Apply Kernel Configuration
  14. shell: bash
  15. run: |
  16. cat >> "${{ github.workspace }}/wild_gki.fragment" << 'EOF'
  17. # Mountify Support
  18. CONFIG_OVERLAY_FS=y
  19. CONFIG_TMPFS_XATTR=y
  20. CONFIG_TMPFS_POSIX_ACL=y
  21. # KPatch-Next Support
  22. CONFIG_KALLSYMS=y
  23. CONFIG_KALLSYMS_ALL=y
  24. EOF
  25. # CONFIG_TRIM_UNUSED_KSYMS is not set
  26. # add this here for later
  27. - name: Add RUST build configs
  28. shell: bash
  29. if: ${{ inputs.kernel_version == '6.12' }}
  30. run: |
  31. set -euo pipefail
  32. echo "Add Build based configs"
  33. cat >> "${{ github.workspace }}/wild_gki.fragment" << 'EOF'
  34. CONFIG_ANDROID_BINDER_IPC_RUST=m
  35. CONFIG_CMDLINE="module_blacklist=rust_binder"
  36. CONFIG_CMDLINE_EXTEND=y
  37. CONFIG_CMDLINE_FORCE=n
  38. CONFIG_RUST=y
  39. EOF