Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] linux-yocto: restore WORKDIR as a patch source directory
@ 2012-01-18 17:13 Bruce Ashfield
  2012-01-18 17:13 ` [PATCH 1/1] " Bruce Ashfield
  2012-01-19 20:00 ` [PATCH 0/1] " Saul Wold
  0 siblings, 2 replies; 3+ messages in thread
From: Bruce Ashfield @ 2012-01-18 17:13 UTC (permalink / raw)
  To: richard.purdie; +Cc: openembedded-core, saul.wold

Richard/Saul,

As was pointed out on IRC this morning, config fragments and other
config tweaks that were added to the SRC_URI weren't being processed
by the config phase of the linux-yocto build. 

When I switched to using src_patches, I dropped WORKDIR as a 
directory that would be scanned for patches and configs. This patch
restores that functionality by putting WORKDIR back into the 
path that will be searched.

Cheers,

Bruce

The following changes since commit 5724ee9c3a99519fea96446638910b727b89898d:
  Mark Hatle (1):
        package_rpm.bbclass: Add support for filenames with spaces

are available in the git repository at:

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

Bruce Ashfield (1):
  linux-yocto: restore WORKDIR as a patch source directory

 meta/classes/kernel-yocto.bbclass |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)




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

* [PATCH 1/1] linux-yocto: restore WORKDIR as a patch source directory
  2012-01-18 17:13 [PATCH 0/1] linux-yocto: restore WORKDIR as a patch source directory Bruce Ashfield
@ 2012-01-18 17:13 ` Bruce Ashfield
  2012-01-19 20:00 ` [PATCH 0/1] " Saul Wold
  1 sibling, 0 replies; 3+ messages in thread
From: Bruce Ashfield @ 2012-01-18 17:13 UTC (permalink / raw)
  To: richard.purdie; +Cc: openembedded-core, saul.wold

In the switch to using src_patches and using patches in their
source directory, the scanning of WORKDIR migrated items like
config fragments was dropped. Adding WORKDIR back as a patch
directory restores the old functionality.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
---
 meta/classes/kernel-yocto.bbclass |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
index 1b73e6e..7fdefcf 100644
--- a/meta/classes/kernel-yocto.bbclass
+++ b/meta/classes/kernel-yocto.bbclass
@@ -92,6 +92,8 @@ do_patch() {
 		fi
 	done
 
+	patch_dirs="${patch_dirs} ${WORKDIR}"
+
 	# add any explicitly referenced features onto the end of the feature
 	# list that is passed to the kernel build scripts.
 	if [ -n "${KERNEL_FEATURES}" ]; then
-- 
1.7.0.4




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

* Re: [PATCH 0/1] linux-yocto: restore WORKDIR as a patch source directory
  2012-01-18 17:13 [PATCH 0/1] linux-yocto: restore WORKDIR as a patch source directory Bruce Ashfield
  2012-01-18 17:13 ` [PATCH 1/1] " Bruce Ashfield
@ 2012-01-19 20:00 ` Saul Wold
  1 sibling, 0 replies; 3+ messages in thread
From: Saul Wold @ 2012-01-19 20:00 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On 01/18/2012 09:13 AM, Bruce Ashfield wrote:
> Richard/Saul,
>
> As was pointed out on IRC this morning, config fragments and other
> config tweaks that were added to the SRC_URI weren't being processed
> by the config phase of the linux-yocto build.
>
> When I switched to using src_patches, I dropped WORKDIR as a
> directory that would be scanned for patches and configs. This patch
> restores that functionality by putting WORKDIR back into the
> path that will be searched.
>
> Cheers,
>
> Bruce
>
> The following changes since commit 5724ee9c3a99519fea96446638910b727b89898d:
>    Mark Hatle (1):
>          package_rpm.bbclass: Add support for filenames with spaces
>
> are available in the git repository at:
>
>    git://git.pokylinux.org/poky-contrib zedd/kernel
>    http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=zedd/kernel
>
> Bruce Ashfield (1):
>    linux-yocto: restore WORKDIR as a patch source directory
>
>   meta/classes/kernel-yocto.bbclass |    2 ++
>   1 files changed, 2 insertions(+), 0 deletions(-)
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>

Merged into OE-Core

Thanks
	Sau!





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

end of thread, other threads:[~2012-01-19 20:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-18 17:13 [PATCH 0/1] linux-yocto: restore WORKDIR as a patch source directory Bruce Ashfield
2012-01-18 17:13 ` [PATCH 1/1] " Bruce Ashfield
2012-01-19 20:00 ` [PATCH 0/1] " Saul Wold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox