All of lore.kernel.org
 help / color / mirror / Atom feed
* do_kernel_configme error when patches create directories
@ 2015-03-10 13:49 Jeff Melville
  2015-03-10 13:57 ` Bruce Ashfield
  0 siblings, 1 reply; 2+ messages in thread
From: Jeff Melville @ 2015-03-10 13:49 UTC (permalink / raw)
  To: yocto

I'm using a Yocto flow to build for the Zynq with the meta-xilinx with
some customizations:
- I'm using a bbappend to replace the linux-xlnx 3.14 kernel with one
that has had mainline changes from 3.14.17 merged in.
- I added a task between patch and configure for applying the Xenomai
kernel patches and running the Xenomai prepare_kernel script.

All layers are on the dizzy branch. The linux-xlnx recipe inherits
from linux-yocto but obtains the metadeta from an out of tree source
using a SRC_URI append with type=kmeta. This ends up getting copied
into the kernel tree with during the kernel_configme task. This is my
first time working with a kernel recipe in the linux-yocto style so
I'm still coming up to speed a bit.

The problem arises because the Xenomai patch process creates
additional directories in the Linux tree. As part of the
kernel_configme task, the kgit-meta script will attempt to use the
last unversioned directory returned by 'git ls-files -o --directory'
as the metadata directory, which does not work.

Two questions:
1) What is the best short term way for me to work around this?
2) Is there a way to patch the meta directory detection in kgit-meta
to make it more robust against false detections?

Thanks,
Jeff


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

end of thread, other threads:[~2015-03-10 13:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-10 13:49 do_kernel_configme error when patches create directories Jeff Melville
2015-03-10 13:57 ` Bruce Ashfield

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.