aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-connectivity/kuksa-val/kuksa-val_git.bb2
-rw-r--r--recipes-core/nss/nss-agl-driver-db_git.bb3
2 files changed, 3 insertions, 2 deletions
diff --git a/recipes-connectivity/kuksa-val/kuksa-val_git.bb b/recipes-connectivity/kuksa-val/kuksa-val_git.bb
index 2c1966ff6..48cda1081 100644
--- a/recipes-connectivity/kuksa-val/kuksa-val_git.bb
+++ b/recipes-connectivity/kuksa-val/kuksa-val_git.bb
@@ -79,7 +79,7 @@ do_install:append() {
pkg_postinst_ontarget:${PN}-client-certificates () {
certutil -A -d /home/agl-driver/.pki/nssdb -n "KuksaRootCA" -t "pC,," -i ${sysconfdir}/kuksa-val/CA.pem
- chown agl-driver:agl-driver -R /home/agl-driver/.pki/
+ chown agl-driver:agl-driver -R /home/agl-driver/
}
# Put client certificates into their own package so we can avoid
diff --git a/recipes-core/nss/nss-agl-driver-db_git.bb b/recipes-core/nss/nss-agl-driver-db_git.bb
index ba203d4e6..3d8aa5f4b 100644
--- a/recipes-core/nss/nss-agl-driver-db_git.bb
+++ b/recipes-core/nss/nss-agl-driver-db_git.bb
@@ -12,10 +12,11 @@ do_compile[noexec] = "1"
do_install() {
mkdir -p ${D}/home/agl-driver/.pki/nssdb
certutil -N -d ${D}/home/agl-driver/.pki/nssdb --empty-password
+ chown -R 1001:1001 ${D}/home/agl-driver
}
pkg_postinst_ontarget:${PN} () {
- chown agl-driver:agl-driver -R /home/agl-driver/.pki/
+ chown agl-driver:agl-driver -R /home/agl-driver/
}
FILES:${PN} += "/home/agl-driver/.pki/*"