Wind River Support Network

HomeDefectsLIN9-6238
Fixed

LIN9-6238 : StrongSwan rpm depend on "un-exist" package and smart was failed

Created: Jan 20, 2018    Updated: Dec 3, 2018
Resolved Date: Jan 28, 2018
Found In Version: 9.0.0.13
Fix Version: 9.0.0.14
Severity: Standard
Applicable for: Wind River Linux 9
Component/s: Networking

Description

./meta-openembedded/meta-networking/recipes-support/strongswan/strongswan_5.5.0.bb RRECOMMENDS_${PN} depends on package "kernel-module-ipsec" which never build. As a result, install by "smart" was failed. 
------------------ log ---------------------------------
root@xxxx:~# smart install strongswan
Loading cache...
Updating cache...                                               ######################################################################################### [100%]

Computing transaction...                                                                                                                                         error: Can't install strongswan-5.5.0-r1.3@core2_64: no package provides kernel-module-ipsec
 ------------------ log ---------------------------------

It seems that in WRL9 kernel module are packaged each by each like,

kernel-module-esp4-4.8.24-r0.10.qemux86_64.rpm
kernel-module-ah4-4.8.24-r0.10.qemux86_64.rpm
kernel-module-xfrm4-tunnel-4.8.24-r0.10.qemux86_64.rpm  
kernel-module-xfrm-ipcomp-4.8.24-r0.10.qemux86_64.rpm
kernel-module-xfrm-user-4.8.24-r0.10.qemux86_64.rpm
kernel-module-ipcomp-4.8.24-r0.10.qemux86_64.rpm

Workaround

Remove dependency in local.conf

# Add installer support feature
WRTEMPLATE+= 'feature/installer-support'

Steps to Reproduce

1: Build platform with IMAGE_INSTALL_append += "strongswan"   
2: Deploy image to target
3: Build again strongswan with PR enabled.
INHERIT+="buildhistory"
BUILDHISTORY_COMMIT = "1"
4: Prepare http server and put package from target.
4: In target side update strongswan using smart.
smart update
smart upgrade strongswan -> this cause issue

Other Downloads


Live chat
Online