Skip to contentSkip to conversation

linux-yocto: restore WORKDIR as a patch source directory

PATCH Applied Bruce Ashfield 2 participants 3 messages Jan 18, 2012 – Jan 19, 2012

lore
Share & tools
lore
#0 lore raw

cover linux-yocto: restore WORKDIR as a patch source directory

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(-)
#1 lore raw

PATCH 1/1 linux-yocto: restore WORKDIR as a patch source directory

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.

---
 meta/classes/kernel-yocto.bbclass |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
meta/classes/kernel-yocto.bbclass +2 -0
index 1b73e6e..7fdefcf 100644
@@ -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
Signature · 1 line
1.7.0.4
Applied
#2 lore raw
In reply to Bruce Ashfield
Quoted 27 lines · Bruce Ashfield

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

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

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Merged into OE-Core

Thanks
Sau!