Listing hard dependencies of a package

2011-12-22 Thread Paul Eggleton
Hi there, Whilst working on Poky/OpenEmbedded I found the need to list all of the hard dependencies of an RPM package within a shell script. Unfortunately --requires or the REQUIRES tag seem to also include soft dependencies (i.e. suggests) which is not really what I need. FYI we're using RPM

Re: Listing hard dependencies of a package

2011-12-22 Thread Jeffrey Johnson
On Dec 22, 2011, at 7:24 AM, Paul Eggleton wrote: Hi there, Whilst working on Poky/OpenEmbedded I found the need to list all of the hard dependencies of an RPM package within a shell script. Unfortunately --requires or the REQUIRES tag seem to also include soft dependencies (i.e.

Re: Listing hard dependencies of a package

2011-12-22 Thread Per Øyvind Karlsen
Den 13:24 22. desember 2011 skrev Paul Eggleton paul.eggle...@linux.intel.com følgende: Hi there, Whilst working on Poky/OpenEmbedded I found the need to list all of the hard dependencies of an RPM package within a shell script. Unfortunately --requires or the REQUIRES tag seem to also

Re: Listing hard dependencies of a package

2011-12-22 Thread Per Øyvind Karlsen
Den 13:24 22. desember 2011 skrev Paul Eggleton paul.eggle...@linux.intel.com følgende: Hi there, Whilst working on Poky/OpenEmbedded I found the need to list all of the hard dependencies of an RPM package within a shell script. Unfortunately --requires or the REQUIRES tag seem to also

Re: Listing hard dependencies of a package

2011-12-22 Thread Per Øyvind Karlsen
Den 13:24 22. desember 2011 skrev Paul Eggleton paul.eggle...@linux.intel.com følgende: Hi there, Whilst working on Poky/OpenEmbedded I found the need to list all of the hard dependencies of an RPM package within a shell script. Unfortunately --requires or the REQUIRES tag seem to also

Re: Listing hard dependencies of a package

2011-12-22 Thread Jeffrey Johnson
On Dec 22, 2011, at 9:42 AM, Per Øyvind Karlsen wrote: Den 13:24 22. desember 2011 skrev Paul Eggleton paul.eggle...@linux.intel.com følgende: ) Here's a recent patch of mine coming from past discussions about the subject:

Re: Listing hard dependencies of a package

2011-12-22 Thread Jeffrey Johnson
On Dec 22, 2011, at 9:45 AM, Per Øyvind Karlsen wrote: Den 13:24 22. desember 2011 skrev Paul Eggleton paul.eggle...@linux.intel.com følgende: Hi there, Whilst working on Poky/OpenEmbedded I found the need to list all of the hard dependencies of an RPM package within a shell script.

Re: Listing hard dependencies of a package

2011-12-22 Thread Paul Eggleton
On Thursday 22 December 2011 08:56:16 Jeffrey Johnson wrote: After a little digging I found REQUIREFLAGS, here's an example listing from our system: Good (though working with shell processing --qf output is gonna be AWKward ;-) SHort answer: Use the --qf output as below but

Re: Listing hard dependencies of a package

2011-12-22 Thread Jeffrey Johnson
On Dec 22, 2011, at 10:34 AM, Paul Eggleton wrote: On Thursday 22 December 2011 08:56:16 Jeffrey Johnson wrote: After a little digging I found REQUIREFLAGS, here's an example listing from our system: Good (though working with shell processing --qf output is gonna be AWKward ;-) SHort

Re: Listing hard dependencies of a package

2011-12-22 Thread Jeffrey Johnson
On Dec 22, 2011, at 10:40 AM, Mark Hatle wrote: On 12/22/11 7:56 AM, Jeffrey Johnson wrote: On Dec 22, 2011, at 7:24 AM, Paul Eggleton wrote: Hi there, Whilst working on Poky/OpenEmbedded I found the need to list all of the hard dependencies of an RPM package within a shell script.

Re: Listing hard dependencies of a package

2011-12-22 Thread Jeffrey Johnson
On Dec 22, 2011, at 11:22 AM, Jeffrey Johnson wrote: jbj, would it be reasonable to add a context format specific to the dependency flags? Similar to the fflags so we get a pretty print out of the flag values? I forgot to mention the most obvious solution: Add an analogue

Re: Listing hard dependencies of a package

2011-12-22 Thread Mark Hatle
On 12/22/11 10:22 AM, Jeffrey Johnson wrote: On Dec 22, 2011, at 10:40 AM, Mark Hatle wrote: On 12/22/11 7:56 AM, Jeffrey Johnson wrote: On Dec 22, 2011, at 7:24 AM, Paul Eggleton wrote: Hi there, Whilst working on Poky/OpenEmbedded I found the need to list all of the hard dependencies