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

As of FHS, kernel modules should be under /lib/modules, not /usr/lib/modules #67

Open
wgja opened this issue Aug 17, 2021 · 1 comment

Comments

@wgja
Copy link

wgja commented Aug 17, 2021

This code in runme.sh incorrectly installs kernel modules under /usr/lib/modules in the target filesystem:

e2mkdir -G 0 -O 0 $ROOTDIR/images/tmp/ubuntu-core.ext4:usr/$i

As of the current File system Hierarchy Standard of Linux it should be under /lib/modules: https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s09.html
Many tools expect modules for the currently executing kernel to be under /lib/modules .

@justizin
Copy link
Contributor

justizin commented Dec 6, 2022

Just noting here this appears to have been addressed in the latest image(s).

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

No branches or pull requests

2 participants