mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-19 01:53:57 +08:00
* agnos updater * add manifest * fix path * get manifest from overlay * update manifest * remove merge markers * add streaming decompressor * dont need read all * Unsparsify * Fix output filename * Optimization * cleanup * Small cleanup * Read manifest from merged overlay * Write hash at end of partition * Sync before writing hash * Write bytes in file * add manifest with image sizes * Fix manifest path * File was closed already * Format string * Put raw hash * Read hashes in launch script * update launch script * should be agnos version * fix slot * Make sure we clear the hash * Verify partition size * move updated * Standalone flasher * Don't rely on ordering * Get path * Debug log * Download agnos * Info is enough * update manifest * Remove f * Check downloader return code * Exit on wrong manifest * Fix typos * Set pythonpath before hardware init * move agnos into hardware folder * remove comments * Fix abstractmethod Co-authored-by: Comma Device <device@comma.ai> Co-authored-by: Willem Melching <willem.melching@gmail.com>
22 lines
401 B
Bash
Executable File
22 lines
401 B
Bash
Executable File
#!/usr/bin/bash
|
|
|
|
export OMP_NUM_THREADS=1
|
|
export MKL_NUM_THREADS=1
|
|
export NUMEXPR_NUM_THREADS=1
|
|
export OPENBLAS_NUM_THREADS=1
|
|
export VECLIB_MAXIMUM_THREADS=1
|
|
|
|
if [ -z "$REQUIRED_NEOS_VERSION" ]; then
|
|
export REQUIRED_NEOS_VERSION="15-1"
|
|
fi
|
|
|
|
if [ -z "$AGNOS_VERSION" ]; then
|
|
export AGNOS_VERSION="0.1"
|
|
fi
|
|
|
|
if [ -z "$PASSIVE" ]; then
|
|
export PASSIVE="1"
|
|
fi
|
|
|
|
export STAGING_ROOT="/data/safe_staging"
|