My bibake process build...
Reading package lists...
Building dependency tree...
Reading state information...
Package pkgAll is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
W: Unable to read /home/bueno/yocto/poky/projTest/tmp/work/qemux86-poky-linux/projTest/1.0-r0/apt/preferences.d/ - DirectoryExists (2: No such file or directory)
E: Package 'pkgAll' has no installation candidate
ERROR: Function failed: do_rootfs
ERROR: Logfile of failure stored in: /home/bueno/yocto/poky/projTest/tmp/work/qemux86-poky-linux/projTest/1.0-r0/temp/log.do_rootfs.27791
ERROR: Task 7 (/home/bueno/yocto/poky/projTest//../meta-pkgAll/recipes-core/images/projTest.bb, do_rootfs) failed with exit code '1'
Now, my recipe the package deb:
SUMMARY = "XXXXXX"
DESCRIPTION = "XXXXXXXXXXXXXX"
LICENSE = "CLOSED"
SRC_URI = "file://projTest_1.0.deb"
SRC_URI[md5sum] = "32d0c2b332440a47dd370eXXXXXXXXXX"
SRC_URI[sha256sum] = "42ebcf856aa626aa6d021173f4d931e0c84a0a27808d147db89942XXXXXXXXXX"
inherit bin_package pkgconfig
install_deb() {
${STAGING_BINDIR_NATIVE}/dpkg --root=${IMAGE_ROOTFS}/ --admindir=${IMAGE_ROOTFS}/var/lib/dpkg/ -i file://projTest_1.0.deb
}
ROOTFS_POSTPROCESS_COMMAND += "install_deb; "