Files
workflow-flash-with-uboot/.gitea/workflows/boot-config.yml
T
2026-11-09 21:01:04 +03:30

29 خطوط
836 B
YAML

name: Inspect and Configure Boot Arguments
on:
workflow_dispatch:
inputs:
confirm_squashfs_mtdblock3:
description: 'Confirm RootFS is actually SquashFS on mtdblock3 and set bootargs'
required: false
type: boolean
default: false
jobs:
boot-config:
runs-on: serial-runner
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Inspect boot settings and optionally set verified bootargs
env:
CONFIRM_SQUASHFS_MTDBLOCK3: ${{ inputs.confirm_squashfs_mtdblock3 }}
run: |
if [ "$CONFIRM_SQUASHFS_MTDBLOCK3" = "true" ]; then
/usr/bin/python3 scripts/serial_command.py boot-config --confirm-squashfs-mtdblock3
else
/usr/bin/python3 scripts/serial_command.py boot-config
fi