You are not logged in.

#1 2015-06-16 18:32:30

Slabity
Member
Registered: 2013-12-29
Posts: 40

[SOLVED] The gummiboot package modifies the source. How?

I was trying to get the gummiboot package to compile properly with the ABS when I ran into this bug.

I found it odd since I was able to compile gummiboot from source, I dug a bit deeper and found a tiny difference in the Makefile.am:

$ diff ~/abs/gummiboot/src/gummiboot/Makefile.am ~/gummiboot/Makefile.am
87a88
> 	-std=gnu90 \
108c109
< 	$(EFI_LDLAGS) \
---
> 	$(EFI_LDFLAGS) \
197c198
< 	$(QEMU) -machine accel=kvm -m 256 -bios $(QEMU_BIOS) -snapshot test-disk.img
---
> 	$(QEMU) -machine accel=kvm -m 1024 -bios $(QEMU_BIOS) -snapshot test-disk.img

Aha! So the gummiboot source needs to be compiled with the -std=gnu90 flag!

Well that seems to fix the compilation issues, but it left me wondering. How exactly does this file change? Both Makefiles are presumably from git://anongit.freedesktop.org/gummiboot, but the ABS version modifies it slightly? The PKGBUILD file seems harmless enough.

Can someone explain this to me?

Last edited by Slabity (2015-06-16 19:07:36)

Offline

#2 2015-06-16 18:52:32

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: [SOLVED] The gummiboot package modifies the source. How?

Slabity wrote:

Both Makefiles are presumably from git://anongit.freedesktop.org/gummiboot

Don't presume, check the PKGBUILD. It checks out a version that was tagged before these changes were made.

See also http://cgit.freedesktop.org/gummiboot/

Offline

#3 2015-06-16 19:10:51

Slabity
Member
Registered: 2013-12-29
Posts: 40

Re: [SOLVED] The gummiboot package modifies the source. How?

Raynman wrote:
Slabity wrote:

Both Makefiles are presumably from git://anongit.freedesktop.org/gummiboot

Don't presume, check the PKGBUILD. It checks out a version that was tagged before these changes were made.

See also http://cgit.freedesktop.org/gummiboot/

Ahh, damn. That was a lot simpler than I was expecting.

Offline

Board footer

Powered by FluxBB