From 9e0de31c672fd127e6fb0c88a26eb147037a9abc Mon Sep 17 00:00:00 2001 From: Matt Wilson Date: Tue, 24 Jul 2012 17:02:04 +0200 Subject: x86/EFI: define and use EFI_DIR make variable, defaulting to /usr/lib64/efi After commit 25594:ad08cd8e7097, EFI Xen binaries were installed to /efi instead of /usr/lib64/efi. This patch restores the previous behaviour established in commit 23645:638f31a30b6c. Signed-off-by: Matt Wilson Reported-by: Olaf Hering Committed-by: Jan Beulich --- docs/misc/efi.markdown | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/misc/efi.markdown b/docs/misc/efi.markdown index 652ea4d1ff..d697bc23c8 100644 --- a/docs/misc/efi.markdown +++ b/docs/misc/efi.markdown @@ -4,10 +4,12 @@ newer. Additionally, the binutils build must be configured to include support for the x86_64-pep emulation (i.e. `--enable-targets=x86_64-pep` or an option of equivalent effect should be passed to the configure script). -Once built, `make install-xen` can place the resulting binary directly into +Once built, `make install-xen` will place the resulting binary directly into the EFI boot partition, provided `EFI_VENDOR` is set in the environment (and `EFI_MOUNTPOINT` is overridden as needed, should the default of `/boot/efi` not -match your system). +match your system). The xen.efi binary will also be installed in +`/usr/lib64/efi/`, unless `EFI_DIR` is set in the environment to override this +default. The binary itself will require a configuration file (names with the `.efi` extension of the binary's name replaced by `.cfg`, and - until an existing -- cgit v1.2.3