All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: Chris Tapp <opensource@keylevel.com>
Cc: yocto@yoctoproject.org
Subject: Re: Missing patch files in SRC_URIs
Date: Wed, 24 Aug 2011 12:11:27 +0100	[thread overview]
Message-ID: <201108241211.27202.paul.eggleton@linux.intel.com> (raw)
In-Reply-To: <42B4E483-BD49-4DC2-9007-3D424A73614D@keylevel.com>

Hi Chris,

On Wednesday 24 August 2011 08:59:15 Chris Tapp wrote:
> bitbake doesn't seem to be detecting missing patch files. In
> a .bbappend file (for linux-wrs_git) I have:
> 
> SRC_URI += " file://defconfig"
> 
> SRC_URI_append_Vortex86DX = "\
> 	   file://there-is-no.patch;patch=1 "

FYI patch=1 is no longer necessary as of quite some time ago - the .patch (or 
.diff) extension is enough to indicate that it's a patch.

> bitbake -c patch -f virtual/kernel
> 
> runs without reporting any errors, even though linux-wrs_Vortex86DX/
> does not contain 'there-is-no.patch'.

Are you sure there is no patch of this name elsewhere in the search path for 
this recipe? This is buggy behaviour if there isn't. (bitbake -e linux-wrs | 
grep "^FILESPATH" will give you the entire path it is using.) In any case the 
directory it should search for the patch in is linux-wrs/Vortex86DX not linux-
wrs_Vortex86DX.

I'd also recommend for consistency if it's not too difficult to change at this 
point that you use an all-lowercase machine name.
 
Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


  reply	other threads:[~2011-08-24 11:11 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-12 22:31 Configuring a layer to support multiple targets Chris Tapp
2011-08-12 22:54 ` Gary Thomas
2011-08-24  7:59   ` Missing patch files in SRC_URIs Chris Tapp
2011-08-24 11:11     ` Paul Eggleton [this message]
2011-08-24 19:36       ` Chris Tapp
2011-08-13  1:22 ` Configuring a layer to support multiple targets Bruce Ashfield
2011-08-17  7:59   ` Chris Tapp
2011-08-17 15:18     ` Bruce Ashfield
2011-08-17 19:07       ` Chris Tapp
2011-08-17 19:15         ` Bruce Ashfield
2011-08-17 19:38           ` Chris Tapp
     [not found]             ` <4E4C2399.1040505@windriver.com>
2011-08-17 20:42               ` Chris Tapp
2011-08-22 18:52                 ` Bruce Ashfield
2011-08-22 21:21                   ` Chris Tapp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201108241211.27202.paul.eggleton@linux.intel.com \
    --to=paul.eggleton@linux.intel.com \
    --cc=opensource@keylevel.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.