get config for running kernel on ubuntu snappy core

Marco Tangl Marco.Tangl at
Thu Apr 7 09:19:20 UTC 2016

Hi all,

I am trying to get the actual config for a running kernel.

Ubuntu snappy core 16.04 (amd64-all-snap.img<>?).

Can anyone help me, because I cant find it ..



Von: Luke Williams <luke.williams at>
Gesendet: Dienstag, 5. April 2016 18:02
An: Marco Tangl
Cc: snappy-devel at
Betreff: Re: kernel snap for generic_amd64 devices

Hi Marco,

I ran into the same exact thing. For some reason, the defconfig does not enable squashfs xz. You need to add that to your kconfigs section:

Then rebuild your snap using snapcraft and you'll be good to go.


Luke Williams - Support Engineer, Network Switches
email: luke.williams at<mailto:luke.williams at> |

On Apr 5, 2016, at 8:07 AM, Marco Tangl <Marco.Tangl at<mailto:Marco.Tangl at>> wrote:

Hi all,

I am trying to snap a kernel for my device which is running the mvo/amd64-all-snap.img,
without success so far :(

What I did:
1.       Downloaded kernel sources from git://
2.       Prepared a snapcraft.yaml file:
type: kernel
 plugin: kernel
  kdefconfig: [defconfig]
-          CONFIG_LOCALVERSION="-amd64"
-          CONFIG_DEBUG_INFO=n
-          CONFIG_SQUASHFS=m
-          squashfs

3.       Transferred generated kernel.snap (sudo snapcraft) to destination system (amd64-all-snap.img) and installed it.
Everything seemed to be ok .. I got the message "Reboot to use xxxkernel version xxx"
4.       Reboot system -> got stuck in initramfs

The thing is, I'm sure the yaml file isn't done in a correct way. Unfortunately I cannot find any helpful documentation (for me), examples on that topic.
Do you have an example covering this topic, or can you tell me what I am doing wrong ...

The reason why  I want to generate a kernel.snap is, that we have additional hardware for which we have a DKMS based kernel module.

Many thanks in advance,


snappy-devel mailing list
snappy-devel at<mailto:snappy-devel at>
Modify settings or unsubscribe at:

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the snappy-devel mailing list