RFC: our kernel snap "build" easily packages the wrong kernel version

Andy Whitcroft apw at canonical.com
Sun Apr 30 06:07:43 UTC 2017

> On Fri, Apr 21, 2017 at 8:59 PM, Kamal Mostafa <kamal at canonical.com> wrote:
> > On Fri, Apr 21, 2017 at 11:47:25AM -0700, Kamal Mostafa wrote:
> >> This version: string in snapcraft.yaml *looks* like a kernel version number
> >> [...]
> >
> > And, I see that Paolo's message "[ACTIVITY] Apr-17 to Apr-21" references work
> > on this same topic.  I'll touch bases with Paolo about the 'version: deb'
> > feature and possibly revise or rescind this RFC.  :-)

There is now a version-script: stanza which lets you run something
which prints out the version instead.  So you could use that to set the
version to the version of the .deb linux-image you are going to download.
Note that you have to still supply a version: which is ignored (this
makes no sense and in testing I have set it to '-' without issue).


More information about the kernel-team mailing list