Merge ~sylvain-pineau/checkbox-core-snap:full-i2c-tools into checkbox-core-snap:master

Proposed by Sylvain Pineau
Status: Merged
Approved by: Sylvain Pineau
Approved revision: 0049644ec5a0db2358cdb4ff801a111599961fc3
Merged at revision: 19ed7ef1c76ff7f6b27580d7081669c9f1986070
Proposed branch: ~sylvain-pineau/checkbox-core-snap:full-i2c-tools
Merge into: checkbox-core-snap:master
Diff against target: 26 lines (+1/-7)
1 file modified
snap/snapcraft.yaml (+1/-7)
Reviewer Review Type Date Requested Status
Gavin Lin (community) Approve
Review via email: mp+372397@code.launchpad.net

Description of the change

On bionic all i2c tests are failing because we can't load a shared library:

i2cdetect: error while loading shared libraries: libi2c.so.0: cannot open shared object file: No such file or directory

It does not happen on uc16 as there no such split between i2c tools and libs, executables are self-contained and https://packages.ubuntu.com/bionic/libi2c0 does not even exist.

To post a comment you must log in.
Revision history for this message
Gavin Lin (gavin.lin) wrote :

+1, since it's required on bionic.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
2index 8383afb..5efae38 100644
3--- a/snap/snapcraft.yaml
4+++ b/snap/snapcraft.yaml
5@@ -189,6 +189,7 @@ parts:
6 - gstreamer1.0-pulseaudio
7 - try: [hdapsd] # optional as not available for arm
8 - hdparm
9+ - i2c-tools
10 - ipmitool
11 - iperf
12 - iperf3
13@@ -282,13 +283,6 @@ parts:
14 - curl
15 after: [plainbox-provider-engineering-tests]
16 ################################################################################
17- i2c-tools:
18- plugin: nil
19- stage-packages:
20- - i2c-tools
21- prime:
22- - usr/sbin/i2cdetect
23-################################################################################
24 # This module is a dependency for the job gpio/gpiomem_loopback_pairs_{model}
25 # in plainbox-provider-snappy only available in pypi and so can't be addded
26 # to stage-packages

Subscribers

People subscribed via source and target branches