All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V2 0/1] insane: add checking to standardize how .bbappend files do FILESEXTRAPATHS
@ 2014-07-21  6:17 Hongxu Jia
  2014-07-21  6:17 ` [PATCH 1/1] " Hongxu Jia
  0 siblings, 1 reply; 6+ messages in thread
From: Hongxu Jia @ 2014-07-21  6:17 UTC (permalink / raw)
  To: openembedded-core; +Cc: saul.wold

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

Test Steps:

1) Edit meta-yocto/recipes-core/busybox/busybox_%.bbappend
   and assigned FILESEXTRAPATHS incorrectly:
...
--- a/meta-yocto/recipes-core/busybox/busybox_%.bbappend
+++ b/meta-yocto/recipes-core/busybox/busybox_%.bbappend
@@ -1,2 +1,2 @@
-FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
+FILESEXTRAPATHS := "${THISDIR}/${BPN}:"
...

2) bitbake busybox
...
ERROR: FILESEXTRAPATHS-variable, must always use _prepend (or _append)
type of assignment. Please assign it with the format of:
  FILESEXTRAPATHS_append := ${THISDIR}/Your_Files_Path or
  FILESEXTRAPATHS_prepend := ${THISDIR}/Your_Files_Path
in your bbappend file
ERROR: Failed to parse recipe: /home/jiahongxu/yocto/poky/meta/recipes-core/busybox/busybox_git.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 | 10 ++++++++++
 meta/classes/utils.bbclass  |  2 ++
 meta/conf/bitbake.conf      |  2 ++
 3 files changed, 14 insertions(+)

-- 
1.8.1.2



^ permalink raw reply	[flat|nested] 6+ messages in thread
* [PATCH V3 0/1] insane: add checking to standardize how .bbappend files do FILESEXTRAPATHS
@ 2014-07-23  3:33 Hongxu Jia
  2014-07-23  3:33 ` [PATCH 1/1] " Hongxu Jia
  0 siblings, 1 reply; 6+ messages in thread
From: Hongxu Jia @ 2014-07-23  3:33 UTC (permalink / raw)
  To: openembedded-core; +Cc: saul.wold

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-07-25 19:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-21  6:17 [PATCH V2 0/1] insane: add checking to standardize how .bbappend files do FILESEXTRAPATHS Hongxu Jia
2014-07-21  6:17 ` [PATCH 1/1] " Hongxu Jia
2014-07-23  3:33 [PATCH V3 0/1] " Hongxu Jia
2014-07-23  3:33 ` [PATCH 1/1] " Hongxu Jia
2014-07-25 17:25   ` Gary Thomas
2014-07-25 18:35     ` Richard Purdie
2014-07-25 19:02       ` Gary Thomas

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.