1 From: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2 Date: Tue, 26 Apr 2016 23:12:20 +0200
3 Subject: [PATCH] f_repobuild/Makefile: Use python-debian from pip.
5 Currently, Ubuntu Trusty provides a broken python-debian package,
6 that fails to parse foreign architecture (package:any) relationships.
8 Purge debian package and let pip resolve this dependency, using a
9 newer version from pypi.
11 [1] http://lists.alioth.debian.org/pipermail/
12 pkg-python-debian-maint/2014-July/001795.html
14 build/f_isoroot/f_repobuild/Makefile | 2 ++
15 1 file changed, 2 insertions(+)
17 diff --git a/build/f_isoroot/f_repobuild/Makefile b/build/f_isoroot/f_repobuild/Makefile
18 index 709ca6b..5e7157b 100644
19 --- a/build/f_isoroot/f_repobuild/Makefile
20 +++ b/build/f_isoroot/f_repobuild/Makefile
21 @@ -25,6 +25,8 @@ all: nailgun
24 sudo apt-get install -y git libxml2-dev libxslt-dev python-dev python-pip libz-dev libyaml-dev createrepo python-yaml
25 + # python-debian from Ubuntu can't parse foreign arch relationships, use pip
26 + sudo apt-get purge -y --force-yes python-debian
28 sudo mkdir -p /var/www/nailgun
29 git clone $(FUEL_MIRROR_REPO)