action.yml 790 B

123456789101112131415161718192021222324252627
  1. name: 'Setup CIFS Configs'
  2. description: 'Enable CIFS/network filesystem kernel configs and apply version-specific fixes'
  3. inputs:
  4. version:
  5. description: 'Kernel config version (e.g., android16-6.12)'
  6. required: true
  7. runs:
  8. using: "composite"
  9. steps:
  10. - name: Enable CIFS Configs
  11. uses: ./.github/actions/set-kernel-config
  12. with:
  13. config_list: |
  14. CONFIG_CIFS=y
  15. CONFIG_NETWORK_FILESYSTEMS=y
  16. CONFIG_NETFS_SUPPORT=y
  17. CONFIG_KEYS=y
  18. CONFIG_CIFS_XATTR=y
  19. CONFIG_CIFS_POSIX=y
  20. - name: Fix CIFS on android16-6.12
  21. shell: bash
  22. working-directory: ${{ github.workspace }}/kernel/common
  23. if: inputs.version == 'android16-6.12'
  24. run: |
  25. sed -i '/"fs\/netfs\/netfs\.ko",/d' modules.bzl