Hi,
I made a package for efironment and ArchLinux [1] and i had to make some changes. And I provide the patch here.
I modified ConfigStore.pl so now on unix it looks for the environment variable $MKEFI_CONFIG and if defined it uses its content to get the path to configuration file (for read and write).
If on reading the file is not found, then it looks for /etc/mkefistate.$platform and then $HOME/.mkefistate.$platform
Anso I modified mkefi.py so the -fasm-blocks is not used for linux (as this flag is not avaible). If found in [2] that "This feature is APPLE ONLY".
[1] http://aur.archlinux.org/packages.php?do_Details=1&ID=11900
[2] http://developer.apple.com/documentation/developertools/gcc-4.0.1/gcc/Asm-Blocks-and-Functions.html
mkefi-2.patch
Logged In: YES
user_id=838282
Originator: YES
I update the patch so now I can compile refit with efironment.
Changed the command line "ld" to "gcc -shared"
And "objcopy --target=FORMAT" to "objcopy --target=efi-app-ia32"
File Added: mkefi.patch