Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for rpi-imager: Selection of DietPi #7450

Draft
wants to merge 8 commits into
base: dev
Choose a base branch
from

Conversation

StephanStS
Copy link
Collaborator

@StephanStS StephanStS commented Mar 8, 2025

Needed for rpi-imager integration:

  • DietPi logo
  • .json file (testwise extended, needs to be reduced later). File can be renamed to dietpi_list.json

To request DietPi to be integrated into rpi-imager OS list, these files need to be supplied.

Local usage (with extended .json file): rpi-imager --repo custom_os_list.json

DietPi logo needed for rpi-imager integration
@StephanStS StephanStS added the META Everything that is not code related, e.g. GitHub, Wiki, website, community label Mar 8, 2025
@StephanStS StephanStS added this to the v9.12 milestone Mar 8, 2025
@StephanStS StephanStS requested a review from MichaIng March 8, 2025 15:29
@StephanStS StephanStS self-assigned this Mar 8, 2025
@StephanStS StephanStS marked this pull request as draft March 8, 2025 16:03
@StephanStS StephanStS changed the title SVG and 40px PNG DietPi logo Support for rpi-imager: Selection of DietPi Mar 8, 2025
@MichaIng
Copy link
Owner

This is something to implement into rpi-imager itself, instead of in DietPi, isn't it? Or what would be the reason someone adds a custom OS via custom JSON and load it via console with rpi-imager, instead of just downloading and flashing the DietPi image directly?

Did you find the JSON in the source code? I could find the docs only 🤔: https://github.com/raspberrypi/rpi-imager/blob/qml/doc/json-schema/os-list-schema.json
Is it entirely hosted on a server outside of the source code repository? You mentioned there is a web mask to request adding a new OS to the RPi imager. Can you post the link?

@StephanStS
Copy link
Collaborator Author

This is something to implement into rpi-imager itself, instead of in DietPi, isn't it? Or what would be the reason someone adds a custom OS via custom JSON and load it via console with rpi-imager, instead of just downloading and flashing the DietPi image directly?

Did you find the JSON in the source code? I could find the docs only 🤔: https://github.com/raspberrypi/rpi-imager/blob/qml/doc/json-schema/os-list-schema.json Is it entirely hosted on a server outside of the source code repository? You mentioned there is a web mask to request adding a new OS to the RPi imager. Can you post the link?

It's there: https://forms.gle/cbsU27aLLVaxUXbw8
See also: raspberrypi/rpi-imager#545

I think there are these options:

  • Add RPI images via form (given above) to rpi-imager
  • Generate an own .json which also supports other hardware variants we support and somehow spread it via DietPi
  • Do both

StephanStS and others added 6 commits March 13, 2025 20:24
- Update logo URL
- Offer only 2 image per RPi model, except for RPi 2 which has a 32-bit and 64-bit capable revision
- Simplify image names
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
META Everything that is not code related, e.g. GitHub, Wiki, website, community
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants