On 2014-06-06 15:25, Bharath Chandra wrote:
Hi Ross,
Using rpm, I was able to trace back recipe files for all the files except for
files in a folder called as media. When I try to trace for any file inside
media, it does not show me
any package name. Could anyone please tell me what is this media folder??
/media is where alternative devices, e.g. a USB stick, are mounted.
The contents of /media are not part of the main root file system, thus
you won't find them in any package manager database.
On Thu, Jun 5, 2014 at 4:47 PM, Bharath Chandra <[email protected]
<mailto:[email protected]>> wrote:
Hi Ross,
Thank you for the response.
rpm -qf <filename> would give us the package name.
Thanks,
Bharath
On Thu, Jun 5, 2014 at 4:13 PM, Burton, Ross <[email protected]
<mailto:[email protected]>> wrote:
On 5 June 2014 21:50, Bharath Chandra <[email protected]
<mailto:[email protected]>> wrote:
> I am working on a reverse enginnering project and I want to know by
looking
> at an executable , the recipe file from which it is generated. So,
first I
> need to understand by using what commands in a recipe file, we can
generate
> an executable.
If you actually need to know what recipe produced a binary without
instrumenting the binaries, then use the package manager: they all
have a command to tell you what binary package installed a file, and
from the binary package you can determine the source package, and
that's got the same name as the recipe.
Ross
--
Thanks & Regards,
Bharath Chandra Elluru.
Contact Number:785-979-4875 <tel:785-979-4875>.
--
Thanks & Regards,
Bharath Chandra Elluru.
Contact Number:785-979-4875.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto