[OE-core] [PATCH 1/1] kernel.bbclass: remove default module_autoload and module_conf values
Darren Hart
dvhart at linux.intel.com
Fri Jul 27 22:39:14 UTC 2012
On 07/26/2012 11:04 AM, Bruce Ashfield wrote:
> kernel.bbclass is a common class for many different kernel versions,
> and as such the default module_autoload and module_conf values that
> it contains are not relevant, or out of date for most builds.
>
> Individual kernel recipes or distros can better specify these
> values to meet their needs.
>
> Signed-off-by: Bruce Ashfield <bruce.ashfield at windriver.com>
This makes sense to me. None of the below are likely to prevent boot and
seem to be more along the lines of MACHINE policy.
--
Darren
> ---
> meta/classes/kernel.bbclass | 19 -------------------
> 1 files changed, 0 insertions(+), 19 deletions(-)
>
> diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
> index ab984e3..c647e9b 100644
> --- a/meta/classes/kernel.bbclass
> +++ b/meta/classes/kernel.bbclass
> @@ -293,25 +293,6 @@ if [ x"$D" = "x" ]; then
> fi
> }
>
> -# autoload defaults (alphabetically sorted)
> -module_autoload_hidp = "hidp"
> -module_autoload_ipv6 = "ipv6"
> -module_autoload_ipsec = "ipsec"
> -module_autoload_ircomm-tty = "ircomm-tty"
> -module_autoload_rfcomm = "rfcomm"
> -module_autoload_sa1100-rtc = "sa1100-rtc"
> -# sa1100-rtc was renamed in 2.6.23 onwards
> -module_autoload_rtc-sa1100 = "rtc-sa1100"
> -
> -# alias defaults (alphabetically sorted)
> -module_conf_af_packet = "alias net-pf-17 af_packet"
> -module_conf_bluez = "alias net-pf-31 bluez"
> -module_conf_bnep = "alias bt-proto-4 bnep"
> -module_conf_hci_uart = "alias tty-ldisc-15 hci_uart"
> -module_conf_l2cap = "alias bt-proto-0 l2cap"
> -module_conf_sco = "alias bt-proto-2 sco"
> -module_conf_rfcomm = "alias bt-proto-3 rfcomm"
> -
> python populate_packages_prepend () {
> def extract_modinfo(file):
> import tempfile, re, subprocess
>
--
Darren Hart
Intel Open Source Technology Center
Yocto Project - Technical Lead - Linux Kernel
More information about the Openembedded-core
mailing list