From nobody Tue Apr 23 17:06:05 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+43423+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+43423+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1562654180; cv=none; d=zoho.com; s=zohoarc; b=CV5p7hlYN6tXTtktG+f93DNBckxtRra3/F0Md1qbY/PR0zuQ3Vm0FBALVrDT8YMP6WZnSDjmesjvfmHVKYHt4uKHC/ZLD++cQ/azchR1i64duA4q6U66QNpVy4/GxQ0NwK+G1pYM1/l3Jm48cf/0e8l/nIMLLcLw/CfTJ1Fx3bA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1562654180; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To:ARC-Authentication-Results; bh=EsAvWKMaeWGDLTKiJIaBHeAQfcsFR2QULNYHokjX1S4=; b=dnMYToEzc6qrn39rVxZ5Z9dhTpiYLK/92+V0HwbIFSY5k2bhgclJ5dJuxLyQLdxr1koFYEuGJyfqnGgv50T8ioLmTLvS+EJErUYzuAqjV9QIPbZGnIwk9kKkdN54PthsjUZCiYNVHv+xQT4y3ze+5FDbFe+fbilKVkX/CMMxi30= 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+43423+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 1562654180413456.3908720824671; Mon, 8 Jul 2019 23:36:20 -0700 (PDT) Return-Path: X-Received: from mga02.intel.com (mga02.intel.com []) by groups.io with SMTP; Mon, 08 Jul 2019 23:36:19 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Jul 2019 23:36:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,469,1557212400"; d="scan'208";a="340668263" X-Received: from shwdeopenpsi777.ccr.corp.intel.com ([10.239.158.28]) by orsmga005.jf.intel.com with ESMTP; 08 Jul 2019 23:36:03 -0700 From: "Wang, Jian J" To: devel@edk2.groups.io Cc: Leif Lindholm , Michael D Kinney , Liming Gao Subject: [edk2-devel] [PATCH 1/2] Readme.md: add submodule policy and clone commands Date: Tue, 9 Jul 2019 14:36:00 +0800 Message-Id: <20190709063601.7212-2-jian.j.wang@intel.com> In-Reply-To: <20190709063601.7212-1-jian.j.wang@intel.com> References: <20190709063601.7212-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=1562654179; bh=RZ/PvAd1UEMDUcpMOval+pxJ+bPmqTfs/OndRzdrhEg=; h=Cc:Date:From:Reply-To:Subject:To; b=BaQcvig2uI7wZEItXtBSFCLNpQ2k9gQ1/4HSk7cmxgKuHDamqoYN3dRDpgx8VRWu4HD 4A4zg7+8phE1aqlHSGWqLg45HGF3OIku5kc4FCagSXAxXnsqkWIELrqa8sDqYbjNBMbnO inAfYqaQNu9ZJpifyHTuySkloh8AwI7GxbA= 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 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 --- Readme.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/Readme.md b/Readme.md index e564c6c09b..ddb4da5648 100644 --- a/Readme.md +++ b/Readme.md @@ -143,3 +143,22 @@ 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 + +As a general policy, submodules should be avoided in EDK II repo as possib= le as we can, especially submodules required by other submodules. Currently= EDK II contains two submodules + +- CryptoPkg/Library/OpensslLib/openssl +- ArmPkg/Library/ArmSoftFloatLib/berkeley-softfloat-3 + +The later one is actually required by previous one. It's inevitable in ope= nssl-1.1.1 (since stable201905) for floating point parameter conversion, bu= t should be dropped once there's no such need in future release of openssl. + +Note: When cloning submodule repos, '--recursive' option is not recommende= d. EDK II itself will not use any code/feature from submodules in above sub= modules. '--recursive' might cause failure in cloning behind proxy. + +To get a full, buildable EDK II repository, use following two steps of git= command + +``` +$ git clone https://github.com/tianocore/edk2.git +$ git submodule update --init +``` + --=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 (#43423): https://edk2.groups.io/g/devel/message/43423 Mute This Topic: https://groups.io/mt/32402918/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 Tue Apr 23 17:06:05 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+43424+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+43424+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1562654183; cv=none; d=zoho.com; s=zohoarc; b=e4zgIVP8yRKzyw5wut24H/X1SQjwkkkbeqLfQM96uqhOJTregxLzd33eTstAlrmYTKe38gWf1BFNUliD+nymVu9iJL+XmUQdlM9OU6AnUwDEupaZItZuNQWWOSTUdHMsmehN05rA27wkMFlml1JqF+zAvXcWKeykuNXd8Qr9Iec= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1562654183; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To:ARC-Authentication-Results; bh=cVmj1gYyFtvTp+tna3UFZaB5GBrocqpg4gmCYW0yHos=; b=Jv5hIEEPFEKYe2pPgxD20UrJVxlpM03uqBLF8qqCQ+U7mmg4+enhteBjLTV3sQKzn564CllwrdFtv/SgJOAxfjW1cC5BpRk57Q9wttse8fBFiv7gKKddwnJNw5VlkKwBITiz1fLizRlbwTuuqi1vqHpzwcQG6Owj3Zf/uf3VCm0= 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+43424+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 1562654183736557.4200107441015; Mon, 8 Jul 2019 23:36:23 -0700 (PDT) Return-Path: X-Received: from mga02.intel.com (mga02.intel.com []) by groups.io with SMTP; Mon, 08 Jul 2019 23:36:23 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Jul 2019 23:36:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,469,1557212400"; d="scan'208";a="340668269" X-Received: from shwdeopenpsi777.ccr.corp.intel.com ([10.239.158.28]) by orsmga005.jf.intel.com with ESMTP; 08 Jul 2019 23:36:04 -0700 From: "Wang, Jian J" To: devel@edk2.groups.io Cc: Leif Lindholm , Michael D Kinney , Liming Gao Subject: [edk2-devel] [PATCH 2/2] CryptoPkg/OpensslLib: remove clone commands Date: Tue, 9 Jul 2019 14:36:01 +0800 Message-Id: <20190709063601.7212-3-jian.j.wang@intel.com> In-Reply-To: <20190709063601.7212-1-jian.j.wang@intel.com> References: <20190709063601.7212-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=1562654183; bh=ci2YxZo2ijZo7jR4SrBx1iSVn/7abitRmSDFaD3EmEk=; h=Cc:Date:From:Reply-To:Subject:To; b=gc2nVtf6KS9cxE4N42WkngU2akVjCccsXzzEGOwlxiSt8zsQq12PZZAeJKCcgN1Yg+Q f7hsZCaH8mUYy8T715WhZlSKzkme04ImcqrCtzRAdqgfwOf3G4q6hatHRmn7D2eZ3jXsy 5ScuI8jm99Ly04jDnen3vGj5mYsf1U/lQFs= 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 (#43424): https://edk2.groups.io/g/devel/message/43424 Mute This Topic: https://groups.io/mt/32402920/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-