Rootfs update from cwe image

What error do you get when you try to include a zip file to the build?

Not sure if the ko size is too big, you can include only one small .ko file first

FYI, if I zip the .ko file, it is OK to include in the yocto image:

owner@CNHKG-EX-001367:~/Yocto/WP76/R13.3/yocto$ ls -l /home/owner/Yocto/WP77/kernel_driver_test/priority_test/high_priority/high_priority_helloworld.zip
-rw-rw-r-- 1 owner owner 55365 Jan 1 21:40 /home/owner/Yocto/WP77/kernel_driver_test/priority_test/high_priority/high_priority_helloworld.zip

root@swi-mdm9x28-wp:~# ls /usr/bin/high_priority_helloworld.zip -l
-rwxr-xr-x 1 root root 55365 Jan 1 2022 /usr/bin/high_priority_helloworld.zip

I get this error :

eta/recipes-devtools/gcc/gcc-runtime_7.3.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: ['pseudo-native']
| NOTE: Skipping as already exists in sysroot: ['quilt-native', 'unzip-native', 'gcc-cross-arm', 'libnl', 'glibc', 'gcc-runtime', 'linux-libc-headers', 'xz-native', 'binutils-cross-arm', 'autoconf-native', 'libmpc-native', 'gnu-config-native', 'texinfo-dummy-native', 'zlib-native', 'flex-native', 'libtool-native', 'mpfr-native', 'automake-native', 'gmp-native', 'libgcc', 'gettext-minimal-native', 'bison-native', 'm4-native']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_install
| install: cannot stat '/home/ilan/Leaf_Backup_4_10_2021/swi-linux-src/build_bin/tmp/work/armv7a-neon-poky-linux-gnueabi/ti-wifi-utils-wl18xx/R8.6+gitAUTOINC+cf8965aad7-r5/compat.zip': No such file or directory
| WARNING: /home/ilan/Leaf_Backup_4_10_2021/swi-linux-src/build_bin/tmp/work/armv7a-neon-poky-linux-gnueabi/ti-wifi-utils-wl18xx/R8.6+gitAUTOINC+cf8965aad7-r5/temp/run.do_install.7812:1 exit 1 from 'install -m 0777 /home/ilan/Leaf_Backup_4_10_2021/swi-linux-src/build_bin/tmp/work/armv7a-neon-poky-linux-gnueabi/ti-wifi-utils-wl18xx/R8.6+gitAUTOINC+cf8965aad7-r5/compat.zip /home/ilan/Leaf_Backup_4_10_2021/swi-linux-src/build_bin/tmp/work/armv7a-neon-poky-linux-gnueabi/ti-wifi-utils-wl18xx/R8.6+gitAUTOINC+cf8965aad7-r5/image/usr/bin/'
| ERROR: Function failed: do_install (log file is located at /home/ilan/Leaf_Backup_4_10_2021/swi-linux-src/build_bin/tmp/work/armv7a-neon-poky-linux-gnueabi/ti-wifi-utils-wl18xx/R8.6+gitAUTOINC+cf8965aad7-r5/temp/log.do_install.7812)
ERROR: Task (/home/ilan/Leaf_Backup_4_10_2021/swi-linux-src/meta-swi/common/recipes-devtools/ti-wifi-utils/ti-wifi-utils-wl18xx.bb:do_install) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3793 tasks of which 3785 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/ilan/Leaf_Backup_4_10_2021/swi-linux-src/meta-swi/common/recipes-devtools/ti-wifi-utils/ti-wifi-utils-wl18xx.bb:do_install
Summary: There were 2 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
Makefile:384: recipe for target 'image_bin' failed
make: *** [image_bin] Error 1
~/Leaf_Backup_4_10_2021

/home/ilan/Leaf_Backup_4_10_2021/swi-linux-src/build_bin/tmp/work/armv7a-neon-poky-linux-gnueabi/ti-wifi-utils-wl18xx/R8.6+gitAUTOINC+cf8965aad7-r5/compat.zip’: No such file or directory

Maybe you can put the file in desktop and use absolute path in your .bb file

Here is my .bb file:

#
# This file was derived from the 'Hello World!' example recipe in the
# Yocto Project Development Manual.
#

SUMMARY = "Simple helloworld application"
SECTION = "examples"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"

SRC_URI = "file://helloworld.c"

S = "${WORKDIR}"

do_compile() {
	     ${CC} helloworld.c -o helloworld
}

do_install() {
	     install -d ${D}${bindir}
	     install -m 0755 helloworld ${D}${bindir}



		install -m 0755  /home/owner/Yocto/WP77/kernel_driver_test/priority_test/high_priority/high_priority_helloworld.zip   ${D}${bindir}


}


INSANE_SKIP_${PN} = "ldflags"