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:
parent
26bb7e72f6
commit
c1f4056736
|
|
@ -9,14 +9,14 @@ do_assemble_fitimage[depends] += "fpga-image:do_deploy"
|
||||||
fitimage_emit_section_kernel:append() {
|
fitimage_emit_section_kernel:append() {
|
||||||
fpgacount=1
|
fpgacount=1
|
||||||
cat << EOF >> ${1}
|
cat << EOF >> ${1}
|
||||||
fpga@${fpgacount} {
|
fpga-${fpgacount} {
|
||||||
description = "FPGA";
|
description = "FPGA";
|
||||||
data = /incbin/("${DEPLOY_DIR_IMAGE}/fpga-image-${MACHINE}");
|
data = /incbin/("${DEPLOY_DIR_IMAGE}/fpga-image-${MACHINE}");
|
||||||
type = "fpga";
|
type = "fpga";
|
||||||
arch = "${UBOOT_ARCH}";
|
arch = "${UBOOT_ARCH}";
|
||||||
compression = "none";
|
compression = "none";
|
||||||
hash@1 {
|
hashi-1 {
|
||||||
algo = "sha1";
|
algo = "sha256";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
EOF
|
EOF
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ KERNEL_IMAGETYPES = "fitImage"
|
||||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||||
|
|
||||||
PROVIDES = "virtual/netmodule-image"
|
PROVIDES = "virtual/netmodule-image"
|
||||||
PROVIDES_sota = ""
|
PROVIDES:sota = ""
|
||||||
|
|
||||||
addtask assemble_fitimage_initramfs before do_install after do_compile
|
addtask assemble_fitimage_initramfs before do_install after do_compile
|
||||||
addtask do_deploy after assemble_fitimage_initramfs
|
addtask do_deploy after assemble_fitimage_initramfs
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue