You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While working on the RAUC integration for STM32MP157F-DK2 and other STM32MP embedded Linux devices, I had to set IMAGE_MACHINE_SUFFIX="-${DISTRO}-stm32mp15-disco" in the RAUC bundle.
Now I am trying to use RAUC_SLOT_rootfs[rename] instead but I am running into a behavior that looks like a bug in class classes-recipe/bundle.bbclass from layer meta-rauc. In the recipe I have set:
NOTE: adding image to bundle dir: 'st-image-core-openstlinux-weston-stm32mp15-disco.rootfs.ext4'
ERROR: Failed to find source st-image-core-stm32mp15-disco.rootfs.ext4
In bundle.bbclass variable imgname is used to print the NOTE and the value matches RAUC_SLOT_rootfs[rename]. But after that for the ERROR variable imgsource is used. Variable imgsource has a different value from RAUC_SLOT_rootfs[rename] and as a result it points to a file that doesn't exist in the particular case.
I am testing on Scarthgap but this particular code in the bundle.bbclass looks the same in master.
Am I missing something or doing anything wrong with RAUC_SLOT_rootfs[rename] ?
The text was updated successfully, but these errors were encountered:
leon-anavi
changed the title
RAUC_SLOT_rootfs[rename]
How to use RAUC_SLOT_rootfs[rename] ?
Mar 6, 2025
Hi,
While working on the RAUC integration for STM32MP157F-DK2 and other STM32MP embedded Linux devices, I had to set
IMAGE_MACHINE_SUFFIX="-${DISTRO}-stm32mp15-disco"
in the RAUC bundle.Now I am trying to use
RAUC_SLOT_rootfs[rename]
instead but I am running into a behavior that looks like a bug in classclasses-recipe/bundle.bbclass
from layer meta-rauc. In the recipe I have set:The result is the following note and error:
In
bundle.bbclass
variableimgname
is used to print the NOTE and the value matchesRAUC_SLOT_rootfs[rename]
. But after that for the ERROR variableimgsource
is used. Variableimgsource
has a different value fromRAUC_SLOT_rootfs[rename]
and as a result it points to a file that doesn't exist in the particular case.I am testing on Scarthgap but this particular code in the
bundle.bbclass
looks the same in master.Am I missing something or doing anything wrong with
RAUC_SLOT_rootfs[rename]
?The text was updated successfully, but these errors were encountered: