fitImage: fixed syntax for the fitImage and the overwrite for ostree

Part of yocto upgrade from dunfell to kirkstone
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
This commit is contained in:
Marc Mattmueller 2022-07-19 15:12:30 +00:00 committed by Alexandre Bard
parent 26bb7e72f6
commit c1f4056736
2 changed files with 4 additions and 4 deletions

View File

@ -9,14 +9,14 @@ do_assemble_fitimage[depends] += "fpga-image:do_deploy"
fitimage_emit_section_kernel:append() {
fpgacount=1
cat << EOF >> ${1}
fpga@${fpgacount} {
fpga-${fpgacount} {
description = "FPGA";
data = /incbin/("${DEPLOY_DIR_IMAGE}/fpga-image-${MACHINE}");
type = "fpga";
arch = "${UBOOT_ARCH}";
compression = "none";
hash@1 {
algo = "sha1";
hashi-1 {
algo = "sha256";
};
};
EOF

View File

@ -18,7 +18,7 @@ KERNEL_IMAGETYPES = "fitImage"
PACKAGE_ARCH = "${MACHINE_ARCH}"
PROVIDES = "virtual/netmodule-image"
PROVIDES_sota = ""
PROVIDES:sota = ""
addtask assemble_fitimage_initramfs before do_install after do_compile
addtask do_deploy after assemble_fitimage_initramfs