From patchwork Mon Sep 13 18:45:29 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Whitcroft X-Patchwork-Id: 64626 X-Patchwork-Delegate: leann.ogasawara@canonical.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from chlorine.canonical.com (chlorine.canonical.com [91.189.94.204]) by ozlabs.org (Postfix) with ESMTP id 22F81B70AA for ; Tue, 14 Sep 2010 04:45:41 +1000 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.69) (envelope-from ) id 1OvE21-00031n-8b; Mon, 13 Sep 2010 19:45:33 +0100 Received: from adelie.canonical.com ([91.189.90.139]) by chlorine.canonical.com with esmtp (Exim 4.69) (envelope-from ) id 1OvE1z-00031h-SZ for kernel-team@lists.ubuntu.com; Mon, 13 Sep 2010 19:45:31 +0100 Received: from hutte.canonical.com ([91.189.90.181]) by adelie.canonical.com with esmtp (Exim 4.69 #1 (Debian)) id 1OvE1z-0002IH-RA for ; Mon, 13 Sep 2010 19:45:31 +0100 Received: from 212-139-221-210.dynamic.dsl.as9105.com ([212.139.221.210] helo=localhost.localdomain) by hutte.canonical.com with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1OvE1z-00054V-Mj for kernel-team@lists.ubuntu.com; Mon, 13 Sep 2010 19:45:31 +0100 From: Andy Whitcroft To: kernel-team@lists.ubuntu.com Subject: [PATCH 2/2] UBUNTU: linux-libc-dev -- ensure we can only build this on debian.master Date: Mon, 13 Sep 2010 19:45:29 +0100 Message-Id: <1284403529-6286-3-git-send-email-apw@canonical.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1284403529-6286-1-git-send-email-apw@canonical.com> References: <1284403529-6286-1-git-send-email-apw@canonical.com> X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.9 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: kernel-team-bounces@lists.ubuntu.com Errors-To: kernel-team-bounces@lists.ubuntu.com 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 --- 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