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@armv7a_vfp_neon run-postinsts@all
packagegroup-core-boot@demo_test helloworld@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@armv7a_vfp_neon run-postinsts@all
packagegroup-core-boot@demo_test helloworld@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@armv7a_vfp_neon run-postinsts@all
packagegroup-core-boot@demo_test helloworld@armv7a_vfp_neon' returned 1:
Loading cache...
Updating cache...               ########################################
[100%]
Computing transaction...error: Can't install move-0.0-r0@armv7a_vfp_neon:
no package provides libnl-3.so.200

DEBUG: Python function do_rootfs finished
ERROR: Function failed: do_rootfs
-----------------------------------------------------------------------
------
Carter
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to