mirror of
https://github.com/commaai/agnos-builder.git
synced 2026-07-10 01:02:08 +08:00
13 lines
234 B
Bash
Executable File
13 lines
234 B
Bash
Executable File
#!/bin/bash -e
|
|
set -e
|
|
|
|
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null && pwd)"
|
|
cd $DIR
|
|
|
|
fastboot --set-active=a
|
|
fastboot erase system_a
|
|
fastboot flash system_a $DIR/output/system-skip-chunks.img
|
|
fastboot continue
|
|
|
|
echo "Done!"
|