@@ -14,3 +14,4 @@ KERNEL_NAME ?= "cip"
WKS_FILE ?= "${MACHINE}.wks"
CIP_IMAGE_OPTIONS ?= ""
+
@@ -28,3 +28,5 @@ local_conf_header:
INITRAMFS_INSTALL:append = " initramfs-squashfs-hook"
ABROOTFS_PART_UUID_A ?= "fedcba98-7654-3210-cafe-5e0710000001"
ABROOTFS_PART_UUID_B ?= "fedcba98-7654-3210-cafe-5e0710000002"
+ PREFERRED_PROVIDER_swupdate-certificates-key ??= "swupdate-certificates-key-snakeoil"
+ PREFERRED_PROVIDER_swupdate-certificates ??= "swupdate-certificates-snakeoil"
@@ -1,4 +1,5 @@
globals :
{
bootloader = "ebg";
+ public-key-file = "/usr/share/swupdate-signing/swupdate-sign.crt"
};
@@ -12,6 +12,10 @@
inherit image_uuid
inherit read-only-rootfs
+SWU_SIGNED = "1"
+SWU_SIGNATURE_TYPE = "cms"
+IMAGE_INSTALL += " swupdate-certificates"
+
IMAGE_INSTALL += " swupdate"
IMAGE_INSTALL += " swupdate-handler-roundrobin"
@@ -31,8 +31,7 @@ SRC_URI += "file://0001-d-rules-Add-option-for-suricatta_lua.patch \
file://0003-d-patches-Add-patch-to-add-the-build-version-to-swup.patch \
file://0004-d-rules-Add-option-to-enable-suricatta_wfx.patch"
-# deactivate signing and hardware compability for simple a/b rootfs update
-DEB_BUILD_PROFILES += "pkg.swupdate.nosigning"
+# deactivate hardware compability for simple a/b rootfs update
DEB_BUILD_PROFILES += "pkg.swupdate.nohwcompat"
# suricatta wfx requires suricatta lua and the dependency