Has anyone successfully integrated RAUC? Here is where I am at.
In my local.conf I have added:
DISTRO_FEATURES_append = " systemd"
VIRTUAL-RUNTIME_init_manager = "systemd"
DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
DISTRO_FEATURES += "rauc"
MACHINE_FEATURES:append = " pcbios efi"
I created a basic bundle from an example I found:
DESCRIPTION = "RAUC bundle generator"
inherit bundle
RAUC_BUNDLE_COMPATIBLE = "${MACHINE}"
RAUC_BUNDLE_VERSION = "${DISTRO_VERSION}"
RAUC_BUNDLE_DESCRIPTION = "Generic Demo Bundle"
RAUC_BUNDLE_SLOTS = "rootfs"
RAUC_SLOT_rootfs = "core-image-minimal"
RAUC_SLOT_rootfs[fstype] = "ext4"
RAUC_KEY_FILE = "${THISDIR}/files/development-1.key.pem"
RAUC_CERT_FILE = "${THISDIR}/files/development-1.cert.pem"
Created rauc_%.bbappend as instructed (system.conf is currently empty):
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
SRC_URI:append := " file://system.conf"
Told my application about the new layer/recipe:
IMAGE_INSTALL_append = " rauc \
generic-bundle "
With this my first issue is
ERROR: Nothing RPROVIDES 'grub-efi' (but /mnt/WorkDrive/Documents/MAIN_Application/sources/poky/meta/recipes-core/packagegroups/packagegroup-core-boot.bb RDEPENDS on or otherwise requires it)
grub-efi was skipped: incompatible with host arm-poky-linux-gnueabi (not in COMPATIBLE_HOST)
This seems to be a version issue, but how do I solve it?