don't do manually what the deb helpers do automatically and better.
Autogenerate the debug package, it includes now only the debugsymbols
without effectively duplicating all executables and libraries.
In the same step add a install file which installs our sysctl
settings, this is done together as it allows to skip some
intermediate steps, also the change is not to big, so it should be
possible to see whats going on.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
GITVERSION:=$(shell cat .git/refs/heads/master)
DEB=${PACKAGE}_${PKGVER}-${PKGREL}_${ARCH}.deb
-DBG_DEB=${PACKAGE}-dbg_${PKGVER}-${PKGREL}_${ARCH}.deb
+DBG_DEB=${PACKAGE}-dbgsym_${PKGVER}-${PKGREL}_${ARCH}.deb
PERL_APIVER := `perl -MConfig -e 'print $$Config{debian_abi}//$$Config{version};'`
This package contains the Cluster Infrastructure for the Proxmox
Virtual Environment, namely a distributed filesystem to store
configuration data on all nodes.
-
-Package: pve-cluster-dbg
-Architecture: any
-Section: debug
-Priority: extra
-Depends: pve-cluster (= ${binary:Version})
-Description: debug Cluster Infrastructure for Proxmox Virtual Environment
- This package contains the debug symbols.
--- /dev/null
+debian/sysctl.conf etc/sysctl.d/pve.conf
dh $@ --with=systemd --with=autoreconf
override_dh_strip:
- dh_strip --dbg-package=pve-cluster-dbg
+ dh_strip --dbgsym-migration='pve-cluster-dbg (<< 5.0-16)'
override_dh_systemd_start:
dh_systemd_start --restart-after-upgrade
-override_dh_auto_install:
-
- make -j1 install DESTDIR=../debian/pve-cluster
-
-override_dh_install:
-
- dh_install
-
- install -m 0644 -D debian/sysctl.conf debian/pve-cluster/etc/sysctl.d/pve.conf
-
override_dh_installinit: