mirror of
https://github.com/lineageos4microg/docker-lineage-cicd
synced 2024-11-09 10:09:56 +01:00
Only enable TLSv1/TLSv1.1 at runtime
Only for cm-14.1 and lineage-15.1 branches
This commit is contained in:
parent
86086d50b2
commit
68e57b904c
@ -151,8 +151,6 @@ RUN apt-get -qq update && \
|
||||
RUN curl https://storage.googleapis.com/git-repo-downloads/repo > /usr/local/bin/repo && \
|
||||
chmod a+x /usr/local/bin/repo
|
||||
|
||||
RUN sed -i 's/, TLSv1, TLSv1.1,/,/' /etc/java-8-openjdk/security/java.security
|
||||
|
||||
# Copy required files
|
||||
#####################
|
||||
COPY src/ /root/
|
||||
|
@ -89,12 +89,16 @@ for branch in ${BRANCH_NAME//,/ }; do
|
||||
permissioncontroller_patch=""
|
||||
case "$branch" in
|
||||
cm-14.1*)
|
||||
sed -i 's/, TLSv1, TLSv1.1,/,/' "/etc/java-8-openjdk/security/java.security"
|
||||
echo ">> [$(date)] Re-enabling support for TLSv1 and TLSv1.1 in OpenJDK 8 config"
|
||||
vendor="cm"
|
||||
themuppets_branch="cm-14.1"
|
||||
android_version="7.1.2"
|
||||
patch_name="android_frameworks_base-N.patch"
|
||||
;;
|
||||
lineage-15.1*)
|
||||
sed -i 's/, TLSv1, TLSv1.1,/,/' "/etc/java-8-openjdk/security/java.security"
|
||||
echo ">> [$(date)] Re-enabling support for TLSv1 and TLSv1.1 in OpenJDK 8 config"
|
||||
themuppets_branch="lineage-15.1"
|
||||
android_version="8.1"
|
||||
patch_name="android_frameworks_base-O.patch"
|
||||
|
Loading…
Reference in New Issue
Block a user