[PATCH 2/2] UBUNTU: linux-libc-dev -- ensure we can only build this on debian.master
Andy Whitcroft
apw at canonical.com
Mon Sep 13 18:45:29 UTC 2010
It is never right for linux-libc-dev to be build from other branches
than master. Therefore prevent its generation from any other branch.
Signed-off-by: Andy Whitcroft <apw at canonical.com>
---
debian/rules.d/2-binary-arch.mk | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/debian/rules.d/2-binary-arch.mk b/debian/rules.d/2-binary-arch.mk
index e4a4f3c..da93e4d 100644
--- a/debian/rules.d/2-binary-arch.mk
+++ b/debian/rules.d/2-binary-arch.mk
@@ -250,6 +250,10 @@ binary-arch-headers: install-arch-headers
dh_testdir
dh_testroot
ifeq ($(do_libc_dev_package),true)
+ifneq ($(DEBIAN),debian.master)
+ echo "non-master branch building linux-libc-dev, aborting"
+ exit 1
+endif
dh_installchangelogs -plinux-libc-dev
dh_installdocs -plinux-libc-dev
dh_compress -plinux-libc-dev
--
1.7.0.4
More information about the kernel-team
mailing list