mirror of
https://github.com/commaai/agnos-builder.git
synced 2026-08-23 01:04:08 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user