Files
agnos-builder/load_kernel.sh
2022-12-06 15:14:13 +01:00

8 lines
241 B
Bash
Executable File

#!/bin/bash -e
cd "$(dirname "$0")"
DEVICE=tici-ethernet
scp output/boot.img $DEVICE:/tmp/
ssh $DEVICE "sudo dd if=/tmp/boot.img of=/dev/disk/by-partlabel/boot_a && sudo dd if=/tmp/boot.img of=/dev/disk/by-partlabel/boot_b && sudo reboot"