mirror of
https://git.proxmox.com/git/grub2
synced 2025-08-14 16:59:28 +00:00
Override binary-from-other-architecture for kernel.img as well as *.mod
when building grub-efi-amd64 on i386.
This commit is contained in:
parent
f795e757dd
commit
da2dd9be89
2
debian/changelog
vendored
2
debian/changelog
vendored
@ -4,6 +4,8 @@ grub2 (1.98+20100527-2) UNRELEASED; urgency=low
|
||||
dynamic linking makes no sense here.
|
||||
* kernel.img is stripped upstream where it can be, but override Lintian's
|
||||
error for the cases where it can't.
|
||||
* Override binary-from-other-architecture for kernel.img as well as *.mod
|
||||
when building grub-efi-amd64 on i386.
|
||||
|
||||
-- Colin Watson <cjwatson@debian.org> Tue, 01 Jun 2010 13:31:46 +0100
|
||||
|
||||
|
3
debian/rules
vendored
3
debian/rules
vendored
@ -131,6 +131,9 @@ install/grub-pc install/grub-efi-ia32 install/grub-efi-amd64 install/grub-ieee12
|
||||
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/,,$@) ; \
|
||||
cd $(CURDIR)/debian/$(subst install/,,$@) && find ./usr/lib/grub -name kernel.img \
|
||||
| sed -e "s%.*%$(subst install/,,$@): binary-from-other-architecture &%g" \
|
||||
>> $(CURDIR)/debian/$(subst install/,,$@)/usr/share/lintian/overrides/$(subst install/,,$@) ; \
|
||||
fi
|
||||
if [ "$@" = "install/grub-pc" ] && [ "$(DEB_HOST_ARCH_CPU)" = "i386" ] ; then \
|
||||
echo "$(subst install/,,$@): binary-from-other-architecture *efiemu64.o" \
|
||||
|
Loading…
Reference in New Issue
Block a user