RFC: our kernel snap "build" easily packages the wrong kernel version
Paolo Pisati
paolo.pisati at canonical.com
Wed Apr 26 13:47:36 UTC 2017
I still have to write some unit tests for that patch, and then i was
told to send it for review on the forum so don't expect it to land
anytime soon.
OTOH, in snapcraft 2.29 there's a new 'version: git' feature, so if
you tag your tree correctly you can use that to generate the version
field[1].
In case that doesn't work for you then yes, we'll need to fix the
string in our Makefile and your change makes sense and shouldn't cause
any regression because the version string there is just a visual clue
for when you list the snaps installed on your system - then only
version number that really matters is the sequential number associated
to every snap upload, and that is internally managed by the store.
1: https://github.com/snapcore/snapcraft/pull/1260
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. :-)
>
> -Kamal
>
> --
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team
--
bye,
p.
More information about the kernel-team
mailing list