I am trying to add a font to the image generated with bitbake -k angstrom-qt-x11-image but it fails with do_rootfs.
I already had the image compiled and working and the only thing I added was the following:
In local.conf :
IMAGE_INSTALL_append = "ttf-ubuntu-font-family" PACKAGECONFIG_FONTS_append_pn-qtbase = "fontconfig"
And when I run bitbake -k angstrom-qt-x11-image it fails with this output:
Collected errors: * opkg_install_cmd: Cannot install package ttf-ubuntu-font-family. BUG: Function failed: do_rootfs BUG: Logfile of failure stored in: /home/fer/oe-core/build/out-eglibc/work/colibri_t20-angstrom-linux-gnueabi/angstrom-qt-x11-image/V2.3-r0/temp/log .do_rootfs.114257 ERROR: Task 7 (/home/fer/oe-core/build/../stuff/meta-toradex/recipes/images/angstrom-qt-x11-image.bb, do_rootfs) failed with exit code '1' NOTE: Tasks Summary: Attempted 5569 tasks of which 5553 didn't need to be rerun and 1 failed. NOTE: Writing buildhistory No currently running tasks (5569 of 5573) Summary: 1 task failed: /home/fer/oe-core/build/../stuff/meta-toradex/recipes/images/angstrom-qt-x11-image.bb, do_rootfs Summary: There were 11 WARNING messages shown. Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
The recipe already existed within /oe-core/stuff/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts, I just added it to local.conf
If I run:
bitbake -C compile ttf-ubuntu-font-family or bitbake -C fetch ttf-ubuntu-font-family or bitbake -C install ttf-ubuntu-font-family
seems to finish succesfull.