Commit Graph

137 Commits

Author SHA1 Message Date
Bruce Ashfield
6ca3994157 kernel: sync kernel bbappends to oe-core
4.4/4.9/4,10 are gone, replaced by 4.14 and 4.15. So we update
our bbappends accordingly.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-02-17 22:50:00 -05:00
Hongzhi.Song
d00a92ac19 enable kernel CONFIG_NET_ACT_POLICE for openvswitch
Setting 'CONFIG_NET_ACT_POLICE=m' meets demands of Qos,one of features of openswitch.
This is a new police-mechanism called action-extension.
It can build act_police.c into kernel as type of module.
If you want to do traffic policing, a kind of action-extension, i.e. strict bandwidth limiting.
This action replaces the existing policing module.
User can set action-extension at userspace by tool of openvswitch

If user set action-extension, exts->actions[i] will be called, and finally tcf_police()
defined at act_police.c will be called.

Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-01-12 10:37:48 -05:00
Chen Qi
5b70104bf1 linux-yocto: make bbappend have effect conditionally
Make these bbappend files to take effect only when DISTRO_FEATURES
contain 'virtualization'. Otherwise, we would meet failure failure
at system booting up qemux86. Related logs are as below.

 systemd-modules-load[113]: Failed to insert 'kvm_amd': Operation not supported
 systemd-modules-load[113]: Failed to insert 'kvm_intel': Operation not supported

Also, make kvm related settings depend on the 'kvm' distro feature.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-10-02 09:39:26 -04:00
Bruce Ashfield
537971d35a kernel: add linux-yocto 4.12 bappend
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-09-13 12:50:02 -04:00
Bruce Ashfield
7b3b082eca kernel: drop linux-yocto-4.1 bbappend
The 4.1 kernel is no longer in oe-core, so we can drop our bbappend.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-08-21 08:36:46 -04:00
Jan Kiszka
871962e231 kernel-features: Fix CONFIG_BLK_CGROUP enabling
Meanwhile, this became boolean, and trying to make it a module just
leaves it off.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-07-25 09:08:56 -04:00
Bruce Ashfield
3ac773e4c7 docker: make fragment standalone
Importing the docker configuratino fragment from meta-overc, which
adds options and capabilities to allow container to start out of
the box.

Note: There are more options that could be added here, but many of
them are decision of the distro and depend on runtime configuration
choices. So to balance the size of the build and leave decisions
where they belong, we keep this as small as possible.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-07-10 12:18:57 -04:00
brian avery
77fd5be8b6 docker: add NETFILTER_XT_MATCH_ADDRTYPE=m
Docker needs ths _NETFILTER_XT_MATCH_ADDRTYPE module in order to start
up successfully. This patch adds it to the supported kernels.

Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-07-10 12:18:09 -04:00
Bruce Ashfield
3786ca8902 kernel: drop 4.8 bbappend
4.8 is no longer in oe-core master, so we drop the bbappend

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-03-31 08:20:22 -04:00
Bruce Ashfield
260add1874 kernel: add 4.9 and 4.10 bbappends
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-03-15 19:24:11 -04:00
Bruce Ashfield
ada27ac45f kernel: add linux-yocto-4.8 bbappend
We want our options and features to apply to the 4.8 kernel as
well as the older ones.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-10-27 16:49:34 -04:00
Derek Straka
a3617f2464 globally replace 'base_contains' calls with 'bb.utils.contains'
The 'base_contains' is now deprecated and only kept as a compatibility method.  It will be removed in future releases.

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-05-03 22:21:25 -04:00
Bruce Ashfield
5dedd395f4 lxc: update configuration to include all required options
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-05-02 14:02:41 -04:00
Bruce Ashfield
9377e68bcd xen: clone 4.1 config to 4.4
4.4 is available in oe-core, and will be built by default in many
configurations. That leaves us either needing to force the preferred
version or copy our config to 4.4.

This is a direct clone of the 4.1 config to 4.4, and is currently
untested, but forms a baseline for more updates.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-01-19 09:53:11 -05:00
Chris Patterson
6ec960100f xen.cfg: enable CONFIG_HYPERVISOR_GUEST by default
Required dependency for CONFIG_XEN.

Signed-off-by: Chris Patterson <cjp256@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-01-14 15:37:46 -05:00
Bruce Ashfield
dbca9a89c0 linux-yocto: remove dangling bbappends
3.14 and 3.19 are gone from oe-core, so we drop our bbappends as well.

Signed-off-by: Bruce Ashfield <bruce@zedd.org>
2015-12-21 12:35:20 -05:00
Chris Patterson
ac7e0529fc xen.cfg: update for linux 4.1
- Drop old kernel options and add some newly available ones.

Signed-off-by: Chris Patterson <cjp256@gmail.com>
Signed-off-by: Bruce Ashfield <bruce@zedd.org>
2015-12-25 22:50:52 -05:00
He Zhe
62e49b861f linux-yocto: Add bbappend for 4.1 for virtualization configuration
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-09-08 10:01:55 -04:00
Bruce Ashfield
8bf314b41b linux-yocto: update bbappends to match oe-core 1.8 kernels
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-02-20 15:08:17 -05:00
Bruce Ashfield
b327673b51 lxc: add multiple PTYS to the default configuration
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-01-30 00:18:05 -05:00
Josep Puigdemont
fec41fc98e lxc.cfg: remove unnecessary kernel configuraitons.
Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-12-01 10:49:06 -05:00
Bruce Ashfield
e7c3ee2a60 linux-yocto: update bbappends
Updating the bbappends for the kernel to match the latest oe-core/yocto
1.7 versions. We drop 3.4, since it is no longer supported and add a
3.17 bbappend.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-10-01 00:56:15 -04:00
Bruce Ashfield
d4dce51641 linux-yocto*: update missed module_autoload statements
In the updates to the new KERNEL_MODULE_AUTOLOAD format, openvswitch was
missed.

Signed-off-by: Maxin B. John <maxin.john@enea.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-07-08 10:05:30 -04:00
Bruce Ashfield
a66fb848db linux-yocto/3.4/3.10: replace module_autoload with KERNEL_MODULE_AUTOLOAD
commit kernel-module-split: Add support for KERNEL_MODULE_AUTOLOAD and KERNEL_MODULE_PROBECONF
in oe-core replaces module_autoload with KERNEL_MODULE_AUTOLOAD, so we must update
the linux-yocto bbappends.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-07-07 12:14:13 -04:00
Christian Ziethén
7c193419ad linux-yocto_3.14: Replace module_autoload with KERNEL_MODULE_AUTOLOAD
Signed-off-by: Christian Ziethén <Christian.Ziethen@enea.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-07-07 12:04:49 -04:00
Bruce Ashfield
7544bfb6ec kernel: update fragments to oe-core 1.6
Now that the 3.14 kernel has been introduced and 3.8 dropped from oe-core,
we need to adjust our configuration fragments accordingly.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-04-02 09:07:00 -04:00
Chris Patterson
b531d00262 linux-yocto/xen: update fragment to support both dom0 and typical xen guests.
Updated linux kernel fragment to match defaults as defined in the 3.10 kernel's Kconfig files.  If defaults were not specified, modules were were used unless required by another built-in option.  As such, The core frontend drivers are included by default and the backend drivers are built as modules.

This allows privileged, PV, HVM, and PVHVM guests to work properly without additional kernel configuration or modules required in initramfs (from a Xen support perspective).

This also removes CONFIG_KVM_GUEST which was erroneously included previously.

Signed-off-by: Chris Patterson <cjp256@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-10-10 23:32:26 -04:00
Chris Patterson
98ed26b831 linux-yocto: add optional support for aufs and xen using DISTRO_FEATURES.
Signed-off-by: Chris Patterson <cjp256@gmail.com>
2013-09-24 11:45:52 -04:00
Chris Patterson
88adab97f9 linux-yocto: add kernel fragment and scc to support xen on linux 3.4, 3.8, and 3.10.
Signed-off-by: Chris Patterson <cjp256@gmail.com>
2013-09-24 11:45:52 -04:00
Bruce Ashfield
5b7cbf7e0b linux-yocto: add linux-yocto 3.10 bbappend
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-09-01 11:51:08 -04:00
David Nyström
88a7e97b9b Add kernel config fragment to allow OVS QoS service
Signed-off-by: David Nyström <david.nystrom@enea.com>
2013-08-25 01:24:51 -04:00
Mihai Prica
84ff6d7447 linux-yocto: Added 3.8 kernel bbappend
Signed-off-by: Mihai Prica <mihai.prica@intel.com>
2013-07-08 23:06:40 -04:00
Lei Yang
0afb6647c1 openvswtich: start openvswitch at the boot time
When I define the bridge, I get below error

root@intel_5500_server:~# ovs-vsctl add-br ovsbr0
Jan 25 17:34:07|00002|stream_unix|ERR|/tmp/stream-unix.1487.0: connection to /var/run/openvswitch/db.sock
failed: No such file or directory
........
........

This is because openvswitch damon isn't running,so we'd better start it at
the boot time.  The split-package ${PN}-switch ${PN}-controller provide us
to start necessary daemon with update-rc.d so we add them to the RDEPENDS.

Since openvswitch depends on openvswtich kernel module, so auto load the
kernel module too.

Signed-off-by: Lei Yang <lei.yang@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-02-01 09:08:07 -05:00
Mihai Prica
15e6ea1dbb linux-yocto: added kernel configuration for KVM
Signed-off-by: Mihai Prica <mihai.prica@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-01-29 09:19:24 -05:00
David Nyström
20b24d5695 Added kernel configuration for LxC and in kernel OpenvSwitch
Signed-off-by: David Nyström <david.nystrom@enea.com>
Reviewed-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2012-12-07 15:32:31 +01:00
Mihai Prica
bf7a0aa055 linux-yocto: added kernel configs for iptables modules iptables: loaded necessary kernel modules
Signed-off-by: Mihai Prica <mihai.prica@intel.com>
Signed-off-by: Raymond Danks <ray.danks@se-eng.com>
2012-11-26 16:21:15 -07:00
Mihai Prica
6777842470 ebtables: added necessary kernel modules linux-yocto: added kernel configs for ebtables modules
Signed-off-by: Mihai Prica <mihai.prica@intel.com>
Signed-off-by: Raymond Danks <ray.danks@se-eng.com>
2012-11-26 16:21:15 -07:00