* make package build fail if /proc is not mounted, before I end up
filing that bug a fourth time. Closes: #344389, #354215, #372316
This commit is contained in:
parent
7665456a9c
commit
37db2d68a0
4
debian/changelog
vendored
4
debian/changelog
vendored
|
@ -1,8 +1,10 @@
|
|||
nagios-plugins (1.4.3-1.0) UNRELEASED; urgency=low
|
||||
|
||||
* NOT RELEASED YET
|
||||
* make package build fail if /proc is not mounted, before I end up
|
||||
filing that bug a fourth time. Closes: #344389, #354215
|
||||
|
||||
-- sean finney <sean@localhost.localdomain> Sun, 28 May 2006 21:40:55 +0200
|
||||
-- Marc Haber <mh+debian-packages@zugschlus.de> Fri, 9 Jun 2006 13:18:50 +0000
|
||||
|
||||
nagios-plugins (1.4.3-1) unstable; urgency=low
|
||||
|
||||
|
|
8
debian/rules
vendored
8
debian/rules
vendored
|
@ -44,6 +44,14 @@ endif
|
|||
config.status: configure
|
||||
export PATH=$(PATH)
|
||||
dh_testdir
|
||||
|
||||
# if /proc is not mounted, check_nagios and check_procs are
|
||||
# silently omitted from build.
|
||||
@if ! [ -d /proc/1 ]; then \
|
||||
echo "nagios-plugins needs a mounted /proc to correctly build"; \
|
||||
exit 1; \
|
||||
fi
|
||||
|
||||
ln -sf /usr/share/misc/config.sub .
|
||||
ln -sf /usr/share/misc/config.guess .
|
||||
rm -f config.cache
|
||||
|
|
Loading…
Reference in a new issue