summaryrefslogtreecommitdiff
path: root/strata/core/ca-certificates.morph
blob: 195d45d4f94155f41f342b2044991bd0592694bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: ca-certificates
kind: chunk
build-system: manual
build-commands:
- make
install-commands:
- mkdir -p "$DESTDIR"/usr/share/ca-certificates
- mkdir -p "$DESTDIR"/usr/sbin
- make DESTDIR="$DESTDIR" install
- mkdir "$DESTDIR"/etc
- |
  cd "$DESTDIR"/usr/share/ca-certificates
  find * -type f > "$DESTDIR"/etc/ca-certificates.conf
#
# The curl build requires some certificates to be present
# at build time. Building curl without the certificates
# installed results in a git which cannot use https.
#
# See: http://listmaster.pepperfish.net/pipermail/baserock-dev-baserock.org/2015-January/010419.html
#
- |
  export CERTSCONF="$DESTDIR/etc/ca-certificates.conf"
  export CERTSDIR="$DESTDIR/usr/share/ca-certificates"
  export ETCCERTSDIR="$DESTDIR/etc/ssl/certs"
  mkdir -p "$ETCCERTSDIR"
  ./sbin/update-ca-certificates
system-integration:
  ca-certificates-misc:
    00-update-ca-certs:
    - update-ca-certificates