hypervisor: install acrn.efi to /usr/lib
acrn.efi is a binary and need to be installed to /usr/lib instead of /usr/share. Suggested-by: Arzhan Kinzhalin <arzhan.i.kinzhalin@intel.com> Signed-off-by: Miguel Bernal Marin <miguel.bernal.marin@linux.intel.com>
This commit is contained in:
parent
9563e248b7
commit
977d48d550
|
@ -125,7 +125,7 @@ partition. Follow these steps:
|
||||||
.. code-block:: none
|
.. code-block:: none
|
||||||
|
|
||||||
# mkdir /mnt/EFI/acrn
|
# mkdir /mnt/EFI/acrn
|
||||||
# cp /usr/share/acrn/acrn.efi /mnt/EFI/acrn/
|
# cp /usr/lib/acrn/acrn.efi /mnt/EFI/acrn/
|
||||||
|
|
||||||
#. Configure the EFI firmware to boot the ACRN hypervisor by default
|
#. Configure the EFI firmware to boot the ACRN hypervisor by default
|
||||||
|
|
||||||
|
|
|
@ -92,7 +92,7 @@ all: $(EFIBIN)
|
||||||
$(OBJCOPY) --add-section .hv="$(HV_OBJDIR)/$(HV_FILE).bin" --change-section-vma .hv=0x6e000 --set-section-flags .hv=alloc,data,contents,load --section-alignment 0x1000 $(EFI_OBJDIR)/boot.efi $(EFIBIN)
|
$(OBJCOPY) --add-section .hv="$(HV_OBJDIR)/$(HV_FILE).bin" --change-section-vma .hv=0x6e000 --set-section-flags .hv=alloc,data,contents,load --section-alignment 0x1000 $(EFI_OBJDIR)/boot.efi $(EFIBIN)
|
||||||
|
|
||||||
install: $(EFIBIN) install-conf
|
install: $(EFIBIN) install-conf
|
||||||
install -D $(EFIBIN) $(DESTDIR)/usr/share/acrn/$(HV_FILE).efi
|
install -D $(EFIBIN) $(DESTDIR)/usr/lib/acrn/$(HV_FILE).efi
|
||||||
|
|
||||||
$(EFIBIN): $(BOOT)
|
$(EFIBIN): $(BOOT)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue