-
I'm certain that I just missed a piece of information that's hiding in plain sight. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 8 replies
-
We don't support Ubuntu at all. You need to use Debian image. Not sure if the build script is working outside GitHub because we use it for GitHub Actions. Furthermore it seem you did not specified architecture (-a) and Debian destro (-d). Btw there is no documentation for this feature as it is not intended for public usage. Usually people use the DietPi install script to build their own image and not the build script. https://dietpi.com/docs/hardware/#make-your-own-distribution |
Beta Was this translation helpful? Give feedback.
-
Interesting, it worked well here two weeks ago: https://github.com/MichaIng/DietPi/actions/runs/5718248624/job/15499287698 I also did just trigger a build with current master branch and same options: https://github.com/MichaIng/DietPi/actions/runs/5842585596
|
Beta Was this translation helpful? Give feedback.
-
I submitted a PR - the code doesn't pass shellcheck - not sure how to do this right 🤷🏼♂️🤣 |
Beta Was this translation helpful? Give feedback.
yup - looks like that was it.
I spun up an amd64 VM and am running it on there. Runs SIGNIFICANTLY slower than on the arm64 one, but on the flip side it works.
So somewhere in the code there's an assumption that if the system that is executing the code is an arm one, then it isn't cross building.
Longer term it may be worth removing that assumption :)
For now I think I have what I need. Thank you so much for your help.
I wonder if it's ok to mark my own summary as the answer as that actually explains what happens... of course the credit for helping me figure it out should go to you...