diff options
| author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2011-12-14 09:11:25 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-05 11:23:11 +0000 |
| commit | 464f8478babd7ff2d08ae502a1e8c46a103df357 (patch) | |
| tree | 43e81619a8510c5f13f8dd09cb372591f939b85d | |
| parent | 021848be9eeb71de8acfba6c66c11645b01523b8 (diff) | |
| download | poky-464f8478babd7ff2d08ae502a1e8c46a103df357.tar.gz | |
classes/update-alternatives: fix typos and grammar
(From OE-Core rev: b63fd2c71b9d5d3bcaa98fe08b2e65db8c2bf6d1)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/classes/update-alternatives.bbclass | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/meta/classes/update-alternatives.bbclass b/meta/classes/update-alternatives.bbclass index e5ba6550d7..0e8e58bd03 100644 --- a/meta/classes/update-alternatives.bbclass +++ b/meta/classes/update-alternatives.bbclass | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | # command directly in your recipe, but in most cases this class simplifies | 3 | # command directly in your recipe, but in most cases this class simplifies |
| 4 | # that job. | 4 | # that job. |
| 5 | # | 5 | # |
| 6 | # There're two basic modes supported: 'single update' and 'batch update' | 6 | # There are two basic modes supported: 'single update' and 'batch update' |
| 7 | # | 7 | # |
| 8 | # 'single update' is used for a single alternative command, and you're | 8 | # 'single update' is used for a single alternative command, and you're |
| 9 | # expected to provide at least below keywords: | 9 | # expected to provide at least below keywords: |
| @@ -11,19 +11,19 @@ | |||
| 11 | # ALTERNATIVE_NAME - the name that the alternative is registered | 11 | # ALTERNATIVE_NAME - the name that the alternative is registered |
| 12 | # ALTERNATIVE_PATH - the path of installed alternative | 12 | # ALTERNATIVE_PATH - the path of installed alternative |
| 13 | # | 13 | # |
| 14 | # ALTENATIVE_PRIORITY and ALTERNATIVE_LINK are optional which have defautls | 14 | # ALTERNATIVE_PRIORITY and ALTERNATIVE_LINK are optional which have defaults |
| 15 | # in this class. | 15 | # in this class. |
| 16 | # | 16 | # |
| 17 | # 'batch update' is used if you have multiple alternatives to be updated. | 17 | # 'batch update' is used if you have multiple alternatives to be updated. |
| 18 | # Unlike 'single update', 'batch update' in most times only require two | 18 | # Unlike 'single update', 'batch update' in most times only require two |
| 19 | # parameter: | 19 | # parameters: |
| 20 | # | 20 | # |
| 21 | # ALTERNATIVE_LINKS - a list of symbol links for which you'd like to | 21 | # ALTERNATIVE_LINKS - a list of symbolic links for which you'd like to |
| 22 | # create alternatives, with space as delimiter, e.g: | 22 | # create alternatives, with space as delimiter, e.g: |
| 23 | # | 23 | # |
| 24 | # ALTERNATIVE_LINKS = "${bindir}/cmd1 ${sbindir}/cmd2 ..." | 24 | # ALTERNATIVE_LINKS = "${bindir}/cmd1 ${sbindir}/cmd2 ..." |
| 25 | # | 25 | # |
| 26 | # ALTNERATIVE_PRIORITY - optional, applies to all | 26 | # ALTERNATIVE_PRIORITY - optional, applies to all |
| 27 | # | 27 | # |
| 28 | # To simplify the design, this class has the assumption that for a name | 28 | # To simplify the design, this class has the assumption that for a name |
| 29 | # listed in ALTERNATIVE_LINKS, say /path/cmd: | 29 | # listed in ALTERNATIVE_LINKS, say /path/cmd: |
| @@ -49,7 +49,7 @@ update-alternatives --remove ${ALTERNATIVE_NAME} ${ALTERNATIVE_PATH} | |||
| 49 | } | 49 | } |
| 50 | 50 | ||
| 51 | # for batch alternatives, we use a simple approach to require only one parameter | 51 | # for batch alternatives, we use a simple approach to require only one parameter |
| 52 | # with the rest info deduced implicitly | 52 | # with the rest of the info deduced implicitly |
| 53 | update_alternatives_batch_postinst() { | 53 | update_alternatives_batch_postinst() { |
| 54 | for link in ${ALTERNATIVE_LINKS} | 54 | for link in ${ALTERNATIVE_LINKS} |
| 55 | do | 55 | do |
