mirror of
https://git.proxmox.com/git/grub2
synced 2025-08-17 21:20:52 +00:00
Always override statically-linked-binary Lintian tag for kernel.img;
dynamic linking makes no sense here.
This commit is contained in:
parent
ec52f53bb7
commit
34e604bba2
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,3 +1,10 @@
|
||||
grub2 (1.98+20100527-2) UNRELEASED; urgency=low
|
||||
|
||||
* Always override statically-linked-binary Lintian tag for kernel.img;
|
||||
dynamic linking makes no sense here.
|
||||
|
||||
-- Colin Watson <cjwatson@debian.org> Tue, 01 Jun 2010 13:31:46 +0100
|
||||
|
||||
grub2 (1.98+20100527-1) unstable; urgency=low
|
||||
|
||||
* New Bazaar snapshot.
|
||||
|
4
debian/rules
vendored
4
debian/rules
vendored
@ -122,11 +122,9 @@ install/grub-pc install/grub-efi-ia32 install/grub-efi-amd64 install/grub-ieee12
|
||||
mkdir -p $(CURDIR)/debian/$(subst install/,,$@)/usr/share/lintian/overrides
|
||||
echo "$(subst install/,,$@): unstripped-binary-or-object *.mod" \
|
||||
>> $(CURDIR)/debian/$(subst install/,,$@)/usr/share/lintian/overrides/$(subst install/,,$@)
|
||||
if [ "$@" != "install/grub-pc" ] && [ "$(DEB_HOST_ARCH_CPU)" != "sparc" ] && [ "$(DEB_HOST_ARCH_CPU)" != "mipsel" ] ; then \
|
||||
cd $(CURDIR)/debian/$(subst install/,,$@) && find ./usr/lib/grub -name kernel.img \
|
||||
| sed -e "s%.*%$(subst install/,,$@): statically-linked-binary &%g" \
|
||||
>> $(CURDIR)/debian/$(subst install/,,$@)/usr/share/lintian/overrides/$(subst install/,,$@) ; \
|
||||
fi
|
||||
>> $(CURDIR)/debian/$(subst install/,,$@)/usr/share/lintian/overrides/$(subst install/,,$@)
|
||||
if [ "$@" = "install/grub-efi-amd64" ] && [ "$(DEB_HOST_ARCH_CPU)" = "i386" ] ; then \
|
||||
echo "$(subst install/,,$@): binary-from-other-architecture *.mod" \
|
||||
>> $(CURDIR)/debian/$(subst install/,,$@)/usr/share/lintian/overrides/$(subst install/,,$@) ; \
|
||||
|
Loading…
Reference in New Issue
Block a user