Skip to content
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

Support split lib and lib64 layout #255

Merged
merged 3 commits into from
Mar 17, 2022
Merged

Support split lib and lib64 layout #255

merged 3 commits into from
Mar 17, 2022

Conversation

pothos
Copy link
Member

@pothos pothos commented Mar 14, 2022

How to use

together with flatcar-archive/coreos-overlay#1713

Testing done

see linked PR

  • Changelog entries added in the respective changelog/ directory (user-facing change, bug fix, security fix, update)
    ↑ one in coreos-overlay

@pothos pothos changed the title build_library/check_root: use the new location for kernel modules split lib and lib64 support Mar 16, 2022
@pothos pothos changed the title split lib and lib64 support Support split lib and lib64 layout Mar 16, 2022
pothos added 3 commits March 17, 2022 11:56
The standard location is /usr/lib/modules but on Flatcar "lib" was a
symlink to "lib64". Now this is going to be split up in separate
directories but with compatibility symlinks.
Add the new location to the ignore list.
The os-release file was not only accessible through /usr/lib/ but
also through /usr/lib64 because "lib" was just a symlink.
Now that we split them up into two directories, add a compatibility
symlink in case /usr/lib64 was used to access os-release. A check
is added to also work without the split which is useful if the split
is not done for the SDK at the same time.
The output always was about amd64 because the board was not set.
Pass the board along.
@pothos pothos marked this pull request as ready for review March 17, 2022 11:26
@pothos pothos requested a review from a team March 17, 2022 11:26
@pothos pothos merged commit 96f68bd into main Mar 17, 2022
@pothos pothos deleted the kai/split-lib branch March 17, 2022 16:06
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.

2 participants