mirror of
https://github.com/armbian/actions.git
synced 2026-01-06 10:36:19 -08:00
Update action.yml
This commit is contained in:
@@ -47,7 +47,7 @@ runs:
|
||||
# read u-boot
|
||||
root_uuid=$(ssh -o StrictHostKeyChecking=no root@${{ inputs.DUT_IP }} "sed -e 's/^.*root=//' -e 's/ .*$//' < /proc/cmdline" || true)
|
||||
root_partition_device=$(ssh -o StrictHostKeyChecking=no root@${{ inputs.DUT_IP }} "blkid | tr -d '\":' | grep \"${root_uuid}\" | awk '{print \$1}' | rev | cut -c3- | rev" || true)
|
||||
echo "UBOOT=$(ssh -o StrictHostKeyChecking=no root@${{ inputs.DUT_IP }} "dd status=none if=${root_partition_device} count=5000 | strings | grep armbian | grep U-Boot | tail -1 | grep -P \"[0-9]{4}.[0-9]{2}\" -o")" >> $GITHUB_ENV
|
||||
echo "UBOOT=$(ssh -o StrictHostKeyChecking=no root@${{ inputs.DUT_IP }} "dd status=none if=${root_partition_device} count=5000 | strings | grep armbian | grep U-Boot | tail -1 | grep -P \"[0-9]{4}.[0-9]{2}\" -o" || true )" >> $GITHUB_ENV
|
||||
fi
|
||||
|
||||
- name: "Armbianmonitor"
|
||||
|
||||
Reference in New Issue
Block a user