openjdk11: install certs into the correct dir
This commit is contained in:
parent
b48cad57aa
commit
2b6576ea49
|
@ -8,7 +8,7 @@ _openjdk_version="openjdk-${_java_ver}"
|
|||
|
||||
pkgname=openjdk11
|
||||
version="${_java_ver}.${_java_min_ver}.${_java_sec_ver}+${_jdk_update}"
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="jdk${_java_ver}u-jdk-${version}"
|
||||
build_style=gnu-configure
|
||||
configure_args="
|
||||
|
@ -149,10 +149,10 @@ post_install() {
|
|||
mv ${DESTDIR}/usr/lib/jvm/openjdk-${_java_ver}.${_java_min_ver}.${_java_sec_ver}-internal ${DESTDIR}/usr/lib/jvm/openjdk${_java_ver}
|
||||
rm -rf ${DESTDIR}/usr/lib/bin
|
||||
vmkdir usr/lib/jvm/$_openjdk_version/lib/security
|
||||
make-ca -g -f --destdir "${PWD}/ca" -k "${DESTDIR}/usr/lib/jvm/$_openjdk_version/bin/keytool"
|
||||
mv ./ca/etc/pki/tls/java/cacerts ${DESTDIR}/usr/lib/jvm/$_openjdk_version/lib/security/
|
||||
chmod -R ugo+rw ./ca
|
||||
rm -Rf ./ca
|
||||
make-ca -g -f --destdir "${PWD}/ca" -k "${DESTDIR}/usr/lib/jvm/openjdk${_java_ver}/bin/keytool"
|
||||
mv ./ca/etc/pki/tls/java/cacerts ${DESTDIR}/usr/lib/jvm/openjdk${_java_ver}/lib/security/
|
||||
chmod -R ugo+rw ./ca
|
||||
rm -Rf ./ca
|
||||
vlicense ASSEMBLY_EXCEPTION
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue