From patchwork Mon Oct 5 18:07:01 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Whitcroft X-Patchwork-Id: 35040 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 D25D5B7B81 for ; Tue, 6 Oct 2009 05:07:18 +1100 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.60) (envelope-from ) id 1Murxo-0005Ac-TB; Mon, 05 Oct 2009 19:07:13 +0100 Received: from adelie.canonical.com ([91.189.90.139]) by chlorine.canonical.com with esmtp (Exim 4.60) (envelope-from ) id 1Murxg-00059l-1q for kernel-team@lists.ubuntu.com; Mon, 05 Oct 2009 19:07:04 +0100 Received: from hutte.canonical.com ([91.189.90.181]) by adelie.canonical.com with esmtp (Exim 4.69 #1 (Debian)) id 1Murxg-0007JE-11 for ; Mon, 05 Oct 2009 19:07:04 +0100 Received: from 79-66-135-228.dynamic.dsl.as9105.com ([79.66.135.228] 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 1Murxf-0000X6-Tj for kernel-team@lists.ubuntu.com; Mon, 05 Oct 2009 19:07:04 +0100 From: Andy Whitcroft To: kernel-team@lists.ubuntu.com Subject: [PATCH 1/2] UBUNTU: install the full changelog with the binary package Date: Mon, 5 Oct 2009 19:07:01 +0100 Message-Id: <1254766022-15715-2-git-send-email-apw@canonical.com> X-Mailer: git-send-email 1.6.3.rc3.199.g24398 In-Reply-To: <1254766022-15715-1-git-send-email-apw@canonical.com> References: <1254766022-15715-1-git-send-email-apw@canonical.com> X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.8 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 We need to have the full history of the package installed with the kernel images. Therefore use the existing changelog and changelog.historical to generate a full changelog and install it in /usr/share/doc/linux-image--. Signed-off-by: Andy Whitcroft --- debian.master/rules.d/2-binary-arch.mk | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/debian.master/rules.d/2-binary-arch.mk b/debian.master/rules.d/2-binary-arch.mk index 7ffde16..4468d25 100644 --- a/debian.master/rules.d/2-binary-arch.mk +++ b/debian.master/rules.d/2-binary-arch.mk @@ -28,6 +28,7 @@ $(stampdir)/stamp-build-%: $(stampdir)/stamp-prepare-% # Install the finished build install-%: pkgdir = $(CURDIR)/debian/$(bin_pkg_name)-$* +install-%: bindoc = $(pkgdir)/usr/share/doc/$(bin_pkg_name)-$* install-%: dbgpkgdir = $(CURDIR)/debian/$(dbg_pkg_name)-$* install-%: basepkg = $(hdrs_pkg_name) install-%: hdrdir = $(CURDIR)/debian/$(basepkg)-$*/usr/src/$(basepkg)-$* @@ -90,6 +91,12 @@ endif chmod 755 $(pkgdir)/DEBIAN/$$script; \ done + # Install the full changelog. + install -d $(bindoc) + cat $(DEBIAN)/changelog $(DEBIAN)/changelog.historical | \ + gzip -9 >$(bindoc)/changelog.Debian.old.gz + chmod 644 $(bindoc)/changelog.Debian.old.gz + ifneq ($(skipsub),true) for sub in $($(*)_sub); do \ if ! (TO=$$sub FROM=$* ABI_RELEASE=$(abi_release) $(SHELL) \