Merge lp:~gandelman-a/ironic/rc1_packaging_fixes into lp:~ubuntu-server-dev/ironic/icehouse

Proposed by Adam Gandelman
Status: Merged
Approved by: Chuck Short
Approved revision: 19
Merged at revision: 12
Proposed branch: lp:~gandelman-a/ironic/rc1_packaging_fixes
Merge into: lp:~ubuntu-server-dev/ironic/icehouse
Diff against target: 132 lines (+44/-4)
8 files modified
debian/changelog (+15/-0)
debian/control (+4/-0)
debian/ironic-api.install (+1/-0)
debian/ironic-common.install (+4/-2)
debian/ironic-common.postinst (+1/-1)
debian/patches/series (+1/-0)
debian/patches/set_logdir.patch (+13/-0)
debian/rules (+5/-1)
To merge this branch: bzr merge lp:~gandelman-a/ironic/rc1_packaging_fixes
Reviewer Review Type Date Requested Status
Ubuntu Server Developers Pending
Review via email: mp+213744@code.launchpad.net

Description of the change

Various fixes to Ironic packaging for RC1

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 2014-03-06 18:23:38 +0000
3+++ debian/changelog 2014-04-01 23:13:02 +0000
4@@ -1,3 +1,18 @@
5+ironic (2014.1~rc1-0ubuntu1) trusty; urgency=medium
6+
7+ * debian/ironic-common.postinst: Fix syntax preventing postinst
8+ from running.
9+ * debian/ironic-api.install: Create missing .install, install
10+ ironic-api to /usr/bin/ironic-api.
11+ * debian/patches/set_logdir.patch: Set log_dir to /var/log/ironic/ in
12+ sample config, causing both daemons to log to respective files there.
13+ * debian/{rules, ironic-common.install}: Install ironic.conf.sample
14+ as /etc/ironic/ironic.conf.
15+ * Fail build if test suite fails.
16+ * debian/control: Add missing alembic, python-lockfile dependencies.
17+
18+ -- Adam Gandelman <adamg@ubuntu.com> Tue, 01 Apr 2014 12:55:01 -0700
19+
20 ironic (2014.1~b3-0ubuntu1) trusty; urgency=medium
21
22 * New upstream release:
23
24=== modified file 'debian/control'
25--- debian/control 2014-03-06 18:05:27 +0000
26+++ debian/control 2014-04-01 23:13:02 +0000
27@@ -3,6 +3,7 @@
28 Priority: extra
29 Maintainer: Chuck Short <zulcss@ubuntu.com>
30 Build-Depends: debhelper (>= 8.0.0),
31+ alembic (>= 0.4.1),
32 python-setuptools,
33 python-all (>= 2.6),
34 python-pbr (>= 0.5.21),
35@@ -12,6 +13,7 @@
36 python-eventlet (>= 0.13.0),
37 python-kombu (>= 2.4.8),
38 python-lxml (>= 2.3),
39+ python-lockfile (>= 0.8),
40 python-webob (>= 1.2.3),
41 python-greenlet (>= 0.3.2),
42 python-migrate,
43@@ -43,12 +45,14 @@
44 Package: python-ironic
45 Architecture: all
46 Depends: ${python:Depends}, ${misc:Depends},
47+ alembic (>= 0.4.1),
48 python-sqlalchemy (>= 0.7.8),
49 python-amqplib (>= 0.3.3),
50 python-anyjson,
51 python-eventlet (>= 0.13.0),
52 python-kombu (>= 2.4.8),
53 python-lxml (>= 2.3),
54+ python-lockfile (>= 0.8),
55 python-webob (>= 1.2.3),
56 python-greenlet (>= 0.3.2),
57 python-migrate,
58
59=== added file 'debian/ironic-api.install'
60--- debian/ironic-api.install 1970-01-01 00:00:00 +0000
61+++ debian/ironic-api.install 2014-04-01 23:13:02 +0000
62@@ -0,0 +1,1 @@
63+usr/bin/ironic-api
64
65=== modified file 'debian/ironic-common.install'
66--- debian/ironic-common.install 2014-01-17 14:23:29 +0000
67+++ debian/ironic-common.install 2014-04-01 23:13:02 +0000
68@@ -1,6 +1,8 @@
69-usr/bin/ironic-dbsync
70 debian/ironic_sudoers etc/sudoers.d
71+etc/ironic/ironic.conf etc/ironic
72 etc/ironic/policy.json etc/ironic
73 etc/ironic/rootwrap.conf etc/ironic
74+etc/ironic/rootwrap.d/ etc/ironic
75+usr/bin/ironic-dbsync
76 usr/bin/ironic-rootwrap
77-etc/ironic/rootwrap.d/ etc/ironic
78+
79
80=== modified file 'debian/ironic-common.postinst'
81--- debian/ironic-common.postinst 2014-01-07 21:56:48 +0000
82+++ debian/ironic-common.postinst 2014-04-01 23:13:02 +0000
83@@ -1,6 +1,6 @@
84 #!/bin/sh -e
85
86-if [ "$1" = "configure"] ; then
87+if [ "$1" = "configure" ] ; then
88 if ! getent group ironic > /dev/null 2>&1; then
89 addgroup --system ironic >/dev/null
90 fi
91
92=== added file 'debian/patches/series'
93--- debian/patches/series 1970-01-01 00:00:00 +0000
94+++ debian/patches/series 2014-04-01 23:13:02 +0000
95@@ -0,0 +1,1 @@
96+set_logdir.patch
97
98=== added file 'debian/patches/set_logdir.patch'
99--- debian/patches/set_logdir.patch 1970-01-01 00:00:00 +0000
100+++ debian/patches/set_logdir.patch 2014-04-01 23:13:02 +0000
101@@ -0,0 +1,13 @@
102+Index: ironic-2014.1.rc1/etc/ironic/ironic.conf.sample
103+===================================================================
104+--- ironic-2014.1.rc1.orig/etc/ironic/ironic.conf.sample 2014-04-01 12:49:34.000000000 -0700
105++++ ironic-2014.1.rc1/etc/ironic/ironic.conf.sample 2014-04-01 15:52:31.594579356 -0700
106+@@ -207,7 +207,7 @@
107+ # (Optional) The base directory used for relative --log-file
108+ # paths (string value)
109+ # Deprecated group/name - [DEFAULT]/logdir
110+-#log_dir=<None>
111++log_dir=/var/log/ironic/
112+
113+ # Use syslog for logging. (boolean value)
114+ #use_syslog=false
115
116=== modified file 'debian/rules'
117--- debian/rules 2014-01-07 21:56:48 +0000
118+++ debian/rules 2014-04-01 23:13:02 +0000
119@@ -7,8 +7,12 @@
120
121 ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
122 override_dh_auto_test:
123- testr init && testr run || true
124+ testr init && testr run
125 endif
126
127+override_dh_install:
128+ cp etc/ironic/ironic.conf.sample etc/ironic/ironic.conf
129+ dh_install --fail-missing
130+
131 get-orig-source:
132 uscan --verbose --force-download --rename --destdir=../build-area

Subscribers

People subscribed via source and target branches