[PATCH 1/2] UBUNTU: install the full changelog with the binary package
Andy Whitcroft
apw at canonical.com
Mon Oct 5 18:07:01 UTC 2009
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-<version>-<flavour>.
Signed-off-by: Andy Whitcroft <apw at canonical.com>
---
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) \
--
1.6.3.rc3.199.g24398
More information about the kernel-team
mailing list