Merge ~pieq/bugit/+git/qabro:fix-alsa-utils-service-dangling-symlink into bugit:master

Proposed by Pierre Equoy
Status: Merged
Approved by: Pierre Equoy
Approved revision: f2edbe55c67eb795dc14ad136ae3d435d602f62e
Merged at revision: 4206f36774469d4e261eb52a4102b6c2379b93d3
Proposed branch: ~pieq/bugit/+git/qabro:fix-alsa-utils-service-dangling-symlink
Merge into: bugit:master
Diff against target: 51 lines (+8/-7)
1 file modified
snap/snapcraft.yaml (+8/-7)
Reviewer Review Type Date Requested Status
Patrick Liu (community) Approve
OEM Services QA Pending
Review via email: mp+402382@code.launchpad.net

Description of the change

This MR fixes a bunch of warnings during snap build, but most importantly, allows to pass the snap store review properly.

My previous attempt to fix this[1] was wrong, because I removed the symlink in the wrong part.

This time, I made sure it actually worked by locally testing that the snap review would pass, by installing the review-tools snap and running

$ review-tools.snap-review qabro_0.15dev_amd64.snap
qabro_0.15dev_amd64.snap: pass

[1] https://code.launchpad.net/~pieq/qabro/+git/qabro/+merge/402186

To post a comment you must log in.
Revision history for this message
Patrick Liu (patliu) wrote :

+1

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 94ffc39..8a509f3 100644
3--- a/snap/snapcraft.yaml
4+++ b/snap/snapcraft.yaml
5@@ -8,7 +8,7 @@ base: core18
6
7 apps:
8 qabro:
9- command: qabro
10+ command: usr/bin/python3 $SNAP/bin/qabro
11 environment:
12 GI_TYPELIB_PATH: $SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/girepository-1.0
13 LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/lib/fwts:$SNAP/lib/$SNAPCRAFT_ARCH_TRIPLET
14@@ -16,16 +16,16 @@ apps:
15 LC_ALL: C.UTF-8
16
17 sosreport:
18- command: sosreport --no-report --batch --tmp-dir $SNAP_USER_COMMON -z gzip
19+ command: usr/bin/python3 $SNAP/usr/bin/sosreport --no-report --batch --tmp-dir $SNAP_USER_COMMON -z gzip
20
21 lspci:
22- command: lspci
23+ command: usr/bin/lspci
24
25 lsusb:
26- command: lsusb
27+ command: usr/bin/lsusb
28
29 amixer:
30- command: amixer
31+ command: usr/bin/amixer
32
33 parts:
34 qabro:
35@@ -91,13 +91,14 @@ parts:
36 plugin: nil
37 stage-packages:
38 - alsa-utils
39+ - libslang2
40+ stage:
41+ - -lib/systemd/system/alsa-utils.service
42
43 acpidump:
44 plugin: nil
45 stage-packages:
46 - acpica-tools
47- stage:
48- - -lib/systemd/system/alsa-utils.service
49
50 dmsetup:
51 plugin: nil

Subscribers

People subscribed via source and target branches

to all changes: