| Summary: | Document version requirements in RDEPENDS etc | ||
|---|---|---|---|
| Product: | [Documentation] Reference | Reporter: | Ross Burton <ross.burton> |
| Component: | handbook | Assignee: | Scott Rifenbark <srifenbark> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | bluelightning, poky.doc.watcher, poky.watcher, ross.burton, sgw, srifenbark |
| Version: | 1.5 | ||
| Target Milestone: | 1.5 | ||
| Hardware: | All | ||
| OS: | Multiple | ||
| Whiteboard: | 18 September 2013: RESOLVED | ||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Done (doc changes complete) | |
Get me the options and I will get this in. Scott Mark kindly commented on the thread which spawned this bug: The format for RDEPENDS is slightly different from all three [packaging systems]. dep (= ver) dep (< ver) dep (> ver) dep (<= ver) dep (>= ver) Hopefully the operators are fairly self-explanatory. Ross, I don't get the last comment. It implies different syntax forms for different packaging systems. However, the list shows the standard Boolean logical operators from which I can't discern any differences based on package types. Scott Sorry, my quoting was a bit too tight. Each of the possible packaging formats has a different syntax for dependencies, but we hide that from the user. The table in comment 2 is the syntax for versioned dependencies that bitbake supports. Ross, Check out the last part for the RDEPENDS variable at http://www.yoctoproject.org/docs/1.5/ref-manual/ref-manual.html#var-RDEPENDS. Let me know if this covers it. Once we are okay with it, you can indicate the other variables that need the same explanation. I am assuming that is what you meant by "etc" in your comment. I imagine DEPENDS would be one of them. Scott By "etc" I meant the other runtime dependences, so RCONFLICTS RRECOMMENDS RREPLACES. Ross, Thanks for the clarification. Can you "okay" the RDEPENDS section changes first then or send me feedback on them? Once I have those solid I will make similar changes to the other R* variables. Scott Sorry, meant to put that in my reply too. The new material is great. Hi, I have added similar wordings to the RCONFLICTS, RREPLACES, and RRECOMMENDS variables to support versioned specification of a package. The wording was "okayed" for RDEPENDS so I am marking this bug RESOLVED. If you want to look at the final stuff see: http://www.yoctoproject.org/docs/1.5/ref-manual/ref-manual.html#var-RCONFLICTS http://www.yoctoproject.org/docs/1.5/ref-manual/ref-manual.html#var-RREPLACES http://www.yoctoproject.org/docs/1.5/ref-manual/ref-manual.html#var-RRECOMMENDS http://www.yoctoproject.org/docs/1.5/ref-manual/ref-manual.html#var-RDEPENDS Scott |
It's possible to specify versions in the RDEPENDS (etc) fields, for example: RDEPENDS_${PN} = "foo (>= 1.2)" We should clearly document this syntax and all of the operators involved. CC'ing Paul as hopefully he knows where to look to get the full list of supported expressions.