mirror of
https://github.com/commaai/agnos-builder.git
synced 2026-07-09 16:52:05 +08:00
36fc190bc8
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
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 $OUTPUT_DIR/system-skip-chunks.img
|
|
fastboot continue
|
|
|
|
echo "Done!"
|