[yocto] ERROR: Unable to install packages.

CHENG-CHANG CHUNG ccchung1990 at gmail.com
Mon Jan 11 02:55:56 PST 2016


I want to move files to root file system. My SRC_URI is a tar.gz file.
Include many file and directory.

BB detail :

SUMMARY = "Simple move application"
SECTION = "move"
LICENSE = "CLOSED"
INHIBIT_PACKAGE_STRIP = "1"
INSANE_SKIP_${PN} = "ldflags"
SRC_URI = "file://rootfs.tar.gz"
S = "${WORKDIR}/rootfs-overlay"
do_install() {
            mkdir -p ${D}/usr/bin/rootfs-overlay
             cp -a ${S}/* ${D}/usr/bin/rootfs-overlay
}


I bitbake this recipes in success but bitbake image is error.(do_rootfs)

Log is
DEBUG: Executing python function rootfs_process_ignore
DEBUG: Python function rootfs_process_ignore finished
DEBUG: Executing python function rootfs_runtime_mapping
DEBUG: Python function rootfs_runtime_mapping finished
DEBUG: Executing python function do_rootfs
NOTE: configuring RPM platform settings
NOTE: configuring RPM system provides
NOTE: configuring RPM DB settings
NOTE: configuring Smart settings
NOTE: Note: adding Smart channel demo_test (80)
NOTE: Note: adding Smart channel armv7a_vfp_neon (75)
NOTE: Note: adding Smart channel armv5e (70)
NOTE: Note: adding Smart channel all (65)
NOTE: adding Smart RPM DB channel
NOTE: Note: configuring RPM cross-install scriptlet_wrapper
NOTE: ###### Generate rootfs #######
NOTE: Executing
'/home/carter/Yocto/poky/build/tmp/sysroots/x86_64-linux/usr/bin/createrepo
--update -q /home/carter/Yocto/poky/build/tmp/deploy/rpm/all' ...
NOTE: Executing
'/home/carter/Yocto/poky/build/tmp/sysroots/x86_64-linux/usr/bin/createrepo
--update -q /home/carter/Yocto/poky/build/tmp/deploy/rpm/armv5e' ...
NOTE: Executing
'/home/carter/Yocto/poky/build/tmp/sysroots/x86_64-linux/usr/bin/createrepo
--update -q /home/carter/Yocto/poky/build/tmp/deploy/rpm/armv7a_vfp_neon'
...
NOTE: Installing the following packages: move run-postinsts
packagegroup-core-boot helloworld
NOTE: to be installed: move at armv7a_vfp_neon run-postinsts at all
packagegroup-core-boot at demo_test helloworld at armv7a_vfp_neon
NOTE: /home/carter/Yocto/poky/build/tmp/sysroots/x86_64-linux/usr/bin/smart
--data-dir=/home/carter/Yocto/poky/build/tmp/work/demo_test-poky-linux-gnueabi/hello-world/1.0-r0/rootfs/var/lib/smart
install -y move at armv7a_vfp_neon run-postinsts at all
packagegroup-core-boot at demo_test helloworld at armv7a_vfp_neon
ERROR: Unable to install packages. Command
'/home/carter/Yocto/poky/build/tmp/sysroots/x86_64-linux/usr/bin/smart
--data-dir=/home/carter/Yocto/poky/build/tmp/work/rtdemo_test-poky-linux-gnueabi/hello-world/1.0-r0/rootfs/var/lib/smart
install -y move at armv7a_vfp_neon run-postinsts at all
packagegroup-core-boot at demo_test helloworld at armv7a_vfp_neon' returned 1:
Loading cache...
Updating cache...               ########################################
[100%]
Computing transaction...error: Can't install move-0.0-r0 at armv7a_vfp_neon:
no package provides libnl-3.so.200

DEBUG: Python function do_rootfs finished
ERROR: Function failed: do_rootfs
-----------------------------------------------------------------------
------
Carter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160111/5899a115/attachment.html>


More information about the yocto mailing list