On Wed, Feb 08, 2017 at 01:07:34PM +0100, Oliver Grawert wrote: > > yes, i belive the snapcraft team together with the kernel team are > working on a fix for this [1], the snapcraft kernel plugin seems to put > the modules and firmware in a /lib subdir in the snap package which is > wrong [2] and will not make them end up in the final place on the > filesystem.
I hit [1] too when rebuilding an image for the dragonboard410c yesterday, and i wrote a snapcraft patch that creates symlinks from /lib/modules to /modules and from /lib/firmware to /firmware but it wasn't enough, because during the staging phase, snapcraft complains that: ... IsADirectoryError: [Errno 21] Is a directory: '/home/flag/canonical/snapcraft/demos/96boards-kernel/snap/stage/modules' And that is problably because symlinks are not maintained from build to stage (and afterward). Here is the python call trace and full log: http://pastebin.ubuntu.com/23954641/ 1: https://bugs.launchpad.net/snapcraft/+bug/1658177 -- bye, p. -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft