Ship non-sparse system image in OTA (#275)

* removed system-skip-chunks image

* removed sparsed system.img

* clean github workflow

* copy image to output

* fake system-skip-chunks [upload]

* sparse key must exist otherwise KeyError: 'sparse' in openpilot

* reduce image size to 5G otherwise MemoryError: Unable to allocate output buffer. in openpilot

* [upload]

* Revert "fake system-skip-chunks"

This reverts commit bcd11e7e32.

* recreate 10G image [upload]

* resize2fs

* resize2fs shrink image

* revert skip-chunks image

* cleanup

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
This commit is contained in:
Andrei Radulescu
2024-08-18 22:55:18 +03:00
committed by GitHub
parent a8df3e3f3c
commit bdb9394d62
9 changed files with 27 additions and 28 deletions
+1
View File
@@ -9,6 +9,7 @@ sudo dd if=/data/tmp/boot.img of=/dev/disk/by-partlabel/boot_a
sudo dd if=/data/tmp/boot.img of=/dev/disk/by-partlabel/boot_b
sudo mount -o rw,remount /
sudo resize2fs $(findmnt -n -o SOURCE /)
sudo mv /data/tmp/wlan.ko /usr/comma/wlan.ko
rm -rf /data/tmp/*
sudo mount -o ro,remount / || true