With the following settings to the stock oe-core local.conf: IMAGE_GEN_DEBUGFS = '1' IMAGE_FSTYPES_DEBUGFS = "tar.bz2" IMAGE_INSTALL_append = " gdbserver" I get: ERROR: core-image-minimal-1.0-r0 do_rootfs: Cannot get the installed packages li st. Command '/home/mhatle/git/oss/oe-core/build-debugfs/tmp-glibc/sysroots/x86_6 4-linux/usr/bin/opkg -f /home/mhatle/git/oss/oe-core/build-debugfs/tmp-glibc/wor k/qemux86-oe-linux/core-image-minimal/1.0-r0/opkg.conf -o /home/mhatle/git/oss/o e-core/build-debugfs/tmp-glibc/work/qemux86-oe-linux/core-image-minimal/1.0-r0/r ootfs --force_postinstall --prefer-arch-to-version status' returned 0 and stderr: Collected errors: * file_md5sum_alloc: Failed to open file /home/mhatle/git/oss/oe-core/build-debugfs/tmp-glibc/work/qemux86-oe-linux/core-image-minimal/1.0-r0/rootfs/etc/syslog-startup.conf.busybox: No such file or directory. * file_md5sum_alloc: Failed to open file /home/mhatle/git/oss/oe-core/build-debugfs/tmp-glibc/work/qemux86-oe-linux/core-image-minimal/1.0-r0/rootfs/etc/fstab: No such file or directory. * file_md5sum_alloc: Failed to open file /home/mhatle/git/oss/oe-core/build-debugfs/tmp-glibc/work/qemux86-oe-linux/core-image-minimal/1.0-r0/rootfs/etc/hostname: No such file or directory. * file_md5sum_alloc: Failed to open file /home/mhatle/git/oss/oe-core/build-debugfs/tmp-glibc/work/qemux86-oe-linux/core-image-minimal/1.0-r0/rootfs/etc/shells: No such file or directory. (and many more lines that are similar)
With commit http://git.openembedded.org/openembedded-core/commit/?h=krogoth&id=5084ed9401250ed269a49d27b303806ab173c5d5, RP fixed most of those issues. However, when adding openssl (packages: libssl and openssl-conf) to an image, eg core-image-minimal, a similar error occurs related to the openssl.cnf. (It's marked as a CONFFILE, bit is installed into /usr/lib/ssl/openssl.cnf. ERROR: core-image-minimal-1.0-r0 do_rootfs: Cannot get the installed packages list. Command '/mnt/cs-builds/anders/poky-play/build/tmp-glibc/sysroots/x86_64-linux/usr/bin/opkg -f /mnt/cs-builds/anders/poky-play/build/tmp-glibc/work/qemux86-oe-linux/core-image-minimal/1.0-r0/opkg.conf -o /mnt/cs-builds/anders/poky-play/build/tmp-glibc/work/qemux86-oe-linux/core-image-minimal/1.0-r0/rootfs --force_postinstall --prefer-arch-to-version status' returned 0 and stderr: Collected errors: * file_md5sum_alloc: Failed to open file /mnt/cs-builds/anders/poky-play/build/tmp-glibc/work/qemux86-oe-linux/core-image-minimal/1.0-r0/rootfs/usr/lib/ssl/openssl.cnf: No such file or directory. ERROR: core-image-minimal-1.0-r0 do_rootfs: Function failed: do_rootfs ERROR: Logfile of failure stored in: /mnt/cs-builds/anders/poky-play/build/tmp-glibc/work/qemux86-oe-linux/core-image-minimal/1.0-r0/temp/log.do_rootfs.13235 ERROR: Task 9 (/mnt/cs-builds/anders/poky-play/meta/recipes-core/images/core-image-minimal.bb, do_rootfs) failed with exit code '1'
Fixed in oe-core 5084ed9401250ed269a49d27b303806ab173c5d5 (master and krogoth branch).
I disagree, se comment #2. It still fails if the image includes eg openss-cnf.
A quick follow-up fix for the openssl-cnf issue is found at http://lists.openembedded.org/pipermail/openembedded-core/2016-May/120824.html
Wrong link, the patch is in http://lists.openembedded.org/pipermail/openembedded-core/2016-May/120887.html
Really fixed with oe-core 20ea6d274bb0a9a5addb111f32793de49b907865.
Working correctly on 5b61fa04a335a4fdefd435dc25d4bac41ee21e39 ******************************* NOTE: Executing RunQueue Tasks NOTE: Tasks Summary: Attempted 2086 tasks of which 1326 didn't need to be rerun and all succeeded.