From: Saul Wold <sgw@linux.intel.com>
To: Robert Yang <liezhi.yang@windriver.com>
Cc: Zhenfeng.Zhao@windriver.com, openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 1/2] package_rpm.bbclass: change the arch's "-" to "_" for platform
Date: Thu, 27 Sep 2012 08:43:47 -0700 [thread overview]
Message-ID: <50647433.9060104@linux.intel.com> (raw)
In-Reply-To: <352cdca21cbdaec95d82f141f7fe0bd86615eedb.1348561895.git.liezhi.yang@windriver.com>
On 09/25/2012 06:38 AM, Robert Yang wrote:
> The platform and platform_extra will be written to /etc/rpm/platform,
> the rpm's arch has changed the "-" to "_", so the value in platform
> should also be updated.
>
> [YOCTO #3159]
>
> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
> ---
> meta/classes/package_rpm.bbclass | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass
> index 64689d8..be6bd45 100644
> --- a/meta/classes/package_rpm.bbclass
> +++ b/meta/classes/package_rpm.bbclass
> @@ -276,8 +276,8 @@ process_pkg_list_rpm() {
> package_install_internal_rpm () {
>
> local target_rootfs="${INSTALL_ROOTFS_RPM}"
> - local platform="${INSTALL_PLATFORM_RPM}"
> - local platform_extra="${INSTALL_PLATFORM_EXTRA_RPM}"
> + local platform="`echo ${INSTALL_PLATFORM_RPM} | sed 's#-#_#g'`"
> + local platform_extra="`echo ${INSTALL_PLATFORM_EXTRA_RPM} | sed 's#-#_#g'`"
> local confbase="${INSTALL_CONFBASE_RPM}"
> local package_to_install="${INSTALL_PACKAGES_RPM}"
> local package_attemptonly="${INSTALL_PACKAGES_ATTEMPTONLY_RPM}"
>
Merged into OE-Core
Thanks
Sau!
next prev parent reply other threads:[~2012-09-27 15:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-25 13:38 [PATCH 0/2] package_rpm.bbclass: two fixes Robert Yang
2012-09-25 13:38 ` [PATCH 1/2] package_rpm.bbclass: change the arch's "-" to "_" for platform Robert Yang
2012-09-27 15:43 ` Saul Wold [this message]
2012-09-25 13:38 ` [PATCH 2/2] package_rpm.bbclass: no initial_solution in the second build Robert Yang
2012-09-27 15:44 ` [PATCH 0/2] package_rpm.bbclass: two fixes 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=50647433.9060104@linux.intel.com \
--to=sgw@linux.intel.com \
--cc=Zhenfeng.Zhao@windriver.com \
--cc=liezhi.yang@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox