All of lore.kernel.org
 help / color / mirror / Atom feed
* Kernel patch is unpacked but not applied
@ 2013-06-27  3:08 Bryan Evenson
  2013-06-27  3:42 ` Bruce Ashfield
  0 siblings, 1 reply; 10+ messages in thread
From: Bryan Evenson @ 2013-06-27  3:08 UTC (permalink / raw)
  To: yocto@yoctoproject.org

I am building a custom Linux kernel under poky-dylan and I am having an issue with patches being unpacked but not applied.  I have two layers that have a bbappend file for the kernel.  Generally, this is what each bbappend file looks like:

#First .bbappend

FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
COMPATIBLE_MACHINE_mach1 = "mach1"
COMPATIBLE_MACHINE_mach2 = "mach2"
SRC_URI_append_mach2 = " file://${MACHINE}/${KBRANCH}/0001-blah.patch \
    file://${MACHINE}/${KBRANCH}/0002-blah.patch \
    "

# Increment the recipe revision
PRINC := "${@int(PRINC) + 1}"

# Second .bbappend

FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
COMPATIBLE_MACHINE_mach1 = "mach1"
COMPATIBLE_MACHINE_mach2 = "mach2"
SRC_URI_append_mach2 = " file://${MACHINE}/${KBRANCH}/0003-blah.patch \
    file://${MACHINE}/${KBRANCH}/0004-blah.patch \
    "

# Increment the recipe revision
PRINC := "${@int(PRINC) + 1}"

All of the patch files are properly unpacked, but the last two patches are not being applied.  If I open the devshell for the kernel (bitbake -c devshell linux-yocto-custom) I can see in the git log that the first patch set was applied.  The second patch set exists but is not applied.  If I call "guilt push" repeatedly from the devshell, the patches from the second set are cleanly applied.  My guess is that something doesn't like the second SRC_URI_append call.  Any ideas on how to fix it?

Thanks,
Bryan


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

end of thread, other threads:[~2013-06-27 20:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-27  3:08 Kernel patch is unpacked but not applied Bryan Evenson
2013-06-27  3:42 ` Bruce Ashfield
2013-06-27  5:24   ` Bruce Ashfield
2013-06-27 12:50     ` Bryan Evenson
2013-06-27 13:24       ` Bruce Ashfield
2013-06-27 15:19       ` Bruce Ashfield
2013-06-27 15:20       ` Bruce Ashfield
2013-06-27 15:41         ` Bryan Evenson
2013-06-27 16:39           ` Bruce Ashfield
2013-06-27 20:44           ` 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.