name: add nomount description: add and configure nomount runs: using: composite steps: - name: clone nomount repo shell: bash run: | git clone https://github.com/maxsteeel/nomount.git -b dev NOMOUNT="$ROOT/nomount" echo "NOMOUNT=$NOMOUNT" >> $GITHUB_ENV - name: apply nomount patch shell: bash run: | cd "$COMMON" #patch -p1 "$NOMOUNT/kernel/patches/nomount_$KERNEL_VERSION_kernel_integration.patch" curl -L -s "https://raw.githubusercontent.com/maxsteeel/nomount/refs/heads/dev/kernel/patches/nomount_$KERNEL_VER_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/dev/kernel/src/nomount.c" curl -LO "https://raw.githubusercontent.com/maxsteeel/nomount/refs/heads/dev/kernel/src/nomount.h" - name: add to defconfig shell: bash run: | "$COMMON/scripts/config" --file "$GKI_DEFCONFIG" --enable CONFIG_NOMOUNT