Skip to content

Add dietpi to community pi-imager #5364

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

Open
guysoft opened this issue Mar 17, 2022 · 5 comments · May be fixed by #7450
Open

Add dietpi to community pi-imager #5364

guysoft opened this issue Mar 17, 2022 · 5 comments · May be fixed by #7450
Labels
Feature request 🏭 META Everything that is not code related, e.g. GitHub, Wiki, website, community

Comments

@guysoft
Copy link

guysoft commented Mar 17, 2022

Creating a feature request

Is your feature request related to a problem? Please describe:

Hey, I got a request to add dietpi to the community rpi-imager I am maintaining called pi-imager:
https://github.com/guysoft/pi-imager
I am also the creator of CustomPiOS :)

Describe the solution you'd like:

To serve the latest imager, a json file needs to be created and hosted pointing to the latest image for people to download.
an example would look like this:
https://unofficialpi.org/rpi-imager/rpi-imager-hotspotos.json

Describe alternatives you've considered:

Having people downloading the imager and then flashing it manually as today.
The advantage with the imgaer is that in one click you download and flash the latest image. Its also really handy when you test nightly builds.

Additional context

Another option could be that you could fork your own imager. I added ci/cd in place so every commit builds a windows/mac/linux build.
Or you could submit a request to the official rpi-imgaer. I just know that my pi-imager would welcome this :)

Talks where this was suggested:
https://forums.balena.io/t/i-forked-rpi-imager-and-thought-it-might-be-an-improvment-for-you-over-balena-etcher/354705/2

@Joulinar
Copy link
Collaborator

We offer quite a lot of images for various SBC. Are you looking for images related to RPI platform only?

@guysoft
Copy link
Author

guysoft commented Mar 17, 2022

I suggested that on the raspberry rpi-imager issue tracker and my comment got removed.
That followed an email and a talk with rpi trading limited. We are on good terms, and I really don't want to piss of the Rpi foundation. I like what they do when it comes to device quality and promoting open source hardware.

Honestly I am quite conflicted with that since I have quite a lot of my open source work revolving raspberrypi. but I don't like concept of vendor lock-in neither. So at the moment my stand is I will do that only if there is overwhelming request and usage for this that would justify making such a move that could cost me personally (which is not the case at the moment, the imager is not that popular yet being released this month).

You are also welcome to fork the current imager, as mentioned in the Additional context section. My current build removes all trademark and has ci/cd for all 3 operating system, its plug and play really. The json management is hosted on github pages with actions too.

@MichaIng
Copy link
Owner

I tried to implement it into rpi-imager (though I'm no C coder) and one issue is that 7z archives are not well supported. The underlying archive library does support it, but archives are handled a way which does not work with the DietPi images currently. We're already thinking to switch to single xz-compressed image files, having a hash and a signature as dedicated download, but until then it is at least difficult to implement. I'll have a look into pi-imager, probably it is easier there.

@MichaIng MichaIng added the META Everything that is not code related, e.g. GitHub, Wiki, website, community label Mar 17, 2022
@nafanz
Copy link

nafanz commented Mar 30, 2025

How about we return to the discussion of including the image in the official rpi-imager?

This is being discussed again here raspberrypi/rpi-imager#1025

As for the fork mentioned here, it has not been developed for the last two years.

So I decided not to create a new theme for the official rpi-imager, but to use this one.

@MichaIng
Copy link
Owner

Yeah we were digging into it already: #7450
Seems to be sufficiently easy to take the relevant part of the JSON, host it on our server (update hashes there whenever images are updated), and do a request with the provided online form.

@MichaIng MichaIng linked a pull request Apr 19, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request 🏭 META Everything that is not code related, e.g. GitHub, Wiki, website, community
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants