I have added a line in yocto/build_bin/conf/bblayers.conf : /home/sloki-linux1/Documents/yocto/meta-mylayer (Path the layer created by me)
and finally
IMAGE_INSTALL_append = “myreceipe”
Error message :
ERROR: Nothing RPROVIDES ‘packagegroup-swi-image-targetmyreceipe’ (but /home/sloki-linux1/Documents/yocto/meta-swi/meta-swi-mdm9x28/recipes-core/images/mdm9x28-image-minimal.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target ‘packagegroup-swi-image-targetmyreceipe’ is unbuildable, removing…
Missing or unbuildable dependency chain was: [‘packagegroup-swi-image-targetmyreceipe’]
ERROR: Required build target ‘mdm9x28-image-minimal’ has no buildable providers.
Missing or unbuildable dependency chain was: [‘mdm9x28-image-minimal’, ‘packagegroup-swi-image-targetmyreceipe’]
Hi ,
i tried the above solution, but im getting this error even after placing the file in files folder im getting this error.
Error log:
myreceipe-1.0-r0 do_install: Function failed: do_install (log file is located at /home/sloki-linux1/Documents/yocto/build_bin/tmp/work/armv7a-neon-poky-linux-gnueabi/myreceipe/1.0-r0/temp/log.do_install.2424)
ERROR: Logfile of failure stored in: /home/sloki-linux1/Documents/yocto/build_bin/tmp/work/armv7a-neon-poky-linux-gnueabi/myreceipe/1.0-r0/temp/log.do_install.2424
Log data follows:
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are [’/home/sloki-linux1/Documents/yocto/poky/meta/recipes-devtools/quilt/quilt-native_0.65.bb:do_populate_sysroot’, ‘virtual:native:/home/sloki-linux1/Documents/yocto/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot’, ‘/home/sloki-linux1/Documents/yocto/poky/meta/recipes-core/glibc/glibc_2.27.bb:do_populate_sysroot’, ‘/home/sloki-linux1/Documents/yocto/poky/meta/recipes-devtools/gcc/gcc-cross_7.3.bb:do_populate_sysroot’, ‘/home/sloki-linux1/Documents/yocto/poky/meta/recipes-devtools/gcc/gcc-runtime_7.3.bb:do_populate_sysroot’]
| NOTE: Installed into sysroot:
| NOTE: Skipping as already exists in sysroot: [‘quilt-native’, ‘pseudo-native’, ‘glibc’, ‘gcc-cross-arm’, ‘gcc-runtime’, ‘linux-libc-headers’, ‘zlib-native’, ‘gnu-config-native’, ‘xz-native’, ‘autoconf-native’, ‘libtool-native’, ‘binutils-cross-arm’, ‘automake-native’, ‘mpfr-native’, ‘flex-native’, ‘gmp-native’, ‘texinfo-dummy-native’, ‘libmpc-native’, ‘libgcc’, ‘gettext-minimal-native’, ‘m4-native’, ‘bison-native’]
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_install
| install: cannot stat ‘libpicoipp.so.1.0.1’: No such file or directory
| WARNING: /home/sloki-linux1/Documents/yocto/build_bin/tmp/work/armv7a-neon-poky-linux-gnueabi/myreceipe/1.0-r0/temp/run.do_install.2424:1 exit 1 from ‘install -m 755 libpicoipp.so.1.0.1 /home/sloki-linux1/Documents/yocto/build_bin/tmp/work/armv7a-neon-poky-linux-gnueabi/myreceipe/1.0-r0/image/usr/lib/’
| ERROR: Function failed: do_install (log file is located at /home/sloki-linux1/Documents/yocto/build_bin/tmp/work/armv7a-neon-poky-linux-gnueabi/myreceipe/1.0-r0/temp/log.do_install.2424)
ERROR: Task (/home/sloki-linux1/Documents/yocto/meta-swi/common/recipes-multimedia/meta-mylayer/myreceipe.bb:do_install) failed with exit code ‘1’
NOTE: Tasks Summary: Attempted 3231 tasks of which 3227 didn’t need to be rerun and 1 failed.
oh okay, I tried this line by replacing the 123.txt with .so file folder and changed the bindir to libdir, then it is giving error
ERROR: jacktest-0.1-r0 do_package: QA Issue: File ‘/usr/lib/libps5000a.so.2.0.0’ from jacktest was already stripped, this will prevent future debugging! [already-stripped]
ERROR: jacktest-0.1-r0 do_package: Fatal QA errors found, failing task.
ERROR: jacktest-0.1-r0 do_package: Function failed: do_package
ERROR: Logfile of failure stored in: /home/sloki-linux1/Documents/yocto/build_bin/tmp/work/armv7a-neon-poky-linux-gnueabi/jacktest/0.1-r0/temp/log.do_package.11304
ERROR: Task (/home/sloki-linux1/Documents/yocto/meta-swi/common/recipes-multimedia/jacktest/jacktest_0.1.bb:do_package) failed with exit code ‘1’