ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
GITVERSION:=$(shell cat .git/refs/heads/master)
-DEB=${PACKAGE}_${PKGVER}-${DEBREL}_amd64.deb
+DEB=${PACKAGE}_${PKGVER}-${DEBREL}_amd64.deb \
+ ${PACKAGE}-dbg_${PKGVER}-${DEBREL}_amd64.deb
all: ${DEB}
umount /pve/${RELEASE}; mount /pve/${RELEASE} -o rw
mkdir -p /pve/${RELEASE}/extra
rm -f /pve/${RELEASE}/extra/${PACKAGE}_*.deb
+ rm -f /pve/${RELEASE}/extra/${PACKAGE}-dbg_*.deb
rm -f /pve/${RELEASE}/extra/Packages*
cp ${DEB} /pve/${RELEASE}/extra
cd /pve/${RELEASE}/extra; dpkg-scanpackages . /dev/null > Packages; gzip -9c Packages > Packages.gz
limitations of the Linux kernel. The main driver for this work was the
need to run systemd based containers as a regular unprivileged user
while still allowing systemd inside the container to interact with cgroups.
+
+Package: lxcfs-dbg
+Architecture: any
+Section: debug
+Depends: lxcfs (= ${binary:Version}), ${misc:Depends}
+Description: lxcfs debugging symbols
+ This package contains the debugging symbols for lxcfs.
+
%:
dh $@ --with autotools_dev,autoreconf,systemd,quilt
+
+override_dh_strip:
+ dh_strip --dbg-package=lxcfs-dbg
+
+override_dh_auto_install:
+ dh_auto_install --destdir=debian/lxcfs