Bug 3664

Summary: If bbappend file is not adding any files, point out no need to prepend to FILESEXTRAPATHS
Product: [Documentation] Development Manual Reporter: Robert P. J. Day <rpjday>
Component: developmentAssignee: Scott Rifenbark <srifenbark>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: jessica.zhang, sgw
Version: 1.4   
Target Milestone: 1.4   
Hardware: x86   
OS: Multiple   
URL: http://git.yoctoproject.org/cgit/cgit.cgi/yocto-docs/commit/?id=388c441341006227be2f9e7d42bb1c509c32790d
Whiteboard: 1 Feb 2013: needs review
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Robert P. J. Day 2012-12-30 10:14:23 UTC
Section 5.1.4 in Dev Manual talks about bbappend files and how to:

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

which is fine except that a number of bbappend files simply exist to add build options (eg., systemd), so that section should make it clear that if you're not adding any extra files to the mix, you can leave off that prepend entirely.  Is that correct?
Comment 1 Scott Rifenbark 2013-01-29 19:34:38 UTC
I have a question on this bug.  If I am not adding extra files to the mix, then wouldn't I not even have a FILESEXTRAPATHS statement in my .bbappend file?

Isn't the _prepend part of the statement just to make sure that it looks at my directories first?  (e.g. ${THISDIR}/${PN} in this case).

I probably don't understand the bigger picture here ... so if someone can provide more explanation I would appreciate it. 

Thanks, 
Scott
Comment 2 Scott Rifenbark 2013-02-01 22:11:46 UTC
Updated the section to include more in the note for cases where an append file is not adding new files.  See http://www.yoctoproject.org/docs/1.4/dev-manual/dev-manual.html#using-bbappend-files for the text.  

I will close this in a few weeks if no response or adjustments are needed. 

Scott
Comment 3 Jessica 2013-05-01 15:59:30 UTC
Published in the offical doc