mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-17 23:44:17 +08:00
Use /etc/ssl/certs for SSL certificates
This commit is contained in:
parent
a8954f6efa
commit
5e98219f19
@ -29,7 +29,7 @@ COOKBOOK_CONFIGURE_FLAGS=(
|
||||
--disable-tftp
|
||||
--disable-threaded-resolver
|
||||
--enable-static
|
||||
--with-ca-path=/ssl/certs
|
||||
--with-ca-path=/etc/ssl/certs
|
||||
--with-nghttp2="${COOKBOOK_SYSROOT}"
|
||||
--with-ssl="${COOKBOOK_SYSROOT}"
|
||||
--with-zlib="${COOKBOOK_SYSROOT}"
|
||||
|
||||
@ -4,6 +4,8 @@ git = "https://gitlab.redox-os.org/redox-os/ca-certificates.git"
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
mkdir -pv "${COOKBOOK_STAGE}/ssl"
|
||||
cp -rv "${COOKBOOK_SOURCE}/certs" "${COOKBOOK_STAGE}/ssl/certs"
|
||||
mkdir -pv "${COOKBOOK_STAGE}/etc/ssl"
|
||||
cp -rv "${COOKBOOK_SOURCE}/certs" "${COOKBOOK_STAGE}/etc/ssl/certs"
|
||||
#TODO: remove deprecated location after all recipes are fixed
|
||||
ln -s etc/ssl "${COOKBOOK_STAGE}/ssl"
|
||||
"""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user