* RPM and libmagic
@ 2011-09-26 23:05 Saul Wold
2011-09-26 23:36 ` Mark Hatle
0 siblings, 1 reply; 2+ messages in thread
From: Saul Wold @ 2011-09-26 23:05 UTC (permalink / raw)
To: Mark Hatle; +Cc: 'Patches and discussions about the oe-core layer'
Mark,
I recently found a problem with RPM and libmagic, specificly the rpmdeps
command as it's used in package.bbclass. The issue being that it was not
finding the correct magic.mgc file. I notice that we wrap the other RPM
commands, but not rpmdeps.
Additionally, as I have discovered the wrappers that we have in place
currently does not define a MAGIC environment variable to correct the
location.
I know rpm and friends are an important part of OE packaging, so I
wanted to check with you first about the correct location to set this,
if we should use the MAGIC or pass a --define '%_rpmfc_magic_path ...'
on the command line.
Please advise, I know you are traveling, and I can implement the change
once we figure out the correct approach.
Thanks
--
Sau!
Saul Wold
Yocto Component Wrangler @ Intel
Yocto Project / Poky Build System
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: RPM and libmagic
2011-09-26 23:05 RPM and libmagic Saul Wold
@ 2011-09-26 23:36 ` Mark Hatle
0 siblings, 0 replies; 2+ messages in thread
From: Mark Hatle @ 2011-09-26 23:36 UTC (permalink / raw)
To: Saul Wold; +Cc: 'Patches and discussions about the oe-core layer'
On 9/26/11 7:05 PM, Saul Wold wrote:
>
> Mark,
>
> I recently found a problem with RPM and libmagic, specificly the rpmdeps
> command as it's used in package.bbclass. The issue being that it was not
> finding the correct magic.mgc file. I notice that we wrap the other RPM
> commands, but not rpmdeps.
That is likely a bug.
> Additionally, as I have discovered the wrappers that we have in place
> currently does not define a MAGIC environment variable to correct the
> location.
Is the proper variable "MAGIC" or is it's something else?
> I know rpm and friends are an important part of OE packaging, so I
> wanted to check with you first about the correct location to set this,
> if we should use the MAGIC or pass a --define '%_rpmfc_magic_path ...'
> on the command line.
I believe the intention is to pass the _rpmfs_magic_path.. that patch can be
made up of other potential dynamic results. If the wrapper is building up
_librpm (something like that), then we can use:
%_rpmfc_magic_path %{_rpmlib}/../../share/magic
Note about is ramblings, not actual code.. ;)
> Please advise, I know you are traveling, and I can implement the change
> once we figure out the correct approach.
Thanks.. if you need to call me +1-612-669-2612.
> Thanks
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-09-26 23:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-26 23:05 RPM and libmagic Saul Wold
2011-09-26 23:36 ` Mark Hatle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox