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

missing folder for build modules #8

Open
vincentARM opened this issue Nov 9, 2019 · 2 comments
Open

missing folder for build modules #8

vincentARM opened this issue Nov 9, 2019 · 2 comments
Labels

Comments

@vincentARM
Copy link

Hello.
I have a problem to build kernel modules : the version /lib/modules/4.19.75-v8+ is not found in the container 64 bits.
Thank for you help.

@sakaki-
Copy link
Owner

sakaki- commented Nov 10, 2019

Hi @vincentARM,

there are (deliberately) no kernel modules inside the container, since these are actually provided by the host system.

You can either build build your out-of-tree modules in the host (Raspbian) system (still a full 64-bit kernel, even though the userland is 32-bits); or, if you absolutely have to, you can always add the /lib/modules directory to the container's list of bind mounts. To do the latter, edit the (host) file /etc/systemd/nspawn/debian-buster-64.nspawn (as root, or using sudo), and add to the [Files] section:

Bind=/lib/modules

Leave the rest of the file as-is, and save. Stop and start the container again. You should now find the (host's) modules directory is present inside.

hth, sakaki

@sakaki- sakaki- added the EOL label Oct 31, 2020
@sakaki-
Copy link
Owner

sakaki- commented Oct 31, 2020

31 Oct 2020: sadly, due to legal obligations arising from a recent change in my 'real world' job, I must announce I am standing down as maintainer of this project with immediate effect. For the meantime, I will leave the repo up (for historical interest, and since the Debian package is still in the official Raspbian repos); however, there will be no further updates to the underlying OS images etc., nor will I be accepting / actioning further pull requests or bug reports from this point. Email requests for support will also have to be politely declined, so, please treat this as an effective EOL notice.

For further details, please see my post here.

With sincere apologies, sakaki ><

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants