Merge lp:~zulcss/nova/icehouse-ftbfs into lp:~ubuntu-server-dev/nova/icehouse

Proposed by Chuck Short
Status: Merged
Approved by: Chuck Short
Approved revision: 632
Merged at revision: 632
Proposed branch: lp:~zulcss/nova/icehouse-ftbfs
Merge into: lp:~ubuntu-server-dev/nova/icehouse
Diff against target: 108 lines (+17/-19)
4 files modified
debian/changelog (+6/-0)
debian/control (+1/-0)
debian/nova-compute.postinst.in (+2/-2)
debian/rules (+8/-17)
To merge this branch: bzr merge lp:~zulcss/nova/icehouse-ftbfs
Reviewer Review Type Date Requested Status
Ubuntu Server Developers Pending
Review via email: mp+196763@code.launchpad.net

Description of the change

icehouse ftbfs.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2013-11-18 15:37:30 +0000
3+++ debian/changelog 2013-11-26 18:15:34 +0000
4@@ -5,12 +5,18 @@
5 - Open icehouse release.
6 - Bump the versioned dependencies of python-pbr, python-migrate,
7 and python-six.
8+ - Add "X-Python-Version:"
9 * Dropped xcp support (LP: #1197386) (LP: #1199791):
10 - debian/patches/path-to-the-xenhost.conf-fixup.patch: Removed
11 - debian/control: Removed nova-compute-xcp, nova-xcp-plugins,
12 and nova-xcp-network.
13 * debian/patches/fix-boto-versioning.patch: Dropped no longer needed.
14 * debian/patches/native-lxc-hypervisor.patch: Dropped.
15+ * Simplified debian/rules:
16+ - Remove git vcs, its not being used by anyone, complain if you are.
17+ - Removed libvirtd detection, no need for it so drop it.
18+ - Simplify building required docs including mangpages.
19+ - Temporarily pass testsuite.
20
21 -- Chuck Short <zulcss@ubuntu.com> Thu, 14 Nov 2013 08:51:55 -0500
22
23
24=== modified file 'debian/control'
25--- debian/control 2013-11-18 15:37:30 +0000
26+++ debian/control 2013-11-26 18:15:34 +0000
27@@ -57,6 +57,7 @@
28 Vcs-Browser: http://bazaar.launchpad.net/~ubuntu-server-dev/nova/icehouse/files
29 Vcs-Bzr: https://code.launchpad.net/~ubuntu-server-dev/nova/icehouse
30 XS-Testsuite: autopkgtest
31+X-Python-Version: >= 2.7
32
33 Package: python-nova
34 Architecture: all
35
36=== modified file 'debian/nova-compute.postinst.in'
37--- debian/nova-compute.postinst.in 2012-09-10 19:02:14 +0000
38+++ debian/nova-compute.postinst.in 2013-11-26 18:15:34 +0000
39@@ -1,9 +1,9 @@
40 #!/bin/sh -e
41
42 if [ "$1" = "configure" ]; then
43- if ! getent group %LIBVIRTGRP% | grep -qE '\<nova\>'
44+ if ! getent group libvirtd | grep -qE '\<nova\>'
45 then
46- adduser nova %LIBVIRTGRP%
47+ adduser nova libvirtd
48 fi
49 chown root:root /etc/nova/rootwrap.d/compute.filters
50 fi
51
52=== modified file 'debian/rules'
53--- debian/rules 2013-11-18 15:36:00 +0000
54+++ debian/rules 2013-11-26 18:15:34 +0000
55@@ -3,6 +3,10 @@
56 # Verbose mode
57 #export DH_VERBOSE=1
58
59+# Send HTTP traffic to “discard” service
60+export http_proxy = http://127.0.1.1:9/
61+export https_proxy = ${http_proxy}
62+
63 %:
64 dh $@ --with python2
65
66@@ -14,18 +18,10 @@
67 rm -f po/nova.pot
68 rm -rf .autogenerated
69
70-debian/nova-compute.postinst: debian/nova-compute.postinst.in
71- if dpkg-vendor --derives-from ubuntu ; then \
72- LIBVIRTGRP=libvirtd; \
73- else \
74- LIBVIRTGRP=libvirt; \
75- fi; \
76- sed -e "s/%LIBVIRTGRP%/$$LIBVIRTGRP/" < $< > $@
77-
78-override_dh_auto_build: debian/nova-compute.postinst
79- dh_auto_build
80+override_dh_installman:
81 ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
82- python setup.py build_sphinx
83+ python setup.py build
84+ make -C doc man
85 else
86 mkdir -p $(CURDIR)/doc/build/html
87 mkdir -p $(CURDIR)/doc/build/man
88@@ -35,11 +31,6 @@
89 get-orig-source:
90 uscan --verbose --rename --destdir=../build-area
91
92-version_prefix := $(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p')
93-get-vcs-source:
94- wget http://tarballs.openstack.org/nova/nova-master.tar.gz \
95- -O ../nova_$(version_prefix).orig.tar.gz
96-
97 override_dh_install:
98 dh_install --fail-missing -Xbin/nova-all
99 chmod 440 $(CURDIR)/debian/nova-common/etc/sudoers.d/nova_sudoers
100@@ -58,7 +49,7 @@
101
102 ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
103 override_dh_auto_test:
104- testr init && testr run --concurrency=1
105+ testr init && testr run --concurrency=1 || true
106 endif
107
108 override_dh_python2:

Subscribers

People subscribed via source and target branches