Skip to contentSkip to conversation

Saul Wold : busybox: Add check for wifi/bluetooth to enable rfkill

oe-commits Martin Jansa 1 participant 1 message Jun 18, 2012 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 20120615141252.7DBDA10339@opal

#1 lore raw
Quoted 11 lines · On Fri, Jun 15, 2012 at 02:12:52PM +0000, [email protected] 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 <[email protected]>
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,

Quoted 29 lines

[YOCTO #2494]

---

 meta/recipes-core/busybox/busybox.inc |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
meta/recipes-core/busybox/busybox.inc +2 -0
index 5b83d32..db337ad 100644
@@ -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
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-commits

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]