kernel plugin: introduce a _get_kernel_version() helper

Bug #1804622 reported by Paolo Pisati
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
Status tracked in Trunk
Legacy
New
Undecided
Unassigned
Trunk
New
Undecided
Unassigned

Bug Description

Make the kernel plugin extract the kernel version from the Linux source code tree and take decision using this extracted data:

at the moment, i'm skipping the 'make firmware_install' step if kernel version >= 4.14 (since that target was retired in 4.14 and compilation would fail there) but in the future i want to exploit this feature to adjust the kernel config based off the specific kernel version we are building.

Revision history for this message
Paolo Pisati (p-pisati) wrote :
Changed in snapcraft:
milestone: none → 3.1
tags: added: 19.04
tags: added: 19.04-blue
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.