diff options
Diffstat (limited to 'meta-networking/recipes-support/strongswan/strongswan_5.7.1.bb')
| -rw-r--r-- | meta-networking/recipes-support/strongswan/strongswan_5.7.1.bb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta-networking/recipes-support/strongswan/strongswan_5.7.1.bb b/meta-networking/recipes-support/strongswan/strongswan_5.7.1.bb index c8bb17c5ba..5a4e2d36f8 100644 --- a/meta-networking/recipes-support/strongswan/strongswan_5.7.1.bb +++ b/meta-networking/recipes-support/strongswan/strongswan_5.7.1.bb | |||
| @@ -66,8 +66,8 @@ python split_strongswan_plugins () { | |||
| 66 | dbglibdir = os.path.join(libdir, '.debug') | 66 | dbglibdir = os.path.join(libdir, '.debug') |
| 67 | 67 | ||
| 68 | def add_plugin_conf(f, pkg, file_regex, output_pattern, modulename): | 68 | def add_plugin_conf(f, pkg, file_regex, output_pattern, modulename): |
| 69 | dvar = d.getVar('PKGD', True) | 69 | dvar = d.getVar('PKGD') |
| 70 | oldfiles = d.getVar('CONFFILES_' + pkg, True) | 70 | oldfiles = d.getVar('CONFFILES_' + pkg) |
| 71 | newfile = '/' + os.path.relpath(f, dvar) | 71 | newfile = '/' + os.path.relpath(f, dvar) |
| 72 | 72 | ||
| 73 | if not oldfiles: | 73 | if not oldfiles: |
| @@ -83,7 +83,7 @@ python split_strongswan_plugins () { | |||
| 83 | split_staticdev_packages = do_split_packages(d, libdir, 'libstrongswan-(.*)\.a', '${PN}-plugin-%s-staticdev', 'strongSwan %s plugin - Development files (Static Libraries)', prepend=True, extra_depends='${PN}-staticdev') | 83 | split_staticdev_packages = do_split_packages(d, libdir, 'libstrongswan-(.*)\.a', '${PN}-plugin-%s-staticdev', 'strongSwan %s plugin - Development files (Static Libraries)', prepend=True, extra_depends='${PN}-staticdev') |
| 84 | 84 | ||
| 85 | if split_packages: | 85 | if split_packages: |
| 86 | pn = d.getVar('PN', True) | 86 | pn = d.getVar('PN') |
| 87 | d.setVar('RRECOMMENDS_' + pn + '-plugins', ' '.join(split_packages)) | 87 | d.setVar('RRECOMMENDS_' + pn + '-plugins', ' '.join(split_packages)) |
| 88 | d.appendVar('RRECOMMENDS_' + pn + '-dbg', ' ' + ' '.join(split_dbg_packages)) | 88 | d.appendVar('RRECOMMENDS_' + pn + '-dbg', ' ' + ' '.join(split_dbg_packages)) |
| 89 | d.appendVar('RRECOMMENDS_' + pn + '-dev', ' ' + ' '.join(split_dev_packages)) | 89 | d.appendVar('RRECOMMENDS_' + pn + '-dev', ' ' + ' '.join(split_dev_packages)) |
