Merge lp:~andreserl/maas/trunk_packaging_conflicts into lp:~maas-maintainers/maas/packaging

Proposed by Andres Rodriguez
Status: Merged
Approved by: Andres Rodriguez
Approved revision: 440
Merged at revision: 440
Proposed branch: lp:~andreserl/maas/trunk_packaging_conflicts
Merge into: lp:~maas-maintainers/maas/packaging
Diff against target: 132 lines (+29/-32)
4 files modified
debian/changelog (+9/-2)
debian/control (+7/-5)
debian/maas-region-controller-min.maas-regiond-worker@.service (+0/-2)
debian/rules (+13/-23)
To merge this branch: bzr merge lp:~andreserl/maas/trunk_packaging_conflicts
Reviewer Review Type Date Requested Status
Andres Rodriguez (community) Approve
Review via email: mp+284601@code.launchpad.net

Commit message

Update trunk packaging to reflect 1.10 changes.

To post a comment you must log in.
Revision history for this message
Andres Rodriguez (andreserl) wrote :

selfie!

review: Approve

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 2016-01-26 23:35:32 +0000
3+++ debian/changelog 2016-02-01 13:16:16 +0000
4@@ -1,6 +1,8 @@
5-maas (1.10.0~alpha1+bzr4570-0ubuntu1) UNRELEASED; urgency=medium
6+maas (1.10.0+bzr4570-0ubuntu1) xenial; urgency=medium
7
8- * UNRELEASED
9+ * New upstram release, 1.10.0 bzr 4570:
10+ - Support python3, drop support for python2.
11+ - Support django 1.8+.
12 * debian/control:
13 - Remove all Upstart related services.
14 - Remove python-django16 dependency.
15@@ -9,6 +11,11 @@
16 - Depends on dbconfig-pgsql instead of dbconfig-common.
17 * debian/maas-region-controller.config:
18 - Preseed dbconfig common to not ask for PG server to use.
19+ * debian/maas-region-controller-min.maas-regiond-worker@.service: Don't
20+ depend on postgresql.service anymore, as it would prevent regiond
21+ to run on machines with a remote PostgreSQL.
22+ * debian/rules: Refactor installation of init scripts so that they are
23+ correctly handled, and maas-regiond is not started on install.
24
25 -- Andres Rodriguez <andreserl@ubuntu.com> Fri, 13 Nov 2015 13:13:42 +0000
26
27
28=== modified file 'debian/control'
29--- debian/control 2016-01-26 23:55:00 +0000
30+++ debian/control 2016-02-01 13:16:16 +0000
31@@ -91,7 +91,7 @@
32 Section: python
33 Architecture: all
34 Depends: archdetect-deb,
35- lshw,
36+ lshw
37 python3-bson,
38 python3-crochet,
39 python3-curtin (>> 0.1.0~bzr275),
40@@ -144,8 +144,8 @@
41 Section: python
42 Architecture: all
43 Depends: python3-oauth, ${misc:Depends}, ${python3:Depends}
44-Breaks: maas (<= 0.1+bzr971+dfsg-0ubuntu2 )
45-Replaces: maas (<= 0.1+bzr971+dfsg-0ubuntu2 )
46+Breaks: maas (<= 0.1+bzr971+dfsg-0ubuntu2 ), python-maas-client
47+Replaces: maas (<= 0.1+bzr971+dfsg-0ubuntu2 ), python-maas-client
48 Description: MAAS python API client (Python 3)
49 This package contains the MAAS client API Python modules.
50 .
51@@ -180,10 +180,10 @@
52 Conflicts: tftpd-hpa
53 Breaks: maas ( <= 0.1+bzr1048+dfsg-0ubuntu1 ),
54 maas-region-controller ( <= 0.1+bzr1314+dfsg-0ubuntu1 ),
55- python-maas-provisioningserver ( <= 1.9.0 )
56+ python-maas-provisioningserver
57 Replaces: maas ( <= 0.1+bzr1048+dfsg-0ubuntu1 ),
58 maas-region-controller ( <= 0.1+bzr1314+dfsg-0ubuntu1 ),
59- python-maas-provisioningserver ( <= 1.9.0 )
60+ python-maas-provisioningserver
61 Description: MAAS server cluster controller
62 This package contains the MAAS cluster controller, which is responsible
63 for enabling and controlling remote DHCP/TFTP instances on their own
64@@ -206,6 +206,8 @@
65 python3-zope.interface,
66 ${misc:Depends},
67 ${python3:Depends}
68+Breaks: python-django-maas
69+Replaces: python-django-maas
70 Description: MAAS server Django web framework (Python 3)
71 This package provides the Django web framework for MAAS.
72 .
73
74=== modified file 'debian/maas-region-controller-min.maas-regiond-worker@.service'
75--- debian/maas-region-controller-min.maas-regiond-worker@.service 2015-12-09 02:18:13 +0000
76+++ debian/maas-region-controller-min.maas-regiond-worker@.service 2016-02-01 13:16:16 +0000
77@@ -3,8 +3,6 @@
78 Documentation=https://maas.ubuntu.com/
79 Requires=network-online.target
80 After=network-online.target
81-Requires=postgresql.service
82-After=postgresql.service
83 PartOf=maas-regiond.service
84 # This will go away one we support new config files.
85 ConditionPathExists=/etc/maas/regiond.conf
86
87=== modified file 'debian/rules'
88--- debian/rules 2015-12-20 21:21:02 +0000
89+++ debian/rules 2016-02-01 13:16:16 +0000
90@@ -13,29 +13,19 @@
91 # internet access
92
93 override_dh_installinit:
94- # maas-clusterd
95- dh_systemd_enable --name maas-clusterd
96- dh_installinit --name maas-clusterd
97- dh_systemd_start --name maas-clusterd
98- # maas-regiond
99- dh_systemd_enable --name maas-regiond
100- dh_installinit --name maas-regiond
101- dh_systemd_start --name maas-regiond
102- # maas-regiond-worker
103- dh_installinit --no-start --name maas-regiond-worker # Upstart
104- dh_installinit --no-start --name maas-regiond-worker@ # systemd
105- # maas-dhcpd
106- dh_systemd_enable --name maas-dhcpd
107- dh_installinit --name maas-dhcpd
108- dh_systemd_start --name maas-dhcpd
109- # maas-dhcpd6
110- dh_systemd_enable --name maas-dhcpd6
111- dh_installinit --name maas-dhcpd6
112- dh_systemd_start --name maas-dhcpd6
113- # maas-proxy
114- dh_systemd_enable --name maas-proxy
115- dh_installinit --name maas-proxy
116- dh_systemd_start --name maas-proxy
117+ dh_installinit --name=maas-regiond --no-start
118+ dh_installinit --name=maas-regiond-worker@ --no-start
119+ dh_installinit --name=maas-clusterd
120+ dh_installinit --name=maas-dhcpd
121+ dh_installinit --name=maas-dhcpd6
122+ dh_installinit --name=maas-proxy
123+
124+override_dh_systemd_start:
125+ dh_systemd_start -p maas-region-controller-min --no-start maas-regiond.service
126+ dh_systemd_start -p maas-cluster-controller maas-clusterd.service
127+ dh_systemd_start -p maas-dhcpd maas-dhcpd.service
128+ dh_systemd_start -p maas-dhcpd6 maas-dhcpd6.service
129+ dh_systemd_start -p maas-proxy maas-proxy.service
130
131 override_dh_auto_build:
132 dh_auto_build

Subscribers

People subscribed via source and target branches

to all changes: