Replacing 'filter' by 'contains' will do the trick (will compile)
- PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}"
+PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6',
'', d)}"
Note that I get the following warning:
WARNING: net-snmp-5.8-r0
Will the following method work?
yocto-layer create openembedded*2*
and add the path in conf/bblayers.conf
By doing this, I will have
openembedded where net-snmp version 5.7.3 resides
openembedded*2* where net-snmp version 5.8 resides
Then issuing bitbake net-snmp it will take the 5.8?
How can I avoid mixing branches.
I already have a meta-openembedded layer, which supports net-snmp_5.7.3
(which compiles but I want to update).
Now I cloned a new meta-openembedded layer, which as net-snmp_5.8.
How can I merge the layers (meta-openembedded that I have and the new
cloned one)?
Follow the READMEs and don't mix layers from different branches.
You need to checkout all repositories with layers from the same branch to
be compatible. Now you're mixing newer meta-oe branch with older oe-core
branch which doesn't have bb.utils.filter function yet.
On Tue, Aug 28, 2018 at 5:17
Hi,
Just download net-snmp_5.8.bb but it failed to compile:
$ bitbake net-snmp
Loading cache: 100%
||
Time: 0:00:01