mirror of
https://github.com/commaai/agnos-builder.git
synced 2026-04-06 06:43:53 +08:00
8 lines
297 B
Bash
Executable File
8 lines
297 B
Bash
Executable File
#!/bin/bash -e
|
|
cd "$(dirname "$0")"
|
|
scp output/boot.img tici:/tmp/
|
|
#scp output/snd-soc-*.ko tici:/usr/comma/sound/
|
|
#scp output/wlan.ko tici:/usr/comma
|
|
ssh tici "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"
|
|
|