Skip to content
Snippets Groups Projects
Commit 6f52bf40 authored by Pavel Zhukov's avatar Pavel Zhukov
Browse files

rauc: Follow the project rename


Signed-off-by: default avatarPavel Zhukov <pavel.zhukov@huawei.com>
parent 4fe2587b
No related branches found
No related tags found
No related merge requests found
...@@ -24,7 +24,7 @@ device=/dev/mmcblk0p3 ...@@ -24,7 +24,7 @@ device=/dev/mmcblk0p3
bootname=B bootname=B
[keyring] [keyring]
path=/etc/rauc/ostc-insecure-cert.pem path=/etc/rauc/oniro-insecure-cert.pem
[handlers] [handlers]
# Use SystemOTA for RAUC pre-install and post-install handlers. This is # Use SystemOTA for RAUC pre-install and post-install handlers. This is
......
...@@ -11,5 +11,5 @@ openssl req -x509 -newkey rsa:4096 \ ...@@ -11,5 +11,5 @@ openssl req -x509 -newkey rsa:4096 \
-out cert.pem \ -out cert.pem \
-days 365 \ -days 365 \
-nodes \ -nodes \
-subj "/CN=ostc-eu.org/O=Open Source Technology Center (Europe)/C=PL/L=Warsaw" </dev/null -subj "/CN=oniroproject.org/O=Oniro Project/C=PL/L=Warsaw" </dev/null
...@@ -35,11 +35,11 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" ...@@ -35,11 +35,11 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
# downstream overrides to define it more strongly and use a different private # downstream overrides to define it more strongly and use a different private
# key. This variable is also set up to append to SRC_URI, so no additional # key. This variable is also set up to append to SRC_URI, so no additional
# declaration is needed. # declaration is needed.
RAUC_KEYRING_FILE ?= "ostc-insecure-cert.pem" RAUC_KEYRING_FILE ?= "oniro-insecure-cert.pem"
FILESEXTRAPATHS_prepend := "${THISDIR}/files:" FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
do_install_append() { do_install_append() {
if [ -f ${D}${sysconfdir}/rauc/ostc-insecure-cert.pem ]; then if [ -f ${D}${sysconfdir}/rauc/oniro-insecure-cert.pem ]; then
bbwarn "The image is using a known, insecure test key for verifying RAUC bundles. Do not use this in production systems." bbwarn "The image is using a known, insecure test key for verifying RAUC bundles. Do not use this in production systems."
fi fi
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment