diff options
| author | Joshua Lock <joshua.g.lock@intel.com> | 2016-12-14 21:13:04 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-12-16 10:23:23 +0000 |
| commit | c4e2c59088765d1f1de7ec57cde91980f887c2ff (patch) | |
| tree | a2fda8ac5916fb59a711e9220c2177008cca9347 /meta/recipes-core/coreutils | |
| parent | d5e67725ac11e3296cad104470931ffa16824b90 (diff) | |
| download | poky-c4e2c59088765d1f1de7ec57cde91980f887c2ff.tar.gz | |
meta: remove True option to getVar calls
getVar() now defaults to expanding by default, thus remove the True
option from getVar() calls with a regex search and replace.
Search made with the following regex: getVar ?\(( ?[^,()]*), True\)
(From OE-Core rev: 7c552996597faaee2fbee185b250c0ee30ea3b5f)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/coreutils')
| -rw-r--r-- | meta/recipes-core/coreutils/coreutils_6.9.bb | 8 | ||||
| -rw-r--r-- | meta/recipes-core/coreutils/coreutils_8.25.bb | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/meta/recipes-core/coreutils/coreutils_6.9.bb b/meta/recipes-core/coreutils/coreutils_6.9.bb index 35700a32fd..9bfbeabc04 100644 --- a/meta/recipes-core/coreutils/coreutils_6.9.bb +++ b/meta/recipes-core/coreutils/coreutils_6.9.bb | |||
| @@ -99,9 +99,9 @@ ALTERNATIVE_LINK_NAME[lbracket] = "${bindir}/[" | |||
| 99 | ALTERNATIVE_TARGET[lbracket] = "${bindir}/lbracket.${BPN}" | 99 | ALTERNATIVE_TARGET[lbracket] = "${bindir}/lbracket.${BPN}" |
| 100 | 100 | ||
| 101 | python __anonymous() { | 101 | python __anonymous() { |
| 102 | for prog in d.getVar('base_bindir_progs', True).split(): | 102 | for prog in d.getVar('base_bindir_progs').split(): |
| 103 | d.setVarFlag('ALTERNATIVE_LINK_NAME', prog, '%s/%s' % (d.getVar('base_bindir', True), prog)) | 103 | d.setVarFlag('ALTERNATIVE_LINK_NAME', prog, '%s/%s' % (d.getVar('base_bindir'), prog)) |
| 104 | 104 | ||
| 105 | for prog in d.getVar('sbindir_progs', True).split(): | 105 | for prog in d.getVar('sbindir_progs').split(): |
| 106 | d.setVarFlag('ALTERNATIVE_LINK_NAME', prog, '%s/%s' % (d.getVar('sbindir', True), prog)) | 106 | d.setVarFlag('ALTERNATIVE_LINK_NAME', prog, '%s/%s' % (d.getVar('sbindir'), prog)) |
| 107 | } | 107 | } |
diff --git a/meta/recipes-core/coreutils/coreutils_8.25.bb b/meta/recipes-core/coreutils/coreutils_8.25.bb index df6ad380f3..6d6f7bc84e 100644 --- a/meta/recipes-core/coreutils/coreutils_8.25.bb +++ b/meta/recipes-core/coreutils/coreutils_8.25.bb | |||
| @@ -132,11 +132,11 @@ ALTERNATIVE_LINK_NAME[kill.1] = "${mandir}/man1/kill.1" | |||
| 132 | ALTERNATIVE_LINK_NAME[stat.1] = "${mandir}/man1/stat.1" | 132 | ALTERNATIVE_LINK_NAME[stat.1] = "${mandir}/man1/stat.1" |
| 133 | 133 | ||
| 134 | python __anonymous() { | 134 | python __anonymous() { |
| 135 | for prog in d.getVar('base_bindir_progs', True).split(): | 135 | for prog in d.getVar('base_bindir_progs').split(): |
| 136 | d.setVarFlag('ALTERNATIVE_LINK_NAME', prog, '%s/%s' % (d.getVar('base_bindir', True), prog)) | 136 | d.setVarFlag('ALTERNATIVE_LINK_NAME', prog, '%s/%s' % (d.getVar('base_bindir'), prog)) |
| 137 | 137 | ||
| 138 | for prog in d.getVar('sbindir_progs', True).split(): | 138 | for prog in d.getVar('sbindir_progs').split(): |
| 139 | d.setVarFlag('ALTERNATIVE_LINK_NAME', prog, '%s/%s' % (d.getVar('sbindir', True), prog)) | 139 | d.setVarFlag('ALTERNATIVE_LINK_NAME', prog, '%s/%s' % (d.getVar('sbindir'), prog)) |
| 140 | } | 140 | } |
| 141 | 141 | ||
| 142 | BBCLASSEXTEND = "native nativesdk" | 142 | BBCLASSEXTEND = "native nativesdk" |
