HI,
I am trying to build Yocto image for IMX6Q Board(fsl-image-gui),I got source from the following link "repo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-3.10.53-1.1.0_ga" ,
Build was successful. But i am not able to use "apt-get" command.
I need to install packages using apt-get command.
So i have added package_deb in local.conf file as below
PACKAGE_CLASSES ?= "package_deb package_rpm"
EXTRA_IMAGE_FEATURES = "package-management debug-tweaks "
IMAGE_INSTALL_append = " \
mpeg2dec \
x11vnc \
dpkg \
apt"
and I am attaching local.conf file in this post, And bblayer.conf file is the one which is defaulty generated by running "MACHINE=imx6qsabresd source fsl-setup-release.sh -b build-x11 -e x11".
But while executing "bitbake fsl-image-gui" I am getting following error
ERROR: Function failed: dpkg-deb execution failed
ERROR: Logfile of failure stored in: /home/sunil/fsl-release-bsp_new/build-x11/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/bluez4/4.101-r10/temp/log.do_package_write_deb.9901
Log data follows:
| DEBUG: Executing python function sstate_task_prefunc
| DEBUG: Python function sstate_task_prefunc finished
| DEBUG: Executing python function do_package_write_deb
| DEBUG: Executing python function read_subpackage_metadata
| DEBUG: Python function read_subpackage_metadata finished
| DEBUG: Executing python function do_package_deb
| dpkg-deb: building package `libasound-module-bluez' in `/home/sunil/fsl-release-bsp_new/build-x11/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/bluez4/4.101-r10/deploy-debs/cortexa9hf-vfp-neon/libasound-module-bluez_4.101-r10_armel.deb'.
| dpkg-deb: building package `bluez4-testtools' in `/home/sunil/fsl-release-bsp_new/build-x11/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/bluez4/4.101-r10/deploy-debs/cortexa9hf-vfp-neon/bluez4-testtools_4.101-r10_armel.deb'.
| dpkg-deb: building package `bluez4-dbg' in `/home/sunil/fsl-release-bsp_new/build-x11/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/bluez4/4.101-r10/deploy-debs/cortexa9hf-vfp-neon/bluez4-dbg_4.101-r10_armel.deb'.
| NOTE: Not creating empty archive for bluez4-staticdev-4.101-r10
| dpkg-deb: building package `bluez4-dev' in `/home/sunil/fsl-release-bsp_new/build-x11/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/bluez4/4.101-r10/deploy-debs/cortexa9hf-vfp-neon/bluez4-dev_4.101-r10_armel.deb'.
| dpkg-deb: building package `bluez4-doc' in `/home/sunil/fsl-release-bsp_new/build-x11/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/bluez4/4.101-r10/deploy-debs/cortexa9hf-vfp-neon/bluez4-doc_4.101-r10_armel.deb'.
| NOTE: Not creating empty archive for bluez4-locale-4.101-r10
| dpkg-deb: error: parsing file '/home/sunil/fsl-release-bsp_new/build-x11/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/bluez4/4.101-r10/packages-split/bluez4/DEBIAN/control' near line 14 package 'bluez4':
| `Provides' field, invalid package name `VIRTUAL-RUNTIME_virtual/bluez': character `/' not allowed (only letters, digits and characters `-+._')
| DEBUG: Python function do_package_deb finished
| DEBUG: Python function do_package_write_deb finished
| ERROR: Function failed: dpkg-deb execution failed
ERROR: Task 1744 (/home/sunil/fsl-release-bsp_new/sources/poky/meta/recipes-connectivity/bluez/bluez4_4.101.bb, do_package_write_deb) failed with exit code '1' .
Please help me to resolve this problem while bitbaking, Or How do i use package manager in Yocto. Basically i want to install some packages into yocto project.
Original Attachment has been moved to: bblayers.conf.zip
Original Attachment has been moved to: local.conf.zip
https://community.nxp.com/docs/DOC-328199
This doc may help.
Hello Senthil Kumar,
Perhaps the following Community Thread may be of help.
Yocto with a package manager (ex: apt-get)
You would need to add the apt package and setup so it can find the packages you want to install. I haven't done this myself though.
Regards,