summaryrefslogtreecommitdiffstats
path: root/meta/classes/package.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-02 13:52:38 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-04 23:39:00 +0000
commit4ea6a647dfd5252c0ed6d76e6ca2072a7d45dc71 (patch)
treef918eca338f8d4ad34793970dfc3192b22ee3b05 /meta/classes/package.bbclass
parent6ab50017e18cbb5eeeee2df9075fdfa54d05489f (diff)
downloadpoky-4ea6a647dfd5252c0ed6d76e6ca2072a7d45dc71.tar.gz
package.bbclass: Add data expansion to do_split_packages()
do_split_packages is often called with parameters which need expansion. This happens to work at the moment since python functions are expanded before execution but likely will not happen in future and isn't good code practise. Expand the common parameters do_split_packages() to avoid regressions. (From OE-Core rev: c92ac7996b1b65a9171ea00e7156c87cccc07cec) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/package.bbclass')
-rw-r--r--meta/classes/package.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index fdcf5ff179..854591bb7d 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -121,6 +121,8 @@ def do_split_packages(d, root, file_regex, output_pattern, description, postinst
121 """ 121 """
122 122
123 dvar = d.getVar('PKGD', True) 123 dvar = d.getVar('PKGD', True)
124 root = d.expand(root)
125 output_pattern = d.expand(output_pattern)
124 126
125 # If the root directory doesn't exist, don't error out later but silently do 127 # If the root directory doesn't exist, don't error out later but silently do
126 # no splitting. 128 # no splitting.