-
Notifications
You must be signed in to change notification settings - Fork 417
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
userland: fix installed-vs-shipped in multilib builds #1295
Conversation
Be aware that whole userland repo is marked as ancient and deprecated: raspberrypi/userland@96a7334 and explicitly says: "If you are using code from here you should rethink your solution." But even if your build is using vc4graphics in MACHINE_FEATURES to avoid most of userland, this issue with multilib was preventing do_install:append to actually remove those libraries provided by lib32-mesa when building lib32-userland (e.g. to provide virtual/libomxil or as dependency of raspidmx or runtime dependency of omxplayer). Signed-off-by: Martin Jansa <[email protected]>
10be99b
to
c2da1c5
Compare
Our builds are using vc4graphics and normally don't use lib32-userland. I've verified that for no-multilib builds there is no change in userland packages (other than CMakeLists.txt files in userland-dev):
And without vc4graphics: this is the diff with and without vc4graphics
and this change doesn't have any impact again:
So the only change is for multilib (or other non-standard libdir builds) where it caused installed-vs-shipped QA issue before and kept all libraries (when building with vc4graphics) and now it works correctly (or at least as well as non-multilib case does). |
With
it shows even more errors :)
and after
I didn't do any runtime testing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
And yes, we should start considering completely dropping userland. |
Be aware that whole userland repo is marked as ancient and deprecated: raspberrypi/userland@96a7334 and explicitly says:
"If you are using code from here you should rethink your solution."
But even if your build is using vc4graphics in MACHINE_FEATURES to avoid most of userland, this issue with multilib was preventing do_install:append to actually remove those libraries provided by lib32-mesa when building lib32-userland (e.g. to provide virtual/libomxil or as dependency of raspidmx or runtime dependency of omxplayer).