The scant section on PACKAGECONFIG in the ref-variables manual is still rather vague. In particular, the various methods for setting the PACKAGECONFIG variable should be explained as they are quite varied and arcane. For example, the simplest but perhaps the most intrusive way to set this is using a .bbappend file, but there are other ways, each of which have their own different/unique syntax.
Paul, Could you provide some more information on how to use this variable here? Thanks, Scott
The documentation covers *writing* a PACKAGECONFIG block, but it doesn't cover *changing* a PACKAGECONFIG statement. Two ways: bbappend or conf file. Some very rough notes that need to be expanded: bbappend. Create a [packagename].bbappend in your layer and override the value of PACKAGECONFIG. It can either be overridden completely (PACKAGECONFIG="foo bar") or just amended (PACKAGECONFIG_append = " bar"). conf file, such as local.conf or mydistro.conf. The same method applies but the variable needs to be PACKAGECONFIG_pn-[packagename], i.e. PACKAGECONFIG_pn-libfoo = "foo bar".
(In reply to comment #2) > conf file, such as local.conf or mydistro.conf. The same method applies but > the variable needs to be PACKAGECONFIG_pn-[packagename], i.e. > PACKAGECONFIG_pn-libfoo = "foo bar". Additionally, the experimentation I've done seems to indicate that if you want to _append to a package's PACKAGECONFIG in a conf file you need to use: PACKAGECONFIG_append_pn-[package] = " foo bar"
Hi, Here is an expanded glossary description for the PACKAGECONFIG variable. I have tried to describe it now to cover some various use scenarios. I do need it looked at for accuracy as I made some guesses and assumptions. http://www.yoctoproject.org/docs/1.5/ref-manual/ref-manual.html#var-PACKAGECONFIG Thanks, Scott
In the configuration block, give two examples for clarity: PACKAGECONFIG_pn-[packagename]="f4 f5" PACKAGECONFIG_append_pn-[packagename] = " f4"
Please use pn-<recipename> instead of pn-[packagename] in these examples, since the syntax matches the convention in the rest of the manual and we're talking recipes not packages here.
Hi, Check out the review changes here: http://www.yoctoproject.org/docs/1.5/ref-manual/ref-manual.html#var-PACKAGECONFIG Thanks, Scott
The conf file examples lost their _pn-[recipename] parts. PACKAGECONFIG_pn-[recipename]="f4 f5" PACKAGECONFIG_append_pn-[recipename] = " f4"
pn-<recipename> ...
I thought RRECOMMENDS was added to the PACKAGECONFIG option list http://patchwork.openembedded.org/patch/57837/ bringing the PACKAGECONFIG option count to 5, not 4?
Looks like it was. I will add that to the list.
Submitted but not accepted, please remove the runtime recommends section. Apart from that, looks good.
OK, I took the RRECOMMENDS stuff out and restored it to four rather than five things. Here is the link - http://www.yoctoproject.org/docs/1.5/ref-manual/ref-manual.html#var-PACKAGECONFIG I am marking it RESOLVED and putting the doc requirement to "Done". Thanks, Scott