-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
rustc: Install compiler with toolchain at spksrc.tc.mk time #5508
Conversation
@hgy59 your pair of eye would be needed for this rust toolchain change. You can test the docker side of things from the documentation I added at the end of https://github.com/SynoCommunity/spksrc/wiki/Developers-HOW-TO EDIT: FYI, this is not fully tested yet but looks promising. |
@hgy59 friendly reminder if cycles allow for it to test this to significantly reduce our docker image size. Testing on my end looked good. |
9132d55
to
9f73359
Compare
rustc is now automatically downloaded based on arch being build starting with PR #5508
@hgy59 while I had tested this throughout it seems something isn't right with the rustup initial setup... I'll investigate tonight and if I can't find where the issue is I'll revert the change from master. |
@th0ma7 sorry for not providing feedback to this PR, so many WIP... |
@hgy59 I may have found the issue... in docker using priviledge mode it requires:
It seems I had forgotten to force rebuilding my local docker environment... build currently in progress to confirm rust environment works as expected... EDIT: I believe it's now fixed on master. |
@hgy59 so while this now works in priviledge Docker mode with the added fix, there is now something else in non-priviledge. There probably isn't much missing... Main issue is that everytime you install rustup it pokes your default Expect me to rework that last bit... Although feel free to chim-in and figure out it doesn't work in non-priv mode. EDIT: Believe I've found it... dam
I'll revisit tomorrow and perform full round of testing to confirm all use-cases are still OK and wetter the Dockerfile changes are really needed (which I doubt as I had tested that but probably added |
@hgy59 I believe it's now solved on master, hopefully permanently. |
Description
rustc: Install compiler with toolchain at spksrc.tc.mk time
Related to #5527 and #5475
Checklist
all-supported
completed successfullyType of change