All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hongxu Jia <hongxu.jia@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Cc: saul.wold@intel.com
Subject: [PATCH V3 0/1] insane: add checking to standardize how .bbappend files do FILESEXTRAPATHS
Date: Wed, 23 Jul 2014 11:33:00 +0800	[thread overview]
Message-ID: <cover.1406085105.git.hongxu.jia@windriver.com> (raw)

Change in V3:
- Make the error message more readable. The incorrect assignment
  info will be helpful for issue location.

Change in V2:
- It is more reasonable to move the checking to insance.bbclass
  rather than create a new bbclass. 

Test Steps:

1) Add git://git.yoctoproject.org/meta-fsl-ppc layer
   The openssl and cryptodev-fsl incorrectly assigned
   FILESEXTRAPATHS which forgot the colon.(I have sent the
   fix to meta-fsl-ppc layer mail list)
   ...
   FILESEXTRAPATHS_prepend := "${THISDIR}/openssl-fsl"
   ...
   FILESEXTRAPATHS_prepend := "${THISDIR}/cryptodev-fsl"
   ...
2) bitbake openssl
...
ERROR: FILESEXTRAPATHS-variable, must always use _prepend (or _append)
type of assignment, and don't forget the colon.
Please assign it with the format of:
  FILESEXTRAPATHS_append := ":${THISDIR}/Your_Files_Path" or
  FILESEXTRAPATHS_prepend := "${THISDIR}/Your_Files_Path:"
in your bbappend file

Your incorrect assignment is:
/home/jiahongxu/yocto/meta-openembedded/meta-fsl-ppc/recipes-connectivity/openssl/openssl-fsl__default:

ERROR: Failed to parse recipe: /home/jiahongxu/yocto/meta-openembedded/meta-fsl-ppc/recipes-connectivity/openssl/openssl_1.0.1g.bb
...
 
//Hongxu



The following changes since commit 4d2ac6f6df2b3ef98699dd4f7afadb2d994222bb:

  rootfs: Remove the extraneous install directory (2014-07-19 00:18:21 +0100)

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib hongxu/filesextrapaths
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=hongxu/filesextrapaths

Hongxu Jia (1):
  insane: add checking to standardize how .bbappend files do
    FILESEXTRAPATHS

 meta/classes/insane.bbclass | 13 +++++++++++++
 meta/classes/utils.bbclass  |  2 ++
 meta/conf/bitbake.conf      |  2 ++
 3 files changed, 17 insertions(+)

-- 
1.8.1.2



             reply	other threads:[~2014-07-23  3:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-23  3:33 Hongxu Jia [this message]
2014-07-23  3:33 ` [PATCH 1/1] insane: add checking to standardize how .bbappend files do FILESEXTRAPATHS Hongxu Jia
2014-07-25 17:25   ` Gary Thomas
2014-07-25 18:35     ` Richard Purdie
2014-07-25 19:02       ` Gary Thomas
2014-07-25  8:22 ` [PATCH V3 0/1] " Hongxu Jia

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=cover.1406085105.git.hongxu.jia@windriver.com \
    --to=hongxu.jia@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=saul.wold@intel.com \
    /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.