All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Hatle <mark.hatle@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: Re: RPM package generation architecture
Date: Sun, 18 Jan 2015 19:07:56 -0600	[thread overview]
Message-ID: <54BC58EC.6070406@windriver.com> (raw)
In-Reply-To: <CADV-EXFaVwA2kjDo3e9VvO-sodxpxTo6HFDis1oD_36oq3NehA@mail.gmail.com>

On 1/18/15 4:55 PM, Yevhen Kyriukha wrote:
> Hi
> 
> I'm building RPM packages for ARM board.
> I'm getting packages generated for 3 architectures: all, raspberrypi,
> armv6hf_vfp.
> I can't install any of these packages with rpm as it uses "uname" to
> get current machine arch and "uname" outputs "armv6l" arch. Also "all"
> should be "noarch" for rpm.
> I want that packages have "proper" arch: "noarch" and "armv6l".
> Could someone give suggestions on this, please?
> 

You are using the wrong version of RPM.  You need to use the version (RPM5) that
is configured by the system during the filesystem generation, along with the
platform file (/etc/rpm/platform) to specify to the system what is allowed.

RPM4 (which it sounds like you are using) does not have an easily adjustable
table of package names.  To install Yocto Project packages, you will need to
patch it to define the additional names.

--Mark


  reply	other threads:[~2015-01-19  1:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-18 22:55 RPM package generation architecture Yevhen Kyriukha
2015-01-19  1:07 ` Mark Hatle [this message]
2015-01-19 16:31   ` Otavio Salvador
2015-01-19 16:48     ` Mark Hatle

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=54BC58EC.6070406@windriver.com \
    --to=mark.hatle@windriver.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.