From 37dd98bd45cb6680edbbfbe03e2c8caf67d473d3 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Sun, 24 Apr 2011 10:04:58 +0100 Subject: [PATCH] Update Lintian overrides for changes in Lintian 2.5.0~rc1. --- debian/changelog | 1 + debian/rules | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index bad51b139..a175088bb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -59,6 +59,7 @@ grub2 (1.99~rc2-1) UNRELEASED; urgency=low the build for the default platform for the CPU architecture anyway, so reuse that. * Build with GCC 4.5 on all architectures. + * Update Lintian overrides for changes in Lintian 2.5.0~rc1. [ Updated translations ] * Belarusian (Viktar Siarheichyk). Closes: #606864 diff --git a/debian/rules b/debian/rules index f37d9494f..a61fb7a3d 100755 --- a/debian/rules +++ b/debian/rules @@ -213,16 +213,16 @@ install/grub-pc install/grub-efi-ia32 install/grub-efi-amd64 install/grub-ieee12 mkdir -p $(CURDIR)/debian/$(package)/usr/share/lintian/overrides echo "$(package): unstripped-binary-or-object *.mod" \ >> $(CURDIR)/debian/$(package)/usr/share/lintian/overrides/$(package) - cd $(CURDIR)/debian/$(package) && find ./usr/lib/grub -name kernel.img \ + cd $(CURDIR)/debian/$(package) && find usr/lib/grub -name kernel.img \ | sed -e "s%.*%$(package): statically-linked-binary &%g" \ >> $(CURDIR)/debian/$(package)/usr/share/lintian/overrides/$(package) - cd $(CURDIR)/debian/$(package) && find ./usr/lib/grub -name kernel.img \ + cd $(CURDIR)/debian/$(package) && find usr/lib/grub -name kernel.img \ | sed -e "s%.*%$(package): unstripped-binary-or-object &%g" \ >> $(CURDIR)/debian/$(package)/usr/share/lintian/overrides/$(package) if [ "$@" = "install/grub-efi-amd64" ] && [ "$(DEB_HOST_ARCH_CPU)" = "i386" ] ; then \ echo "$(package): binary-from-other-architecture *.mod" \ >> $(CURDIR)/debian/$(package)/usr/share/lintian/overrides/$(package) ; \ - cd $(CURDIR)/debian/$(package) && find ./usr/lib/grub -name kernel.img \ + cd $(CURDIR)/debian/$(package) && find usr/lib/grub -name kernel.img \ | sed -e "s%.*%$(package): binary-from-other-architecture &%g" \ >> $(CURDIR)/debian/$(package)/usr/share/lintian/overrides/$(package) ; \ fi