action.yml 659 B

1234567891011121314151617181920212223242526272829
  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/nomount.c" ./
  20. cp "$NOMOUNT/kernel/src/nomount.h" ./
  21. - name: add to defconfig
  22. shell: bash
  23. run: |
  24. cat >> "$GKI_DEFCONFIG" << 'EOF'
  25. CONFIG_NOMOUNT=y
  26. EOF