From patchwork Mon Nov 16 17:47:23 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Whitcroft X-Patchwork-Id: 545095 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) by ozlabs.org (Postfix) with ESMTP id 53AD5141449; Tue, 17 Nov 2015 04:47:50 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.76) (envelope-from ) id 1ZyNsa-00007i-9e; Mon, 16 Nov 2015 17:47:48 +0000 Received: from mail-wm0-f49.google.com ([74.125.82.49]) by huckleberry.canonical.com with esmtp (Exim 4.76) (envelope-from ) id 1ZyNsQ-0008Vp-TX for kernel-team@lists.ubuntu.com; Mon, 16 Nov 2015 17:47:38 +0000 Received: by wmec201 with SMTP id c201so131500628wme.1 for ; Mon, 16 Nov 2015 09:47:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=e76ChaL9CJukSh5PXgkiJ19tcVMA0HjgTGU1NUBGmLY=; b=YE/00qKEbBTu+aQ8ePHUEqR/45kJwC8D6ptmdJSowJfg7/hSGba6W1LV20+t0vZGvc LBIdVJ+Si+c7PG/zKyRI0P4ZA71CMS/WjzIvrXr+LjnzKEwXaAFIZEy1mLa2b5sjTh+r KgloEuaof58ZwBAL3P+NNtyYVQGHPfSfxyj50NlNEGGrUOhX/NOuWcqcAG686TsAuwLU EbNufDFh0UuG0f7GAhi/DJH8LtlSlMVoPzYTFXh/Pyxf2jR8gPHQojZOSHLmMlcTkLE4 BPshpzeNKbBgSLf7DAqvuXosYCnupLcCOr3O46x5/P7n/VzxdjcmDQ/8voaYB2mocNE9 Ph7w== X-Gm-Message-State: ALoCoQkVDUtSzYTeLvQvh4uV4m2pK20P3wtGhRCrMvKeZWkjXXBNZ07YQBlp8Nzl1cfSo/NFjpZQ X-Received: by 10.194.116.167 with SMTP id jx7mr38471198wjb.105.1447696058725; Mon, 16 Nov 2015 09:47:38 -0800 (PST) Received: from localhost ([2001:470:6973:2:7530:aa29:ad:1068]) by smtp.gmail.com with ESMTPSA id t194sm19655065wmt.11.2015.11.16.09.47.38 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Nov 2015 09:47:38 -0800 (PST) From: Andy Whitcroft To: kernel-team@lists.ubuntu.com Subject: [trusty/lts-backport-utopic-next 2/3] UBUNTU: [Packaging] control -- prepare for new kernel-wedge semantics Date: Mon, 16 Nov 2015 17:47:23 +0000 Message-Id: <1447696050-21914-5-git-send-email-apw@canonical.com> X-Mailer: git-send-email 2.6.2 In-Reply-To: <1447696050-21914-1-git-send-email-apw@canonical.com> References: <1447696050-21914-1-git-send-email-apw@canonical.com> Cc: Andy Whitcroft X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.14 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: kernel-team-bounces@lists.ubuntu.com We have been carrying a nastly little patch for kernel-wedge to cope with the fact we use control.stub. But it is simpler to just go with the flow and emit the stub by hand. Do this in such a way we keep a fake debian/control.stub such that we will work with either Debian or Ubuntu kernel-wedge. BugLink: http://bugs.launchpad.net/bugs/1516686 Signed-off-by: Andy Whitcroft --- debian/rules | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/debian/rules b/debian/rules index fb3210f..30233dd 100755 --- a/debian/rules +++ b/debian/rules @@ -94,14 +94,14 @@ clean: debian/control rm -rf $(DEBIAN)/linux-* # This gets rid of the d-i packages in control - cp -f $(DEBIAN)/control.stub $(DEBIAN)/control + cp -f $(DEBIAN)/control.stub $(DROOT)/control cp $(DEBIAN)/changelog debian/changelog # Install the copyright information. cp $(DEBIAN)/copyright debian/copyright distclean: clean - rm -rf $(DEBIAN)/control $(DEBIAN)/control.stub \ + rm -rf $(DROOT)/control $(DROOT)/control.stub $(DEBIAN)/control.stub \ $(DEBIAN)/d-i/kernel-versions debian/changelog \ debian/control debian/control.stub debian/copyright @@ -141,7 +141,6 @@ $(DEBIAN)/control.stub: $(DEBIAN)/d-i/kernel-versions.in \ -e 's/=HUMAN=/$(human_arch)/g' \ >> $(DEBIAN)/control.stub; \ done - cp $(DEBIAN)/control.stub $(DEBIAN)/control .PHONY: debian/control debian/control: $(DEBIAN)/control.stub @@ -270,5 +269,6 @@ debian/control: $(DEBIAN)/control.stub $(builddir)/firmware/$(build_arch); \ fi - cp $(DEBIAN)/control.stub debian/control.stub - cd $(builddir) && LANG=C kernel-wedge gen-control > $(CURDIR)/debian/control + echo "# placebo control.stub for kernel-wedge flow change" >debian/control.stub + cp $(DEBIAN)/control.stub debian/control + cd $(builddir) && LANG=C kernel-wedge gen-control >> $(CURDIR)/debian/control