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 -1
View File
@@ -49,7 +49,7 @@ jobs:
- name: Push boot, system and agnos.json
working-directory: ${{ github.workspace }}/ci-artifacts
run: |
mv ota.json agnos.json && rm ota-staging.json system-skip-chunks-*.img.xz
mv ota.json agnos.json && rm ota-staging.json
git checkout -b agnos-builder/pr-${{ env.PR_NUMBER }}
git config user.name "GitHub Actions Bot"
git config user.email "<>"