diff options
author | Jonathan Cave <jonathan.cave@canonical.com> | 2019-10-11 10:39:30 +0100 |
---|---|---|
committer | Jonathan Cave <jonathan.cave@canonical.com> | 2019-10-11 10:39:30 +0100 |
commit | ab19cf34d2b5c169ab31c701fea133ce4ca8d577 (patch) | |
tree | cadde5c7314cdb4e7a21f593764c3f833bf8989d /units/kernel-snap | |
parent | 16864d5d15d2bac586f0962dfa380de8b2802bfe (diff) |
kernel-snap: booted kernel test updates
Use the bootloader resource to supply the location of the kernel image used for the current boot.
Diffstat (limited to 'units/kernel-snap')
-rw-r--r-- | units/kernel-snap/jobs.pxu | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/units/kernel-snap/jobs.pxu b/units/kernel-snap/jobs.pxu index ddc3581..3ccb687 100644 --- a/units/kernel-snap/jobs.pxu +++ b/units/kernel-snap/jobs.pxu @@ -14,7 +14,9 @@ imports: requires: ubuntu_core_features.force_kernel_extraction == 'True' -id: kernel-snap/booted-kernel-matches-current +unit: template +template-resource: bootloader +id: kernel-snap/booted-kernel-matches-current-{name} category_id: kernel-snap _summary: The booted kernel image matches image in current kernel snap _description: @@ -25,7 +27,7 @@ plugin: shell user: root estimated_duration: 2.0 command: - booted_kernel_tests.py + booted_kernel_tests.py {booted-kernel-path} imports: from com.canonical.certification import ubuntu_core_features requires: |