Merge ~morphis/snappy-hwe-snaps/+git/pulseaudio:bug/enable-proposed into ~snappy-hwe-team/snappy-hwe-snaps/+git/pulseaudio:master

Proposed by Simon Fels
Status: Merged
Approved by: Jim Hodapp
Approved revision: c755d8efbfba373d962c36edb6af99497c50b979
Merged at revision: 5752c067a864d5eb412cb323d305f60c83b5f425
Proposed branch: ~morphis/snappy-hwe-snaps/+git/pulseaudio:bug/enable-proposed
Merge into: ~snappy-hwe-team/snappy-hwe-snaps/+git/pulseaudio:master
Diff against target: 27 lines (+9/-0)
1 file modified
tests/lib/prepare-all.sh (+9/-0)
Reviewer Review Type Date Requested Status
System Enablement Bot continuous-integration Approve
Jim Hodapp (community) Approve
Review via email: mp+314227@code.launchpad.net

This proposal supersedes a proposal from 2017-01-06.

Description of the change

Enable Ubuntu proposed archive within the classic snap for builds

As the current core snap is based on a systemd deb package from the Ubuntu Core image ppa we run into some conflicts with a newer one from the archive. To fix this issue we need to force upgrade to a newer systemd package from xenial proposed.

To post a comment you must log in.
Revision history for this message
Jim Hodapp (jhodapp) wrote :

LGTM

review: Approve
Revision history for this message
System Enablement Bot (system-enablement-ci-bot) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
System Enablement Bot (system-enablement-ci-bot) wrote :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/tests/lib/prepare-all.sh b/tests/lib/prepare-all.sh
2index a65d357..e53efb4 100644
3--- a/tests/lib/prepare-all.sh
4+++ b/tests/lib/prepare-all.sh
5@@ -11,13 +11,22 @@ snap install --devmode --beta classic
6 cat <<-EOF > /home/test/build-snap.sh
7 #!/bin/sh
8 set -ex
9+
10+# FIXME: Enable propose for now until problems with conflicting systemd
11+# packages between the Ubuntu Core image ppa and the archive are fixed.
12+echo "deb http://archive.ubuntu.com/ubuntu/ xenial-proposed restricted main universe" > /etc/apt/sources.list.d/ubuntu-proposed.list
13+
14+# Ensure we have the latest updates installed as the core snap
15+# may be a bit out of date.
16 apt update
17 apt upgrade --yes --force-yes
18+
19 apt install -y --force-yes snapcraft
20 cd /home/pulseaudio
21 snapcraft clean
22 snapcraft
23 EOF
24+
25 chmod +x /home/test/build-snap.sh
26 sudo classic /home/test/build-snap.sh
27 snap remove classic

Subscribers

People subscribed via source and target branches

to all changes: