[pve-devel] [RFC v2 ha-manager 0/4] packaging cleanup

Fabian Grünbichler f.gruenbichler at proxmox.com
Fri Oct 5 20:46:19 CEST 2018


this series implements the alternative approach as discussed, replacing patches
5 and 8-12 of the original series.

instead of de-duplicating the shipped perl modules via a new binary package, we
ship all files shared with libpve-common-perl and pve-ha-manager a second time
in pve-ha-simulator to make the latter completely independent from other PVE
packages.

other changes include removal of a spuriously introduced dependency
(libdigest-perl-md5-perl is not providing Digest::MD5 ;)) and the addition of
--fail-missing to dh_install to make the build fail early in case the
debian/*.install files are not updated for new files.

standalone pve-ha-simulator tested on plain Debian Stretch, regular packages
tested on PVE.

Fabian Grünbichler (4):
  Tools: make PVE::Cluster and HA-Env optional
  build: restructure packaging
  build: bump compat level to 10
  build: actually ship SOURCE file

 Makefile                                     | 17 ++--------
 src/Makefile                                 | 10 ++----
 src/PVE/HA/Makefile                          |  2 +-
 src/PVE/HA/Resources/Makefile                |  5 ---
 src/PVE/HA/Sim/Makefile                      |  6 ++--
 src/PVE/HA/Sim/Resources/Makefile            |  4 +--
 src/PVE/Makefile                             |  1 -
 changelog.Debian => debian/changelog         |  0
 debian/compat                                |  2 +-
 debian/control                               | 23 +++++++++++--
 debian/pve-ha-manager.docs                   |  1 +
 debian/pve-ha-manager.install                | 34 ++++++++++++++++++++
 debian/{triggers => pve-ha-manager.triggers} |  0
 debian/pve-ha-simulator.docs                 |  1 +
 debian/pve-ha-simulator.install              |  2 ++
 debian/rules                                 | 14 ++++++++
 simdebian/compat                             |  1 -
 simdebian/control                            | 14 --------
 simdebian/copyright                          | 16 ---------
 simdebian/rules                              | 20 ------------
 src/PVE/HA/Tools.pm                          | 25 +++++++++++++-
 21 files changed, 109 insertions(+), 89 deletions(-)
 rename changelog.Debian => debian/changelog (100%)
 create mode 100644 debian/pve-ha-manager.docs
 create mode 100644 debian/pve-ha-manager.install
 rename debian/{triggers => pve-ha-manager.triggers} (100%)
 create mode 100644 debian/pve-ha-simulator.docs
 create mode 100644 debian/pve-ha-simulator.install
 delete mode 100644 simdebian/compat
 delete mode 100644 simdebian/control
 delete mode 100644 simdebian/copyright
 delete mode 100755 simdebian/rules

-- 
2.19.0





More information about the pve-devel mailing list