[oe] [oe-commits] Saul Wold : busybox: Add check for wifi/bluetooth to enable rfkill

Martin Jansa martin.jansa at gmail.com
Mon Jun 18 14:03:20 UTC 2012


On Fri, Jun 15, 2012 at 02:12:52PM +0000, git at git.openembedded.org wrote:
> Module: openembedded-core.git
> Branch: master
> Commit: f71258f0ef96802e714b6f12ecc8c17842d6cf87
> URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=f71258f0ef96802e714b6f12ecc8c17842d6cf87
> 
> Author: Saul Wold <sgw at linux.intel.com>
> Date:   Wed Jun  6 00:27:14 2012 -0700
> 
> busybox: Add check for wifi/bluetooth to enable rfkill
> 
> rfkill is a usefull tool when you have a device with bluetooth and wifi enabled

this breaks opkg upgrade if standalone rfkill is already installed:

Configuring busybox.
ln: /usr/sbin/rfkill: File exists
...
update-alternatives: Error: not linking //usr/sbin/rfkill to
../../bin/busybox since //usr/sbin/rfkill exists and is not a link

so rfkill recipe in meta-oe
./meta-oe/recipes-connectivity/rfkill/rfkill_0.4.bb
needs to be updated to use u-a too.

Cheers,

> 
> [YOCTO #2494]
> 
> Signed-off-by: Saul Wold <sgw at linux.intel.com>
> 
> ---
> 
>  meta/recipes-core/busybox/busybox.inc |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/meta/recipes-core/busybox/busybox.inc b/meta/recipes-core/busybox/busybox.inc
> index 5b83d32..db337ad 100644
> --- a/meta/recipes-core/busybox/busybox.inc
> +++ b/meta/recipes-core/busybox/busybox.inc
> @@ -57,6 +57,8 @@ def features_to_busybox_settings(d):
>  	busybox_cfg('nls',  distro_features, 'CONFIG_LOCALE_SUPPORT', cnf, rem)
>  	busybox_cfg('ipv4', distro_features, 'CONFIG_FEATURE_IFUPDOWN_IPV4', cnf, rem)
>  	busybox_cfg('ipv6', distro_features, 'CONFIG_FEATURE_IFUPDOWN_IPV6', cnf, rem)
> +	busybox_cfg('wifi', distro_features, 'CONFIG_RFKILL', cnf, rem)
> +	busybox_cfg('bluetooth', distro_features, 'CONFIG_RFKILL', cnf, rem)
>  	return "\n".join(cnf), "\n".join(rem)
>  
>  # X, Y = ${@features_to_uclibc_settings(d)}
> 
> 
> _______________________________________________
> Openembedded-commits mailing list
> Openembedded-commits at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-commits

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20120618/adb9c51a/attachment-0002.sig>


More information about the Openembedded-devel mailing list