action.yml 607 B

12345678910111213141516171819202122232425262728
  1. name: add nomount
  2. description: add and configure nomount
  3. inputs:
  4. kernel_version:
  5. description: 'Kernel version (6.1)'
  6. required: true
  7. runs:
  8. using: composite
  9. steps:
  10. - name: apply nomount patch
  11. shell: bash
  12. run: |
  13. cd "$COMMON"
  14. patch -p1 "$NOMOUNT/kernel/patches/nomount_${{ inputs.kernel_version }}_kernel_integration.patch"
  15. - name: copy required files
  16. shell: bash
  17. run: |
  18. cd "$COMMON/fs"
  19. cp "$NOMOUNT/kernel/src/*" ./
  20. - name: add to defconfig
  21. shell: bash
  22. run: |
  23. cat >> "$GKI_DEFCONFIG" << 'EOF'
  24. CONFIG_NOMOUNT=y
  25. EOF