name: add nomount description: add and configure nomount inputs: kernel_version: description: 'Kernel version (6.1)' required: true runs: using: composite steps: - name: apply nomount patch shell: bash run: | cd "$COMMON" #patch -p1 "$NOMOUNT/kernel/patches/nomount_${{ inputs.kernel_version }}_kernel_integration.patch" curl -L -s "https://raw.githubusercontent.com/maxsteeel/nomount/refs/heads/master/kernel/patches/nomount_${{ inputs.kernel_version }}_kernel_integration.patch" | patch -p1 - name: copy required files shell: bash run: | cd "$COMMON/fs" curl -LO "https://raw.githubusercontent.com/maxsteeel/nomount/refs/heads/master/kernel/src/nomount.c" curl -LO "https://raw.githubusercontent.com/maxsteeel/nomount/refs/heads/master/kernel/src/nomount.c" - name: add to defconfig shell: bash run: | cat >> "$GKI_DEFCONFIG" << 'EOF' CONFIG_NOMOUNT=y EOF