Update Lintian overrides for changes in Lintian 2.5.0~rc1.

This commit is contained in:
Colin Watson 2011-04-24 10:04:58 +01:00
parent d1f41995bf
commit 37dd98bd45
2 changed files with 4 additions and 3 deletions

1
debian/changelog vendored
View File

@ -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

6
debian/rules vendored
View File

@ -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