-
-
Notifications
You must be signed in to change notification settings - Fork 501
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
DietPi-PREP | Allow non-interactive execution via environment variables #2745
Comments
@FredericGuilbault |
Just to avoid confusion (Cuz im good at being confused) In :
You mean you are going to do it and I don't have to do a pull request ? |
@FredericGuilbault And yes otherwise I would implement this anyway, after v6.23 release. |
Good, Ill make a PR,On an related topic, Im still trying to understand how dietpi is created, Do you have all those SBC at home? And at each version you download the original operating systeme, put it on a SD card, physicaly put the card in the SBC , boot the machine, wget the PREP_SYSTEM_FOR_DIETPI.sh, run it, put back the sd card on your computer, make an .img out of it, upload the .img on your website ? |
@FredericGuilbault We do not create new images on every DietPi release. Since DietPi updates itself (including all APT packages) on first boot, this is only required if critical changes to the base image have been done that cannot be patched (via APT). But if we create new images, then yeah this is how we do it. There exist some thoughts about running the script via qemu + chroot: #1775 |
Creating a feature request
Is your feature request related to a problem? Please describe:
when PREP_SYSTEM_FOR_DIETPI.sh is executed, it prompt for user input witch prevent the automation of the build process.
Describe the solution you'd like:
I have made change to the first 5 questions to support environment variables.
https://github.com/FredericGuilbault/DietPi/commit/95fddde83da22080c5351857e8561c7121f9cfdc
Im not sure about the naming convention and styling. So if you could review it before I continue that would be awesome.
I need this those changes to play nice with https://github.com/FredericGuilbault/lysmarine-build-tool
The text was updated successfully, but these errors were encountered: