Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] rpm: configure with staging native path for magic file
Date: Tue, 16 Aug 2011 07:34:13 -0700	[thread overview]
Message-ID: <4E4A7FE5.10602@gmail.com> (raw)
In-Reply-To: <1313463192-1911-1-git-send-email-aalonso00@gmail.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/15/2011 07:53 PM, Adrian Alonso wrote:
> * Remove hardcoded system path for path-magic file in order to avoid
> potential mistmatch between host and yocto native tools as reported
> in yocto mailing list: ---- error: magic_load(ms,
> /usr/share/misc/magic) failed: File 5.4 supports only version 7 magic
> files. `/usr/share/misc/magic.mgc' is version 8 ---- * Another
> solution is to update meta/recipes-devtools/file/file_5.04.bb to a 
> newer version ie. file_5.07.bb
> 
> Signed-off-by: Adrian Alonso <aalonso00@gmail.com> --- 
> meta/recipes-devtools/rpm/rpm_5.4.0.bb |    4 ++-- 1 files changed, 2
> insertions(+), 2 deletions(-)
> 
> diff --git a/meta/recipes-devtools/rpm/rpm_5.4.0.bb
> b/meta/recipes-devtools/rpm/rpm_5.4.0.bb index c0e3208..948ed84
> 100644 --- a/meta/recipes-devtools/rpm/rpm_5.4.0.bb +++
> b/meta/recipes-devtools/rpm/rpm_5.4.0.bb @@ -45,7 +45,7 @@
> LIC_FILES_CHKSUM =
> "file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1" DEPENDS =
> "bzip2 zlib db openssl elfutils expat libpcre attr acl popt
> ${extrarpmdeps}" extrarpmdeps = "python perl" 
> extrarpmdeps_virtclass-native = "" -PR = "r19" +PR = "r20"
> 
> # rpm2cpio is a shell script, which is part of the rpm src.rpm.  It
> is needed # in order to extract the distribution SRPM into a format
> we can extract... @@ -120,7 +120,7 @@ EXTRA_OECONF = "--verbose \ 
> ${WITH_DB} \ ${WITH_Z} \ --with-file \ -
> --with-path-magic=/usr/share/misc/magic \ +
> --with-path-magic=${STAGING_DIR_NATIVE}/usr/share/misc/magic.mgc \

this wont work for target rpm I guess

> --without-lua \ --without-tcl \ --with-syck=internal \

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk5Kf+UACgkQuwUzVZGdMxTmPACgiKm1rdoDPbxVdYhHvCqKEyFJ
0A4Anjx/BxnCQm6ZiLKGXOrn2nbFHzyS
=jGQc
-----END PGP SIGNATURE-----



  reply	other threads:[~2011-08-16 14:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-16  2:53 [PATCH] rpm: configure with staging native path for magic file Adrian Alonso
2011-08-16 14:34 ` Khem Raj [this message]
2011-08-16 17:02   ` Adrian Alonso
2011-08-16 22:02     ` Saul Wold

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E4A7FE5.10602@gmail.com \
    --to=raj.khem@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox