Skip to content

Conversation

@Hook25
Copy link
Collaborator

@Hook25 Hook25 commented Apr 28, 2025

Description

The upgrade of fwts broke the snap in a few situations because by default the autotools recipe installs fwts and its libray in /usr and in the snap /usr/lib/* is not always in LD_LIBRARY_PATH. This makes Checkbox canary fail!

It is unclear to me how it works on core16 right now, but better safe than sorry, I'm moving all installtion to be global, as I see no downside to it.

See: https://certification.canonical.com/hardware/202302-31257/submission/425313/test/58147/result/48590487/

Resolved issues

Fixes: CHECKBOX-1884

Documentation

Documented why this is actually needed, as I'm pretty sure it was there on some platforms but it wasn't documented

Tests

Built and tested the failing test on core24 and it now works as expected.
Building here: https://github.com/canonical/checkbox/actions/runs/14709968840
And here: https://github.com/canonical/checkbox/actions/runs/14709966174
To be sure I didnt bork the builds

This is to avoid having to do weird hacks with the PATH and
LD_LIBRARY_PATH to make both the lib and the bin accessible
@Hook25 Hook25 marked this pull request as draft April 28, 2025 14:12
@Hook25 Hook25 marked this pull request as ready for review April 28, 2025 16:19
@pieqq pieqq merged commit deaf425 into main Apr 28, 2025
58 checks passed
@pieqq pieqq deleted the fwts_global branch April 28, 2025 18:00
Meulengracht pushed a commit to Meulengracht/checkbox that referenced this pull request May 19, 2025
…cal#1891)

Install fwts globally in the snap instead of in /usr

This is to avoid having to do weird hacks with the PATH and
LD_LIBRARY_PATH to make both the lib and the bin accessible
mreed8855 pushed a commit that referenced this pull request Jul 30, 2025
Install fwts globally in the snap instead of in /usr

This is to avoid having to do weird hacks with the PATH and
LD_LIBRARY_PATH to make both the lib and the bin accessible
mreed8855 pushed a commit that referenced this pull request Jul 31, 2025
Install fwts globally in the snap instead of in /usr

This is to avoid having to do weird hacks with the PATH and
LD_LIBRARY_PATH to make both the lib and the bin accessible
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants