snapcraft kernel plugin puts module and firmware under 15.04-era lib/ directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
Critical
|
Loïc Minier |
Bug Description
I built a custom kernel with custom modules built in. I can build the kernel snap and build the custom image using ubuntu-image and install it on my device with no issues, however, when I try to list the installed modules, no modules are installed and I get an error message saying that the /lib/modules/`uname -r`/modules.dep.bin is missing, which, if I go to /lib/modules/ the directory is empty. However, if I browse to /snap/kernel/
I included the kernel snap, my redacted model, and the kernel snap snapcraft.yaml. I build the image with the following command:
sudo /snap/bin/
I'm running ubuntu-image 0.12+real1
Let me know if you need any other information.
Thanks,
Luke
affects: | ubuntu-image → snapcraft |
summary: |
- custom kernel doesn't mount /lib/modules/`uname -r` in custom image + snapcraft kernel plugin puts module and firmware under 15.04-era lib/ + directory |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
Can you tell us the contents of /proc/cmdline, and the output of “ls /var/lib/ snapd/snaps” and “snap list”? Thanks.