[yocto] Missing patch files in SRC_URIs

Chris Tapp opensource at keylevel.com
Wed Aug 24 00:59:15 PDT 2011


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 "

FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}"

bitbake -c patch -f virtual/kernel

runs without reporting any errors, even though linux-wrs_Vortex86DX/  
does not contain 'there-is-no.patch'.

However, if I change the append to specify a (non-existent) file:

SRC_URI_append_Vortex86DX = "\
	   file://there-is-no-file "

then bitbake reports an error, as I would expect.

Am I doing something wrong here?

Bitbake version is 1.11.0 and MACHINE is Vortex86DX.


Chris Tapp

opensource at keylevel.com
www.keylevel.com






More information about the yocto mailing list