diff --git a/README.md b/README.md index 1c62682..de22d02 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,16 @@ ## How To Use The Makefile +NOTE: As of 12-20-2020 there is a new `make` target called `insecure`. +If you see a problem with `git clone` failing during builds, run `make +insecure` and this should fix it. This is caused by some problem with +how `openssl@1.1` finds its certs. + +This "fix" works by telling both `curl` and `git` to ignore +certificate validation of https. So ... DON'T do this on a +production environment. It's really there for building inside containers +to produce release tarballs. + This `makefile` handles both the bootstrapping and then the full release of a custom linuxbrew based toolset, installed at any location you wish (so long as you have write permission there). diff --git a/makefile b/makefile index 8f5f653..06d8447 100644 --- a/makefile +++ b/makefile @@ -61,8 +61,6 @@ full-build: @echo "Make sure the bootstrap is installed at ${TOOLSDIR}" - echo insecure > ~/.curlrc - git config --global http.sslVerify false sudo yum -y install autoconf automake patch perl texinfo ${BREW} install --verbose ${LANGS} ${BREW} link --verbose python @@ -86,6 +84,10 @@ brew upgrade pip install ${PIPMODULES} -U --ignore-installed +insecure: + echo insecure >> ~/.curlrc + git config --global http.sslVerify false + # Housekeeping