Bug#738577: grub-efi: incompatable licence error

Ben Hildred 42656e at gmail.com
Thu Feb 13 00:33:15 UTC 2014


My server runs stable so I ssh to it and start typing:
sudo aptitude install grub-efi-amd64-bin grub-efi-ia32-bin # this installs
version 1.99-27+deb7u2
grub-mkimage -p /EFI64/grub -O x86_64-efi -o grub64.efi `ls
/usr/lib/grub/x86_64-efi  | sed -n 's/\.mod//gp' `
grub-mkimage -p /EFI32/grub -O i386-efi -o grub32.efi `ls
/usr/lib/grub/x86_64-efi  | sed -n 's/\.mod//gp' `
# this is the problem image when served by tftp or started from the efi
shell on my test machine it gives an error waits for a key press and exits.
# head over to stack exchange copy Sukminder's code to the clip board
xclip -o >grub_lic_test.c
gcc -o grub_lic_test32 grub_lic_test.c
gcc -o grub_lic_test64 grub_lic_test.c -DELF64
./grub_lic_test32 /usr/lib/grub/i386-efi/*.mod
./grub_lic_test64 /usr/lib/grub/x86_64-efi/*.mod
# the previous two commands show errors with adler32.mod so I run the next
two commands which give images that don't have that problem.
grub-mkimage -p /EFI64/grub -O x86_64-efi -o grub64.efi `ls
/usr/lib/grub/x86_64-efi  | sed -n 's/\.mod//gp' |grep -v adler32`
grub-mkimage -p /EFI32/grub -O i386-efi -o grub32.efi `ls
/usr/lib/grub/x86_64-efi  | sed -n 's/\.mod//gp' |grep -v adler32`



On Mon, Feb 10, 2014 at 2:35 PM, Colin Watson <cjwatson at debian.org> wrote:

> On Mon, Feb 10, 2014 at 01:06:48PM -0700, Ben Hildred wrote:
> >  I am attempting to network boot a early mac mini (core solo 32 bit/
> 32bit efi)
> > with debian. My netboot server runs debian and other diskless boxes boot
> debian
> > and other operating systems from this server.
> >  One severe problem I have is finding a functional boot loader. One of
> the more
> > interesting failures was when I assembled a 32 bit efi grub image with
> all
> > modules from the stable binary. This errored out with incompatible
> license.
> > Using the tool by Sukminder (
> http://unix.stackexchange.com/questions/74087
> > /grub-incompatible-license-error) I narrowed it down to the module
> adler23.mod
> > the problem whent away when this module was not included. I checked the
> source
> > from git and this module should be gpl3+.  It appears arch linux has a
> similar
> > problem with a different module, so I suspect something fragile in the
> build
> > system from upstream.
>
> Are you sure that you've actually assembled modules that all come from
> the same version of GRUB?  There's no useful version information in your
> report; perhaps I could have a complete transcript of what you did, and
> versions of all the packages involved?
>
> --
> Colin Watson                                       [cjwatson at debian.org]
>



-- 
--
Ben Hildred
Automation Support Services
303 815 6721
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20140212/0bb12cfe/attachment.html>


More information about the Pkg-grub-devel mailing list