Add debug debian package

This commit is contained in:
Daniel A. Wozniak 2023-09-05 12:37:40 -07:00 committed by Megan Wilhite
parent a189dab40d
commit d8721e5cd5
3 changed files with 14 additions and 0 deletions

1
.gitignore vendored
View file

@ -139,6 +139,7 @@ nox.*.tar.xz
/pkg/debian/salt-api
/pkg/debian/salt-common
/pkg/debian/salt-cloud
/pkg/debian/salt-dbg
/pkg/debian/salt-master
/pkg/debian/salt-minion
/pkg/debian/salt-ssh

View file

@ -14,6 +14,14 @@ Vcs-Browser: https://github.com/saltstack/salt.git
Vcs-Git: git://github.com/saltstack/salt.git
Package: salt-dbg
Architecture: amd64 arm64
Section: debug
Priority: extra
Homepage: http://saltproject.io/
Description: Salt debug symbols
Package: salt-common
Architecture: amd64 arm64
Depends: ${misc:Depends}

View file

@ -1,6 +1,8 @@
#!/usr/bin/make -f
DH_VERBOSE = 1
.PHONY: override_dh_strip
%:
dh $@
@ -57,3 +59,6 @@ override_dh_install:
sed 's/#user: root/user: salt/g' conf/master > debian/salt-master/etc/salt/master
dh_install
override_dh_strip:
dh_strip --dbg-package=salt-dbg