Skip to content

Create subitem JSON + new workflows to support rpi-imager 2.0 #2015

@billz

Description

@billz

Discussed in #2014

Originally posted by @RichardHowells November 25, 2025

The quick start suggests using one of the prebuilt images, and mentions the need to use Raspberry Pi imager, or similar, to set a user id and password.
I discovered that the 2.0 version does not allow you to do that. I downgraded to the last of the 1.9 versions which does allow setting user id/password before burning the image to the SD card.

Description

While I understand the rationale behind the decision to move rpi-imager in this direction, it does complicate things for custom OS providers in the near term.

Providing a subitem JSON file to include RaspAP in rpi-imager would (re)enable the OS customizations. While it's nice to have a custom entry in rpi-imager, it raises a few concerns:

  1. The entry is pinned to a specific release of RaspAP until the next rpi-imager release. Our release cadence is substantially higher than rpi-imager, so our users will be forced to download an old version and update it.
  2. Our build generates compressed .img.zip files with sha256 signatures, but not the extract sha256 + sizes. This requires modifying the build to record the uncompressed arm64 + armhf image sizes, and computing their sha256 signatures.
  3. It requires a new automated workflow to generate an updated JSON file, and open a PR with rpi-imager after each release.
  4. Our torrent files are rendered (mostly) useless. This leaves bandwidth constrained users out in the cold.

The alternative is to ignore rpi-imager completely, and give our users clear instructions to provide their own userconf in the root partition.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions