All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xen: Create EFI_VENDOR directory
@ 2021-03-22 13:33 Jason Andryuk
  2021-03-22 13:38 ` for-4.15 " Andrew Cooper
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Jason Andryuk @ 2021-03-22 13:33 UTC (permalink / raw)
  To: xen-devel
  Cc: Jason Andryuk, Andrew Cooper, George Dunlap, Ian Jackson,
	Jan Beulich, Julien Grall, Stefano Stabellini, Wei Liu

make install-xen fails when EFI_VENDOR is set (=fedora) with:
install: cannot create regular file '/home/user/xen/dist/install/boot/efi/efi/fedora/xen-4.15.0-rc.efi': No such file or directory

Create the EFI_VENDOR directory so xen.efi can be installed within.

This removes the need for Fedora and Qubes xen.spec files to manually
create the directory in advance.

Signed-off-by: Jason Andryuk <jandryuk@gmail.com>
---
 xen/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/xen/Makefile b/xen/Makefile
index 0b97e459e2..f372b44de3 100644
--- a/xen/Makefile
+++ b/xen/Makefile
@@ -289,6 +289,7 @@ _install: $(TARGET)$(CONFIG_XEN_INSTALL_SUFFIX)
 		ln -sf $(T)-$(XEN_FULLVERSION).efi $(D)$(EFI_DIR)/$(T)-$(XEN_VERSION).efi; \
 		ln -sf $(T)-$(XEN_FULLVERSION).efi $(D)$(EFI_DIR)/$(T).efi; \
 		if [ -n '$(EFI_MOUNTPOINT)' -a -n '$(EFI_VENDOR)' ]; then \
+			$(INSTALL_DIR) $(D)$(EFI_MOUNTPOINT)/efi/$(EFI_VENDOR); \
 			$(INSTALL_DATA) $(TARGET).efi $(D)$(EFI_MOUNTPOINT)/efi/$(EFI_VENDOR)/$(T)-$(XEN_FULLVERSION).efi; \
 		elif [ "$(D)" = "$(patsubst $(shell cd $(XEN_ROOT) && pwd)/%,%,$(D))" ]; then \
 			echo 'EFI installation only partially done (EFI_VENDOR not set)' >&2; \
-- 
2.30.2



^ permalink raw reply related	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2021-03-23 17:32 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-22 13:33 [PATCH] xen: Create EFI_VENDOR directory Jason Andryuk
2021-03-22 13:38 ` for-4.15 " Andrew Cooper
2021-03-22 14:01 ` Ian Jackson
2021-03-22 14:52 ` Jan Beulich
2021-03-22 14:59   ` Andrew Cooper
2021-03-22 15:15     ` Jan Beulich
2021-03-22 15:36       ` Jason Andryuk
2021-03-22 16:53         ` Jan Beulich
2021-03-22 17:08       ` Andrew Cooper
2021-03-23  7:23         ` Jan Beulich
2021-03-23 12:34           ` Jason Andryuk
2021-03-23 13:36             ` Jan Beulich
2021-03-23 13:41               ` Ian Jackson
2021-03-23 15:31                 ` Jan Beulich
2021-03-23 15:58                 ` Michael Young
2021-03-23 17:32                   ` Roman Shaposhnik
2021-03-23 17:30               ` Roman Shaposhnik

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.