-
Notifications
You must be signed in to change notification settings - Fork 56
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
Improve package updates reporting and add more build deps to SDK #2615
Conversation
CI passed. |
Build action triggered: https://github.com/flatcar/scripts/actions/runs/13675214714 |
I think there might be a better way, at least for including the build dependencies. In Portage 3.0.66, I changed |
The point here is that we want those build dependencies to be a part of the SDK, but it is not about where the build dependencies are installed (ROOT or /), but rather when they are being built. I want all the build dependencies of the board packages to be built and installed during the SDK build job. But there were still some build dependencies that were absent in SDK, so they were built during board packages job. |
Ah, I see. |
I assume you meant
Ah, well, that's the nature of the evolving software, isn't it? |
No,
Yes. I've already coded it up and it works. Just gathering opinions on the option name.
New in 2018. 😛 I introduced it though, so I suppose it's my fault! |
Got it. But wouldn't it be better to have
Cool. Do you want to add this feature to flatcar as a user-patch instead of a part of this PR? Or do we merge this PR and use your feature when it's merged into portage?
That's why I said "relatively". :P |
I thought that too, but we'd still need the old options for compatibility, and it would probably just be even more confusing than it already is.
The former. I've had one response that said ddeps is fine. Good enough. |
I've checked the patch applies and pushed it. I'll leave you to plumb it in. I guess that should happen in catalyst_sdk.sh?
I haven't pushed it upstream yet, so please let me know if it works. |
cf2f3cd
to
c53d81e
Compare
Thanks, I'll try it out. I used a different command (
Let's see how it goes, I updated a link to the Jenkins build in the first message above. |
|
These dependencies are pulled into SDK at some point during the multi-stage SDK build, but our package automation is not smart enough to catch this. Help it by listing some packages explicitly.
Without those additions, these packages are being built into the SDK during the board packages job.
c53d81e
to
309fb0e
Compare
Reverted to listing the packages explicitly - the portage patch did not work as expected. |
CI: http://jenkins.infra.kinvolk.io:8080/job/container/job/sdk/1956/cldsv/
This PR affects SDK only - it has some dependencies specified explicitly (for the package update automation) and it will now have all the build dependencies of the board packages, so the board-package-build job won't be building stuff for SDK anymore.