On Wed, Aug 3, 2016 at 5:33 AM, Jacob Kroon <[email protected]> wrote:
> On 07/26/2016 06:56 PM, Jacob Kroon wrote: > >> * The kernel meta-data doesn't need to be distributed in the kernel >> source >> package, so drop it >> * Fix a typo >> * Split long lines >> >> Signed-off-by: Jacob Kroon <[email protected]> >> --- >> meta/recipes-kernel/linux/kernel-devsrc.bb | 10 +++++++--- >> 1 file changed, 7 insertions(+), 3 deletions(-) >> >> diff --git a/meta/recipes-kernel/linux/kernel-devsrc.bb >> b/meta/recipes-kernel/linux/kernel-devsrc.bb >> index 0fdd0ad..2dcf01e 100644 >> --- a/meta/recipes-kernel/linux/kernel-devsrc.bb >> +++ b/meta/recipes-kernel/linux/kernel-devsrc.bb >> @@ -41,13 +41,17 @@ do_install() { >> >> # >> # Copy the staging dir source (and module build support) into >> the devsrc structure. >> - # We can keep this copy simple and take everything, since a >> we'll clean up any build >> + # We can keep this copy simple and take everything, since we'll >> clean up any build >> # artifacts afterwards, and the extra i/o is not significant >> # >> cd ${B} >> - find . -type d -name '.git*' -prune -o -path '.debug' -prune -o >> -type f -print0 | cpio --null -pdlu $kerneldir >> + find . -type d -name '.git*' -prune -o \ >> + -path '.debug' -prune -o \ >> + -type f -print0 | cpio --null -pdlu $kerneldir >> cd ${S} >> - find . -type d -name '.git*' -prune -o -type f -print0 | cpio >> --null -pdlu $kerneldir >> + find . -type d -name '.git*' -prune -o \ >> + -type d -name '.kernel-meta' -prune -o \ >> + -type f -print0 | cpio --null -pdlu $kerneldir >> >> # Explicitly set KBUILD_OUTPUT to ensure that the image >> directory is cleaned and not >> # The main build artifacts. We clean the directory to avoid QA >> errors on mismatched >> >> > Ignore this patch, I'm suspecting that .kernel-meta/ directory shouldn't > exist in ${STAGING_KERNEL_DIR} to begin with ? > It doesn't hurt anything by being there, but you can either intercept it at the time we stage the common kernel parts, or when you package devsrc .. either will work. Bruce > /Jacob > > -- > _______________________________________________ > Openembedded-core mailing list > [email protected] > http://lists.openembedded.org/mailman/listinfo/openembedded-core > -- "Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
-- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
