Hi,

>> The configury resolves the gnu-efi 4.0.0 to version 400. While the gnu-
>> efi 3.0.16 resolves to version 3016. This leads to a none working
>> bootaa64.efi for arm64. The cause is the version check in the code
>> (main, and watchdog driver) where it checks for version < 3016.
>> 
>> To fix this situation I locally decreased the version check to 400. But
>> I do not know what the right solution should be. Is gnu-efi reporting
>> correctly?
>> 
>> Any ideas?
> 
> https://github.com/siemens/efibootguard/blob/469cabb97d36ebc868b1dac0aa2acaa8274a31a7/configure.ac#L237
> 
> We basically take the version string of A.B.C and make it ABC - not good
> for giving A and B the required significance... Better math would be
> welcome ;)

Something like this?:

AC_SUBST([GNU_EFI_VERSION], [$( ($PKG_CONFIG --modversion "gnu-efi" 2>/dev/null 
|| echo 0) | $AWK -F. '{print $1*1000000 + $2*1000 + $3}' )])

I could prepare a patch....


Kind regards,
  Christian

-- 
Dr. Christian Storm
Siemens AG, FT RPD CED
Friedrich-Ludwig-Bauer-Str. 3, 85748 Garching, Germany

-- 
You received this message because you are subscribed to the Google Groups "EFI 
Boot Guard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/efibootguard-dev/055595C0-8DCB-40D1-A73A-80C5A0E3484E%40siemens.com.

Reply via email to