diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/package.bbclass | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index 89cce40d45..dc4025d327 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass | |||
@@ -208,16 +208,18 @@ def do_split_packages(d, root, file_regex, output_pattern, description, postinst | |||
208 | else: | 208 | else: |
209 | the_files.append(aux_files_pattern_verbatim % m.group(1)) | 209 | the_files.append(aux_files_pattern_verbatim % m.group(1)) |
210 | d.setVar('FILES_' + pkg, " ".join(the_files)) | 210 | d.setVar('FILES_' + pkg, " ".join(the_files)) |
211 | if extra_depends != '': | ||
212 | d.appendVar('RDEPENDS_' + pkg, ' ' + extra_depends) | ||
213 | d.setVar('DESCRIPTION_' + pkg, description % on) | ||
214 | d.setVar('SUMMARY_' + pkg, summary % on) | ||
215 | if postinst: | ||
216 | d.setVar('pkg_postinst_' + pkg, postinst) | ||
217 | if postrm: | ||
218 | d.setVar('pkg_postrm_' + pkg, postrm) | ||
219 | else: | 211 | else: |
220 | d.setVar('FILES_' + pkg, oldfiles + " " + newfile) | 212 | d.setVar('FILES_' + pkg, oldfiles + " " + newfile) |
213 | if extra_depends != '': | ||
214 | d.appendVar('RDEPENDS_' + pkg, ' ' + extra_depends) | ||
215 | if not d.getVar('DESCRIPTION_' + pkg, True): | ||
216 | d.setVar('DESCRIPTION_' + pkg, description % on) | ||
217 | if not d.getVar('SUMMARY_' + pkg, True): | ||
218 | d.setVar('SUMMARY_' + pkg, summary % on) | ||
219 | if postinst: | ||
220 | d.setVar('pkg_postinst_' + pkg, postinst) | ||
221 | if postrm: | ||
222 | d.setVar('pkg_postrm_' + pkg, postrm) | ||
221 | if callable(hook): | 223 | if callable(hook): |
222 | hook(f, pkg, file_regex, output_pattern, m.group(1)) | 224 | hook(f, pkg, file_regex, output_pattern, m.group(1)) |
223 | 225 | ||