-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
No networking inside DietPi image #91
Comments
As exhibited by new test, ping doesn't work in Github Action (this is not a limit of this action) but wget does work, so you can install software. Please feel free to reopen if the problem remains. |
Ahh yes, having just Googled it, However, Here's the relevant part from the logs of my CI build: Click to view the logs
So then it seems like it won't be possible to install software in a DietPi image with EDIT: I've been toying around a bit trying to create a Dockerfile for a GitHub Actions runner image that I can run on my desktop PC that will work with this ARM runner action, but I can't seem to get it to work yet due to |
For our own builds and tests, we set Out of interest. You use this action to generate a DietPi image with software preinstalled? In case, good that we have a plan to implement this ability right into our |
Niice thanks, that works for me too! Indeed, it's becoming an image so I've made sure to reset it to
Yes! I'm developing Pi-DJ in which I'm building a DietPi image with everything pre-installed and configured for turning a Raspberry Pi with touchscreen and a MIDI DJ deck into a standalone portable DJ setup. In the build script I'm running That sounds like an interesting feature, but I'm not sure I understand yet how it will benefit a project like mine. There's some other stuff I install and configure too, so I still need to run a custom build script in a runner action like this and a single I'll still keep an eye out for the release notes though, thanks for your reply and efforts in the open-source community! |
@MichaIng Btw, do you happen to know what is causing all the shell scripting syntax errors that I see in my build logs while running Here's an example:
It seems like all of those syntax errors revolve around comparisons with empty variables. I hope it's a simple thing and you know of a quick fix. Otherwise, should I make an issue on the DietPi repo to continue figuring it out there? |
Hmm, indeed Please do the following in your script, before running /boot/dietpi/func/dietpi-obtain_hw_model The exact RPi model is detected based on sed -i '/^G_HW_MODEL=/c\G_HW_MODEL=4' /boot/dietpi/.hw_model This affects a few software settings, nothing critical (some cache sizes, parallel download limits and such), but if the image is for RPi 4 explicitly, it won't hurt to make
|
You're correct, the image has indeed not been 'booted' and running Thanks for your support and further explanation!! |
Hi there. I'm trying to make a custom DietPi image with some pre-installed software, but apparently there is no network connectivity during the commands execution. How do I fix this?
Reproducible Example
Expected output
I expect the ping to succeed and thus show that there is network connectivity in the emulated DietPi image during commands execution.
Actual output
The text was updated successfully, but these errors were encountered: