Add updarte script - 500.ca-certificates_upgrade.sh 28/244428/4 accepted/tizen_6.0_unified_hotfix tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.114753 accepted/tizen/6.0/unified/hotfix/20201103.003746 accepted/tizen/unified/20200923.093649 submit/tizen/20200922.113527 submit/tizen_6.0/20201029.205104 submit/tizen_6.0_hotfix/20201102.192504 submit/tizen_6.0_hotfix/20201103.114804 tizen_6.0.m2_release
authorTomasz Swierczek <t.swierczek@samsung.com>
Fri, 18 Sep 2020 09:12:55 +0000 (11:12 +0200)
committerTomasz Swierczek <t.swierczek@samsung.com>
Mon, 21 Sep 2020 08:16:14 +0000 (10:16 +0200)
commitfa3fcb29f7e047922c9d4659ae11aade4edabacb
tree5c08611a5b326ca905ff4e07f6f8f20ebe1119c9
parentd151aad2f0b37c6c9de6797806f7ba654c848c02
Add updarte script - 500.ca-certificates_upgrade.sh

Update script will re-create the concatenated CA bundle
and re-make links to certs on RW partition.

The update script uses openssl binary to parse certificates,
so the line:

Requires: openssl1.1

was added to spec file. CA bundle could be created during
ca-certificate package build, but it looks like the scripts
to manage certificates were already installed together with
the package, so current logic (of creating the bundle
on actual image) was preserved with this "Requires",
at the expense of some additional disk usage for openssl binary.

Change-Id: I4bc44e945ca6592ead02a94c363d984a9982fe05
CMakeLists.txt
packaging/ca-certificates.spec
scripts/500.ca-certificates_upgrade.sh [new file with mode: 0755]