I have added python package 2.7.18 by earlier solution provided by you. pyhton2.7.18 does get intergated in file system. But I find no default python mdoules in /usr/lib64/python2.7 directory. Earlier for python 2.7.9, we got these modules automatically. For python2.7.18, i need to move all such modules and files from yocto SDK to corresponding directory in card linux (every time i fuse new RFS to card)
To make such modules part of rfs by default, i tried to copy all such modules and files in merge folder and then run fsl-image-core. But i am getting this error. (i have already added 'python' in IMAGE_INSTALL_append fsl-image-core.bb )
ERROR: Unable to install packages. Command '/home/ngntemp/brtr/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb-64b/tmp/sysroots/i686-linux/usr/bin/smart --log-level=warning --data-dir=/home/ngntemp/brtr/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb-64b/tmp/work/t1040d4rdb_64b-fsl-linux/fsl-image-core/1.0-r0/rootfs/var/lib/smart install -y quagga@ppc64e5500 lsb@ppc64e5500 net-snmp@ppc64e5500 packagegroup-fsl-mfgtools@all python-core-2.7.18-r1@ppc64e5500 openssh@ppc64e5500 packagegroup-core-ssh-openssh@all packagegroup-core-boot@t1040d4rdb_64b monit@ppc64e5500 tcl@ppc64e5500 udev-extraconf@ppc64e5500 merge-files@all packagegroup-fsl-benchmark-core@all sqlite3@ppc64e5500 run-postinsts@all udev-rules-qoriq@ppc64e5500 packagegroup-fsl-networking-core@all packagegroup-fsl-tools-core@all libpam@ppc64e5500' returned 1:
Loading cache...
Updating cache... ######################################## [100%]
Computing transaction...error: Can't install merge-files-1.0-r0@all: no package provides libpython2.7.so.1.0
ERROR: Function failed: do_rootfs
ERROR: Logfile of failure stored in: /home/ngntemp/brtr/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb-64b/tmp/work/t1040d4rdb_64b-fsl-linux/fsl-image-core/1.0-r0/temp/log.do_rootfs.18342
ERROR: Task 7 (/home/ngntemp/brtr/QorIQ-SDK-V2.0-20160527-yocto/sources/meta-freescale/recipes-fsl/images/fsl-image-core.bb, do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3361 tasks of which 3348 didn't need to be rerun and 1 failed.
No currently running tasks (3361 of 3362)
Summary: 1 task failed:
/home/ngntemp/brtr/QorIQ-SDK-V2.0-20160527-yocto/sources/meta-freescale/recipes-fsl/images/fsl-image-core.bb, do_rootfs
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
Please suggest a way to integrate pyhton modules by default into rfs.
Thanks
Find the following in the Section 3.3.13 in SDK 2.0-1703 documrntation:
Q: How do I add a pre-built binary into the rootfs?