Merge ~canonical-kernel-team/+git/autotest-client-tests:phlin/bt-core-apt into ~canonical-kernel-team/+git/autotest-client-tests:master
Status: | Merged |
---|---|
Merge reported by: | Po-Hsu Lin |
Merged at revision: | 3fd89848bc328bcd7ad486ad421445ce7bd5cb28 |
Proposed branch: | ~canonical-kernel-team/+git/autotest-client-tests:phlin/bt-core-apt |
Merge into: | ~canonical-kernel-team/+git/autotest-client-tests:master |
Diff against target: |
33 lines (+9/-4) 1 file modified
ubuntu_boot/ubuntu_boot.py (+9/-4) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Francis Ginther | Approve | ||
Sean Feole | Approve | ||
Review via email:
|
Commit message
* UBUNTU: SAUCE: ubuntu_boot: print OS info with os-release file
KERNTT-464
Use /etc/os-release for printing out OS information. So that we don't
need to have extra dependency for using lsb_release command on core
systems.
* UBUNTU: SAUCE: ubuntu_boot: skip apt commands on core system
KERNTT-464
There is no apt command on Ubuntu Core system. Detect if we are running
on a core system by checking for "snapd_
Package dependency will be handled by snapcraft.
* UBUNTU: SAUCE: ubuntu_boot: rename control file
KERNTT-464
Rename control file from control.ubuntu to control. It's the only way
to allow autotest to recognize the test without specifying where the
control file is.
With this change you can run it with something like:
autotest/
This is essential for snap testing as we will need to ship tests
along with autotest.
Description of the change
Breaking my ubuntu_boot test tweaks for core systems into a couple of easy-to-review small pieces.
+1 from me Thanks for these