From patchwork Mon Mar 22 13:33:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Andryuk X-Patchwork-Id: 12154777 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2A83DC433C1 for ; Mon, 22 Mar 2021 13:33:32 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CD4BE61925 for ; Mon, 22 Mar 2021 13:33:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CD4BE61925 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.100208.190781 (Exim 4.92) (envelope-from ) id 1lOKg9-0001Wv-PW; Mon, 22 Mar 2021 13:33:09 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 100208.190781; Mon, 22 Mar 2021 13:33:09 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lOKg9-0001Wo-MO; Mon, 22 Mar 2021 13:33:09 +0000 Received: by outflank-mailman (input) for mailman id 100208; Mon, 22 Mar 2021 13:33:08 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lOKg8-0001Wj-Gg for xen-devel@lists.xenproject.org; Mon, 22 Mar 2021 13:33:08 +0000 Received: from mail-qv1-xf32.google.com (unknown [2607:f8b0:4864:20::f32]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 6fb2aa84-6827-43a6-b9e6-d2844e411a9b; Mon, 22 Mar 2021 13:33:07 +0000 (UTC) Received: by mail-qv1-xf32.google.com with SMTP id cx5so8571609qvb.10 for ; Mon, 22 Mar 2021 06:33:07 -0700 (PDT) Received: from pm2-ws13.praxislan02.com ([2001:470:8:67e:1322:1f91:8356:c0dd]) by smtp.gmail.com with ESMTPSA id k4sm10969035qke.13.2021.03.22.06.33.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Mar 2021 06:33:06 -0700 (PDT) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 6fb2aa84-6827-43a6-b9e6-d2844e411a9b DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=FQPB8K9PrmdKAV92Jc/Bf3qOZoqSuvhFC01n7H41QLE=; b=o0OH2/UcTaXjiQQM1TkArTdytlCWeCuPXSzjY9KSueBTnhzR7ZDXYDric7SkI8moFI lPNbrUNdr/ZivENdhSs9P4drNETY895eocMsPqU++hqmVgNovDuepbT2dwCNZ+MrUxAm TaarQ4pyfTv0aRls1emvJGClsiwDS8red2IBV3O49c8VVPRi7v4CLHT06KaF7lNclpdh 4oi59tk3L70zsuN+0/QbpD0lTEqAEHcpZRKQWNXhMYttpHY98qPGeLnVqruHfh6ELLvY UQNHiCbU6ezxAzzk1rtAKhR1RzedCsiCCfycl/saDaqVgI3gz+TToSOo7UaaI2qNhDeX uJYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=FQPB8K9PrmdKAV92Jc/Bf3qOZoqSuvhFC01n7H41QLE=; b=bIKrv3q+rMWd+202ZxDKFUuYAbYwLDFxK4EYHW1yA8leDUvrDqzCYJ4dTBRY0wgG03 F8us6fsYeDL13GCy+n01St8kI6AVW17gAki5fw5dPkpp7YdnXUHrd/pUl/2PjTfUon8S DAbdtYMc3gtR5z9oMwxIjTuPuor9UaliwzAS0Dq9+IPAD1eZfOhPMHvHpacPsTt91720 w/i8kIm9AB2KwClsjGXhxm8HMJUFIpxSW71yhoHj/V1ZDTs0on4HK5DeT617RA/5A1RE Fk5vxT+++DC9egrZBgNk+Mtb2AAXCfV/XKPYNAzUzsrc3+/11YA1zzf554nIbtKTUsnX C+9A== X-Gm-Message-State: AOAM530QLXVM5o3PwBNzzpzcGj/QfpyEHWZl3JsZE14LKqdJ+NwgBHJk jDqzkPkTfL6CgJ/zo2Ak+a7HCn+B9y8= X-Google-Smtp-Source: ABdhPJy6BKHEK5AUYST4TUCw1SxNYltZ6z4A5LPZ6VUsyAYE+Q9Lh347gQ1+vftNtMxpYesM5iqI8g== X-Received: by 2002:a0c:f9cc:: with SMTP id j12mr21059219qvo.15.1616419987147; Mon, 22 Mar 2021 06:33:07 -0700 (PDT) From: Jason Andryuk To: xen-devel@lists.xenproject.org Cc: Jason Andryuk , Andrew Cooper , George Dunlap , Ian Jackson , Jan Beulich , Julien Grall , Stefano Stabellini , Wei Liu Subject: [PATCH] xen: Create EFI_VENDOR directory Date: Mon, 22 Mar 2021 09:33:01 -0400 Message-Id: <20210322133301.11308-1-jandryuk@gmail.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 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 Acked-by: Andrew Cooper --- 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; \