Commit graph

6 commits

Author SHA1 Message Date
Jools Wills
03b55aa3b2 image - add bookworm image ini configuration 2024-01-28 12:16:44 +00:00
Jools Wills
3bd6acb363 image - update urls to correct images now rpios bookworm is released 2023-10-14 19:40:05 +01:00
Jools Wills
1e7d9efea8 Fix stretch image format in rpios-stretch configuration file 2023-09-30 20:34:00 +01:00
Jools Wills
f5ad10136b image - rework logic to use ini configuration for distributions
New function _get_info_image reads values from the distribution ini configuration files stored in image/dists

This simplifies the code and avoids having logic for different versions in multiple functions.

The ini format is as follows - it may change and be extended in the future.
The filename is the dist name that is passed into the building functions.
The current images now have a prefix "rpios-"

 * name: name of distro - eg buster
 * version: rpios/debian version
 * url: url for image file
 * format: format of the image file - currently supported is zip and xz (used by raspberrypi.org)
 * platforms: list of the platforms supported (eg. rpi1 rpi2 rpi3 rpi4)
 * file_PLATFORM (name to be used in the image file for each platform)

 * title_PLATFORM (user friendly name of file for each platform - used for rpi imager json)
2023-08-08 19:09:58 +01:00
cmitu
64d16476ec image: add a link to the project's web site. 2022-03-29 05:58:18 +01:00
Jools Wills
668270774d image - generate json file for rpi-imager on image creation 2020-11-04 21:59:57 +00:00