From nobody Tue Apr 16 10:52:21 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+43457+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+43457+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1562738999; cv=none; d=zoho.com; s=zohoarc; b=WM+RxEcVuLd3EMo5lk2iN6Pfo9zuDUKfuy68bcQPbTVaXfcR4LoWRYzDdCiyJNd4n3u423Wp8KrLdUVlZ3z1VVve5WuSDUqsmlv0IxS5+czf9IvGawyYovtVmgqFBXnNES22Dl/Gk2PmLV5EjMGxAlP/V9FuxisoQF0dSd1LW4M= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1562738999; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To:ARC-Authentication-Results; bh=0Uj9niVDqYy3cuoh0+dVahE+FaaEcQDGhyRfO19EGVM=; b=LPWC43Q5bGv2HTCTIhU6L7/pzKVhScqDy4mxxMp2O2Q6vhmn6kjTnZKjt3B0Yerxf0dLu7hWC9/WkCkoTDVdo5QoDlrDChtOwNmkIDfNpINWIjJqNV55rp+ys9FirImbS61QgqH/nXTYmNQxxNyBVtjMyJqsEECAWciwWovLoC4= 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+43457+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 1562738999978305.79924912512536; Tue, 9 Jul 2019 23:09:59 -0700 (PDT) Return-Path: X-Received: from mga09.intel.com (mga09.intel.com []) by groups.io with SMTP; Tue, 09 Jul 2019 23:09:59 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Jul 2019 23:09:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,473,1557212400"; d="scan'208";a="167629791" X-Received: from shwdeopenpsi777.ccr.corp.intel.com ([10.239.158.28]) by fmsmga007.fm.intel.com with ESMTP; 09 Jul 2019 23:09:57 -0700 From: "Wang, Jian J" To: devel@edk2.groups.io Cc: Leif Lindholm , Michael D Kinney , Liming Gao Subject: [edk2-devel] [ PATCH v2 1/2] Readme.md: add submodule policy and clone commands Date: Wed, 10 Jul 2019 14:09:54 +0800 Message-Id: <20190710060955.7672-2-jian.j.wang@intel.com> In-Reply-To: <20190710060955.7672-1-jian.j.wang@intel.com> References: <20190710060955.7672-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=1562738999; bh=etgSeTpgluA1NX1sgUodG5db1f3W5Bt+Rqdn6PwnxoU=; h=Cc:Date:From:Reply-To:Subject:To; b=PVFFstaas4j6Tp5SzTDkD+HXodWHu43pTB2iofqjgf2z1UIrUsmtMxSn/Fzxg6/A15L Tro3i4mKVUdec+JwSs2OuXixv52NkURcF0z5NcVPhGb4X1XVrYz+IYJZo3WSXaicVk2lA cAed3981VUXJWlIMEbpPT2W9iZ8iAqVZ8DE= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" > v2: update wording per Leif's and others' comments 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 | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/Readme.md b/Readme.md index e564c6c09b..c475468655 100644 --- a/Readme.md +++ b/Readme.md @@ -143,3 +143,31 @@ 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, submodule chain should be avoided in EDK II repo +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 two steps +of git command + +``` +$ git clone https://github.com/tianocore/edk2.git +$ git submodule update --init +``` + +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 (#43457): https://edk2.groups.io/g/devel/message/43457 Mute This Topic: https://groups.io/mt/32413655/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-