From nobody Fri Apr 19 11:11:38 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+45593+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+45593+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1565770532; cv=none; d=zoho.com; s=zohoarc; b=oP0QIO7fZGHowdNUZNSYDX/xS8LKhw4MHKQmUwAapb8VsA7Tu9NxqpTVyq85WDhHQuRdSKQNrHZOe/1m6YTXAKmk/Ra8p01Pp1w0DC0mr861qvVmbSBsIRwgmiE48ksSyiKZ0oJvmAiLUOLNhccy1E+9nYNBtbvIlWD/5CWncwg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1565770532; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To:ARC-Authentication-Results; bh=sFx1e9pNkCjSbsihcStrhUfnfP2B/tvBl8zHIThwgMc=; b=gqapiC/HJmqyR/j38i5bfGks3dbvucKFAEFBc6d8jbW+k9Cc4L9QzjqgSaDsRHECY48QxYhWOBGQmcUCTQgxPfJ5XqTs4FPL0lI8K59fae/p3zPG5pAtAfgBQToBOJpEdBjfeNy4qKA4cFzX2mPgnbsiMeuZWnqw6TNnXQw1IlU= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+45593+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1565770532654426.18862616905596; Wed, 14 Aug 2019 01:15:32 -0700 (PDT) Return-Path: X-Received: from mga05.intel.com (mga05.intel.com []) by groups.io with SMTP; Wed, 14 Aug 2019 01:15:31 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Aug 2019 01:15:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,384,1559545200"; d="scan'208";a="181447171" X-Received: from shwdeopenpsi777.ccr.corp.intel.com ([10.239.158.28]) by orsmga006.jf.intel.com with ESMTP; 14 Aug 2019 01:15:30 -0700 From: "Wang, Jian J" To: devel@edk2.groups.io Cc: Leif Lindholm , Michael D Kinney , Liming Gao Subject: [edk2-devel] [PATCH v3 1/2] Readme.md: add submodule policy and clone commands Date: Wed, 14 Aug 2019 16:15:26 +0800 Message-Id: <20190814081527.4556-2-jian.j.wang@intel.com> In-Reply-To: <20190814081527.4556-1-jian.j.wang@intel.com> References: <20190814081527.4556-1-jian.j.wang@intel.com> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,jian.j.wang@intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1565770532; bh=5dhY4crILYs0e2Ha+HU3fPflkG2qUo1pA7hdOKGtAoA=; h=Cc:Date:From:Reply-To:Subject:To; b=jcDRbzvWAUGGUyzZNim3uMbiMIh+5Czs9mR0EAsHRkERN1T+yQsxZ2VmGB8SKVDwuel SInP6VpPtQYGZ8xxnl9dPWChpIu6dWbPVRrPmbsZlY2BIPLRAcv06ROTI4b6pkvgbWOmq Ie70XWLKtlCJVuxvWPV1M55mx4lm8tdDn3c= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D1910 A section 'Submodules' is added to clarify the submodule policy in edk2 repo. Git commands are also added to show the correct way to clone submodule repos, in which '--recursive' is removed because it's not needed but recommended in other document. Related commits: Openssl-1.1.1b upgrade: acfb90911840c38a0beb9bcfe0065668244d2b4d berkeley-softfloat-3: 3cc57695df5a6e8c65fb46b993836c315cabf49d Cc: Leif Lindholm Cc: Michael D Kinney Cc: Liming Gao Signed-off-by: Jian J Wang Reviewed-by: Leif Lindholm --- Readme.md | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/Readme.md b/Readme.md index 7c873759a5..27e4ce0771 100644 --- a/Readme.md +++ b/Readme.md @@ -140,3 +140,42 @@ Signed-off-by: Contributor Name the change. Each line should be less than ~70 characters. * `Signed-off-by` is the contributor's signature identifying them by their real/legal name and their email address. + +# Submodules + +Submodule in EDK II is allowed but submodule chain should be avoided +as possible as we can. Currently EDK II contains two submodules + +- CryptoPkg/Library/OpensslLib/openssl +- ArmPkg/Library/ArmSoftFloatLib/berkeley-softfloat-3 + +The latter one is actually required by previous one. It's inevitable +in openssl-1.1.1 (since stable201905) for floating point parameter +conversion, but should be dropped once there's no such need in future +release of openssl. + +To get a full, buildable EDK II repository, use following steps of git +command + +``` +$ git clone https://github.com/tianocore/edk2.git +$ cd edk2 +$ git submodule update --init +$ cd .. +``` + +If there's update for submodules, use following git commands to get the +latest submodules code. + +``` +$ cd edk2 +$ git pull +$ git submodule update +``` + +Note: When cloning submodule repos, '--recursive' option is not +recommended. EDK II itself will not use any code/feature from +submodules in above submodules. So using '--recursive' adds a +dependency on being able to reach servers we do not actually want +any code from, as well as needlessly downloading code we will not +use. --=20 2.17.1.windows.2 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#45593): https://edk2.groups.io/g/devel/message/45593 Mute This Topic: https://groups.io/mt/32861688/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri Apr 19 11:11:38 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+45594+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+45594+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1565770534; cv=none; d=zoho.com; s=zohoarc; b=VE4h7GZrfAUOtTI44wZrZDSmVzY5dSH6Tx3mOoHzlerksqdva8Atsz4V2i3ZeInNS17DF65qSNlMiY3AJyIaW96YsBgpP1RF0wJu+jwBDaZ1Rh7csUm3ZGu1Oorc01NvfhnxbslpDf/jLxX8C1V5MB/d2dZMNPvow8ir1q7FGf8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1565770534; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To:ARC-Authentication-Results; bh=8iwdl65Z3Ht9nQzsKrC/7GtBR7pQPACUAqfp16lCxCU=; b=EOKNpmXn8MTro1c8QbqPu394X6IySTFA/CTfV3baHn4nQKP9xBkYhhBgKzNGM7CO2ATixVLxcbOvDttutOUPFORjnBmqZrlCUoaPQP6hVWm7CJw89ZaAF19+B1lG+zHaQat8eXTqyacBjqYtCvg22ZdShb/ijAoYR0cvQ2/6OmI= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+45594+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1565770534364947.2591989011296; Wed, 14 Aug 2019 01:15:34 -0700 (PDT) Return-Path: X-Received: from mga05.intel.com (mga05.intel.com []) by groups.io with SMTP; Wed, 14 Aug 2019 01:15:33 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Aug 2019 01:15:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,384,1559545200"; d="scan'208";a="181447194" X-Received: from shwdeopenpsi777.ccr.corp.intel.com ([10.239.158.28]) by orsmga006.jf.intel.com with ESMTP; 14 Aug 2019 01:15:31 -0700 From: "Wang, Jian J" To: devel@edk2.groups.io Cc: Leif Lindholm , Michael D Kinney , Liming Gao Subject: [edk2-devel] [PATCH v3 2/2] CryptoPkg/OpensslLib: remove clone commands Date: Wed, 14 Aug 2019 16:15:27 +0800 Message-Id: <20190814081527.4556-3-jian.j.wang@intel.com> In-Reply-To: <20190814081527.4556-1-jian.j.wang@intel.com> References: <20190814081527.4556-1-jian.j.wang@intel.com> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,jian.j.wang@intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1565770534; bh=GNYWDKVTPgNSCQN+Oftpo0rcRMZJ4IVW9hBzDWGg/yM=; h=Cc:Date:From:Reply-To:Subject:To; b=aMU88bYoYiIHiTQP3sNSrObonsp7TVJZkHIOijUdVdDBpRlmmS1Bg2kU8XusbvqbmIJ 5+rqIa4REA/kzyJOCVYv4RG/ooQs9wGWaYRlwHUNnPPdsQOe6XFcO/tYtZ5RyAID08kfL PVGW0WW8fgUu+s/t8f/62IAQFrax9UkpaKg= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" https://bugzilla.tianocore.org/show_bug.cgi?id=3D1910 edk2/Readme.md has added a section to explain the correct clone commands for submodules. Detailed steps in the OpenSSL-HOWTO.txt are removed to avoid any inconsistency. Cc: Leif Lindholm Cc: Michael D Kinney Cc: Liming Gao Signed-off-by: Jian J Wang Reviewed-by: Leif Lindholm --- CryptoPkg/Library/OpensslLib/OpenSSL-HOWTO.txt | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/CryptoPkg/Library/OpensslLib/OpenSSL-HOWTO.txt b/CryptoPkg/Lib= rary/OpensslLib/OpenSSL-HOWTO.txt index db45eb88d1..e52ee27b49 100644 --- a/CryptoPkg/Library/OpensslLib/OpenSSL-HOWTO.txt +++ b/CryptoPkg/Library/OpensslLib/OpenSSL-HOWTO.txt @@ -24,22 +24,8 @@ on the cryptography. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D HOW to Install OpenSSL for UEFI Building =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D - OpenSSL repository was added as one submodule of EDKII project. - - The user can use the following commands to clone both main EDKII repo and -openssl submodule: - 1) Add the "--recursive" flag to the git clone command: - $ git clone --recursive https://github.com/tianocore/edk2 -or - 2) Manually initialize and update the submodules after the clone operati= on - on main project: - $ git clone https://github.com/tianocore/edk2 - $ git submodule update --init --recursive - - And use the following combined commands to pull the remote submodule upd= ates -(e.g. Updating the new supported OpenSSL release tag): - $ git pull --recurse-submodules && \ - git submodule update --recursive + OpenSSL repository was added as one submodule of EDKII project. Please +refer to edk2/Readme.md for how to clone the code. =20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D About process_files.pl --=20 2.17.1.windows.2 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#45594): https://edk2.groups.io/g/devel/message/45594 Mute This Topic: https://groups.io/mt/32861689/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-