mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 18:28:25 +00:00
Fix a couple of warnings in debian package build.
This commit is contained in:
4
debian/rules
vendored
4
debian/rules
vendored
@@ -108,7 +108,7 @@ binary-indep: checkroot
|
|||||||
install -m 644 debian/insserv debian/daemon/etc/insserv.conf.d/dnsmasq
|
install -m 644 debian/insserv debian/daemon/etc/insserv.conf.d/dnsmasq
|
||||||
ln -s $(package) debian/daemon/usr/share/doc/dnsmasq
|
ln -s $(package) debian/daemon/usr/share/doc/dnsmasq
|
||||||
cd debian/daemon && find . -type f ! -regex '.*DEBIAN/.*' -printf '%P\0' | xargs -r0 md5sum > DEBIAN/md5sums
|
cd debian/daemon && find . -type f ! -regex '.*DEBIAN/.*' -printf '%P\0' | xargs -r0 md5sum > DEBIAN/md5sums
|
||||||
dpkg-gencontrol $(PACKAGE_VERSION) -pdnsmasq -Pdebian/daemon
|
dpkg-gencontrol $(PACKAGE_VERSION) -T -pdnsmasq -Pdebian/daemon
|
||||||
chown -R root.root debian/daemon
|
chown -R root.root debian/daemon
|
||||||
chmod -R g-ws debian/daemon
|
chmod -R g-ws debian/daemon
|
||||||
dpkg --build debian/daemon ..
|
dpkg --build debian/daemon ..
|
||||||
@@ -155,7 +155,7 @@ ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
|
|||||||
strip -R .note -R .comment debian/base/usr/sbin/dnsmasq
|
strip -R .note -R .comment debian/base/usr/sbin/dnsmasq
|
||||||
endif
|
endif
|
||||||
cd debian/base && find . -type f ! -regex '.*DEBIAN/.*' -printf '%P\0' | xargs -r0 md5sum > DEBIAN/md5sums
|
cd debian/base && find . -type f ! -regex '.*DEBIAN/.*' -printf '%P\0' | xargs -r0 md5sum > DEBIAN/md5sums
|
||||||
dpkg-shlibdeps debian/base/usr/sbin/dnsmasq
|
dpkg-shlibdeps --warnings=1 debian/base/usr/sbin/dnsmasq
|
||||||
dpkg-gencontrol $(PACKAGE_VERSION) -pdnsmasq-base -Pdebian/base
|
dpkg-gencontrol $(PACKAGE_VERSION) -pdnsmasq-base -Pdebian/base
|
||||||
chown -R root.root debian/base
|
chown -R root.root debian/base
|
||||||
chmod -R g-ws debian/base
|
chmod -R g-ws debian/base
|
||||||
|
|||||||
Reference in New Issue
Block a user