Merge lp:~zyga/checkbox/fix-1456560 into lp:checkbox

Proposed by Zygmunt Krynicki
Status: Merged
Approved by: Daniel Manrique
Approved revision: 3791
Merged at revision: 3791
Proposed branch: lp:~zyga/checkbox/fix-1456560
Merge into: lp:checkbox
Diff against target: 22 lines (+3/-5)
1 file modified
support/provision-testing-environment (+3/-5)
To merge this branch: bzr merge lp:~zyga/checkbox/fix-1456560
Reviewer Review Type Date Requested Status
Daniel Manrique (community) Approve
Sylvain Pineau Approve
Review via email: mp+259484@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

Good catch +1

review: Approve
Revision history for this message
Daniel Manrique (roadmr) wrote :

+1, thanks for fixing this, those scripts are getting really weird :)

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'support/provision-testing-environment'
2--- support/provision-testing-environment 2015-03-30 15:59:47 +0000
3+++ support/provision-testing-environment 2015-05-19 11:10:04 +0000
4@@ -103,6 +103,9 @@
5 # default), so we need to create the home dir ourselves.
6 [ ! -d $HOME ] && mkdir -p $HOME
7 ln --no-dereference --force --symbolic $CHECKBOX_TOP $HOME/src
8+fi
9+
10+# Patch pkg-resources to fix https://bugs.launchpad.net/plainbox/+bug/1456560
11 if patch -p0 /usr/lib/python3/dist-packages/pkg_resources.py << EOF
12 --- pkg_resources.py.orig 2014-05-15 19:39:38.365807720 +0000
13 +++ pkg_resources.py 2014-05-15 19:44:50.449807720 +0000
14@@ -135,8 +138,3 @@
15 echo "Patching pkg_resources.py failed"
16 echo "This is not necessarily bad, this is only needed on precise"
17 fi
18-
19-fi
20-
21-
22-

Subscribers

People subscribed via source and target branches