-
Notifications
You must be signed in to change notification settings - Fork 324
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
image too big when building with additional packages and Gluon based on OpenWrt 22.03 #2501
Comments
with the recent optimizations in #2508 #2509 and #2510 the issue is not that prominent anymore. thanks @NeoRaider @blocktrron |
I'd still like to look into the excessive size increase of the luaposix package. |
I just ran into this issue for the RE450 and the build process gave quite well feedback, that the image is too big and therefore no file is created. The bash file then tries to copy from Then it terminates and subsequent images (which are not affected from this) are also not showing up in the output folder. I could not find where it is copied, but it would be much better if this is more failsafe to copy the other images? |
no problem with gluon per-se, look at #2581 (comment) |
Thank you for your help with my site.mk! Yet, I would still suggest that the build script should not stop copying the other successful images which were build successfully, If one image can't be found? More specifically - catch the error copying a non-existing file in L54 inside the loop per device: Lines 48 to 54 in ac24b70
In my case, the build log looked like this:
which stopped copying the other images |
collecting all the missing files, copying those that exist and then printing an error about which files were missing and which targets they were from. that would be the stopgap, maybe I'll take a look. |
did you take a look at the size increase of the luaposix package, yet? @NeoRaider |
after the merge of #2426 there's much additional space needed by Gluon, leading to the impossibility to include stuff like usb kernel modules if you want the builds to succeed generating images.
the actual error messages vary, sometimes there's "image too big" but sometimes there's only the obscure bash error
bash: line 1: 8: Bad file descriptor
followed byFailed to open firmware file
the issue was observed when building ath79-generic images for devices with 8MB flash
maybe we need to try to strip new features off of the newer kernel, like we did in the past when we wanted to fit Gluon onto 4MB flash
The text was updated successfully, but these errors were encountered: