commit | a9ac62ae2d8d026779aaa8a041eb2d50f6405a9d | [log] [tgz] |
---|---|---|
author | Jan Kundrát <jan.kundrat@cesnet.cz> | Fri Oct 20 17:10:48 2017 +0200 |
committer | Jan Kundrát <jan.kundrat@cesnet.cz> | Fri Oct 20 17:10:48 2017 +0200 |
tree | 2ffc1fc90f767d4c563f0d0fc2d5d00b7de75677 | |
parent | 32dc2202d374678fe8c8d86ba6ad4e8f723bbcfb [diff] |
clearfog: Install RAUC keyring It seems that a certificate keychain is a required part here. Change-Id: I25a6fa49c127154b2710ac92a0e2d284fae381cd
diff --git a/board/czechlight/clearfog/overlay/etc/rauc/system.conf b/board/czechlight/clearfog/overlay/etc/rauc/system.conf index 8adc7f9..8fc94d4 100644 --- a/board/czechlight/clearfog/overlay/etc/rauc/system.conf +++ b/board/czechlight/clearfog/overlay/etc/rauc/system.conf
@@ -2,6 +2,9 @@ compatible=czechlight-clearfog bootloader=uboot +[keyring] +path=/etc/rauc/keyring.pem + [slot.rootfs.0] device=/dev/mmcblk0p1 type=ext4
diff --git a/board/czechlight/common/install-rauc-cert.sh b/board/czechlight/common/install-rauc-cert.sh new file mode 100755 index 0000000..bff359b --- /dev/null +++ b/board/czechlight/common/install-rauc-cert.sh
@@ -0,0 +1,3 @@ +#!/bin/sh + +install -m 0644 -D ${BR2_EXTERNAL_CZECHLIGHT_PATH}/crypto/rauc-cert.pem $TARGET_DIR/etc/rauc/keyring.pem