AnsweredAssumed Answered

Linux Folder is Missing in LTIB Build

Question asked by Narreddi Siva Prakash Reddy on May 24, 2017
Latest reply on May 25, 2017 by Pavel Chubakov

Hello,

            I am using LTIB for the kernel image generation for the board MPC8360EA-MDS-PB. I built the images successfully but the problem is that I couldn't find the directory "linux" in the path "../<ltib>/rpm/BUILD/linux". I checked the log of "./ltib --configure" where I found that the script removing this "linux" directory and the log is as follows..

 

Processing: kernel-2.6.22-mpc8360epb-rev2.1
======================
.
.
.
.
.
Processing files: kernel-2.6.22-2
Finding Provides: (using /opt/freescale/ltib/usr/lib/rpm/find-provides)...
Finding Requires: (using /opt/freescale/ltib/usr/lib/rpm/find-requires)...
PreReq: rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1
Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1
Wrote: /home/rnd/Desktop/8360/ltib-mpc8360epb-20081112/rpm/RPMS/ppc/kernel-2.6.22-2.ppc.rpm
Executing(%clean): /bin/sh -e /home/rnd/Desktop/8360/ltib-mpc8360epb-20081112/tmp/rpm-tmp.37360
+ umask 022
+ cd /home/rnd/Desktop/8360/ltib-mpc8360epb-20081112/rpm/BUILD
+ cd linux-2.6.22
+ rm -rf /home/rnd/Desktop/8360/ltib-mpc8360epb-20081112/tmp/kernel
+ [ -z ]
+ rm -f /home/rnd/Desktop/8360/ltib-mpc8360epb-20081112/rpm/BUILD/linux
+ exit 0
Executing(--clean): /bin/sh -e /home/rnd/Desktop/8360/ltib-mpc8360epb-20081112/tmp/rpm-tmp.37360
+ umask 022
+ cd /home/rnd/Desktop/8360/ltib-mpc8360epb-20081112/rpm/BUILD
+ rm -rf linux-2.6.22
+ exit 0
Build time for kernel-2.6.22-mpc8360epb-rev2.1: 386 seconds

sudo /opt/freescale/ltib/usr/bin/rpm --dbpath /home/rnd/Desktop/8360/ltib-mpc8360epb-20081112/rpmdb -e --allmatches --nodeps kernel 2>/dev/null
sudo /opt/freescale/ltib/usr/bin/rpm --dbpath /home/rnd/Desktop/8360/ltib-mpc8360epb-20081112/rpmdb --prefix /home/rnd/Desktop/8360/ltib-mpc8360epb-20081112/rootfs --ignorearch -ivh --force --excludedocs /home/rnd/Desktop/8360/ltib-mpc8360epb-20081112/rpm/RPMS/ppc/kernel-2.6.22-2.ppc.rpm
error: failed to stat /home/rnd/.gvfs: Permission denied
Preparing... ########################################### [100%]
1:kernel ########################################### [100%]

 

How can I edit this script to not to remove that directory.? Where from the "./ltib --configure" starts its building.?

 

Please, respond as soon as possible.

 

Thanks and Regards,

Prakash Reddy

Outcomes