Message ID | 1434459464-15247-1-git-send-email-ard.biesheuvel@linaro.org |
---|---|
State | New |
Headers | show |
On 16 June 2015 at 17:00, Laszlo Ersek <lersek@redhat.com> wrote: > On 06/16/15 14:57, Ard Biesheuvel wrote: >> Add a .gitignore that masks the OpenSSL header files under >> Include/openssl and the OpenSSL source files under >> Library/OpensslLib/openssl-*. This prevents Git from considering >> any of these files for addition, and prevents other clutter in >> the git status output. >> >> Contributed-under: TianoCore Contribution Agreement 1.0 >> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> >> --- >> CryptoPkg/.gitignore | 2 ++ >> 1 file changed, 2 insertions(+) >> create mode 100644 CryptoPkg/.gitignore >> >> diff --git a/CryptoPkg/.gitignore b/CryptoPkg/.gitignore >> new file mode 100644 >> index 000000000000..05272c286525 >> --- /dev/null >> +++ b/CryptoPkg/.gitignore >> @@ -0,0 +1,2 @@ >> +Include/openssl >> +Library/OpensslLib/openssl-*/ >> > > Reviewed-by: Laszlo Ersek <lersek@redhat.com> > Thanks. > Truth to be told, in my local clone, in my "base_config" branch (on top > of which I always develop the feature branches) I always keep a commit > called > > setup build environment for secure boot support > > which is a commit that simply captures the effects of > "CryptoPkg/Library/OpensslLib/Patch-HOWTO.txt". Such a commit makes it > very easy to rebase the "base_config" branch (and my dependent feature > branches) on top of a refreshed master. (Of course when edk2 updates > OpenSSL then I have to redo this commit, but it's pretty simple, and I > do notice such OpenSSL updates when I pull master.) > I think the OpenSSL dependency would be a suitable candidate for being incorporated as a git submodule, whose upstream repo has these changes pre-applied instead of relying on the howto, the .diff and the install scripts (unless there are legal concerns, of course). We could simply branch off the OpenSSL_1_0_2-stable branch, apply our changes and merge upstream changes periodically. The core EDK2 repo could just jump from one stable state to the next. > So, this CryptoPkg/.gitignore patch will interfere with that local > commit of mine, but that's not a problem: I can just revert this > upstream commit in my "base_config" branch, in the same (or one earlier) > commit that captures the OpenSSL tree. Hence my R-b. > OK, glad that it works for you
On 16 June 2015 at 16:48, Long, Qin <qin.long@intel.com> wrote: > This looks good. > > Reviewed-by: Qin Long <qin.long@intel.com> > Committed as r17647 Thanks, Ard. > -----Original Message----- > From: Ard Biesheuvel [mailto:ard.biesheuvel@linaro.org] > Sent: Tuesday, June 16, 2015 8:58 PM > To: edk2-devel@lists.sourceforge.net; Long, Qin > Cc: lersek@redhat.com; Ard Biesheuvel > Subject: [PATCH] CryptoPkg: add .gitignore for OpenSSL source files > > Add a .gitignore that masks the OpenSSL header files under Include/openssl and the OpenSSL source files under Library/OpensslLib/openssl-*. This prevents Git from considering any of these files for addition, and prevents other clutter in the git status output. > > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> > --- > CryptoPkg/.gitignore | 2 ++ > 1 file changed, 2 insertions(+) > create mode 100644 CryptoPkg/.gitignore > > diff --git a/CryptoPkg/.gitignore b/CryptoPkg/.gitignore new file mode 100644 index 000000000000..05272c286525 > --- /dev/null > +++ b/CryptoPkg/.gitignore > @@ -0,0 +1,2 @@ > +Include/openssl > +Library/OpensslLib/openssl-*/ > -- > 1.9.1 > ------------------------------------------------------------------------------
diff --git a/CryptoPkg/.gitignore b/CryptoPkg/.gitignore new file mode 100644 index 000000000000..05272c286525 --- /dev/null +++ b/CryptoPkg/.gitignore @@ -0,0 +1,2 @@ +Include/openssl +Library/OpensslLib/openssl-*/
Add a .gitignore that masks the OpenSSL header files under Include/openssl and the OpenSSL source files under Library/OpensslLib/openssl-*. This prevents Git from considering any of these files for addition, and prevents other clutter in the git status output. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> --- CryptoPkg/.gitignore | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 CryptoPkg/.gitignore