Skip to content

Write a python tool to generate apertis-oslist.json (for rpi-imager)

Background

rpi-imager uses a file apertis-oslist.json to propose apertis images to flash on rpi. This file is manually generated in templates-rpi-oslist.yml, this is errors prone and not easy to read. It would be better to write a small python tool generating these json files.

It would be worth to replace this shell tool as well: https://gitlab.apertis.org/infrastructure/apertis-infrastructure/-/blob/main/release-scripts/create-rpi-oslist and to move it in apertis-dev-tools?

Reproducibility

How often the issue is hit when repeating the steps to reproduce and changing nothing?

Put the in the most appropriate entry:

  1. always
  2. often, but not always
  3. rarely

Impact of bug

Less maintenance work for apertis-oslist.json.

Outcomes

TBD

Management data

This section is for management only, it should be the last one in the description.

/cc @em @Balasubramanian @sudarshan @wlozano

Phabricator link: https://phabricator.apertis.org/T10743

Edited by Dylan Aïssi