wpa-supplicant: Split recipe
PATCH v2 11/17 wpa-supplicant: Split recipe
* Split recipe to allow multiple versions of wpa-supplicant to exist.
* Rename recipe to match the actual version of the TI modified wpa-supplicant.
* Update recipe's bbappend
---
Version 2 changes:
Remove "-" from recipe PR_append
Removed references to kill_wpa_supplicant
Add LICENSE field back to common .inc
Add rename of bbappend to this patch.
....bbappend => wpa-supplicant_r5.sp4.01.bbappend} | 0
.../defconfig | 0
.../wpa-supplicant/wpa-supplicant.inc | 113 ++++++++++++++++++
.../wpa-supplicant/kill_wpa_supplicant.sh | 9 --
.../wpa-supplicant/wpa-supplicant_git.bb | 120 --------------------
.../wpa-supplicant/wpa-supplicant_r5.sp4.01.bb | 12 ++
6 files changed, 125 insertions(+), 129 deletions(-)
rename meta-arago-distro/recipes-connectivity/wpa-supplicant/{wpa-supplicant_git.bbappend => wpa-supplicant_r5.sp4.01.bbappend} (100%)
rename meta-arago-extras/recipes-connectivity/wpa-supplicant/{wpa-supplicant => wpa-supplicant-r5.sp4.01}/defconfig (100%)
create mode 100644 meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc
delete mode 100644 meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant/kill_wpa_supplicant.sh
delete mode 100644 meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_git.bb
create mode 100644 meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_r5.sp4.01.bbmeta-arago-distro/recipes-connectivity/wpa-supplicant/wpa-supplicant_r5.sp4.01.bbappend renamed from meta-arago-distro/recipes-connectivity/wpa-supplicant/wpa-supplicant_git.bbappend +0 -0
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-r5.sp4.01/defconfig renamed from meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant/defconfig +0 -0
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc new file +113 -0
113 lines not on this page · raw message
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant/kill_wpa_supplicant.sh deleted +0 -9
@@ -1,9 +0,0 @@ -#check if the wpa_suppicant is already running -#if it does, stop it. -StationRunning=`ps | grep -c wpa_supplicant` -if [ $StationRunning -eq 2 ]; then - killall wpa_supplicant -fi - -# start the application -$*
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_git.bb deleted +0 -120
120 lines not on this page · raw message
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_r5.sp4.01.bb new file +12 -0
@@ -0,0 +1,12 @@ +# This is a TI specific version of the wpa-supplicant recipe for use with the +# wl12xx wlan and bluetooth module. + +require wpa-supplicant.inc + +LIC_FILES_CHKSUM = "file://../COPYING;md5=ab87f20cd7e8c0d0a6539b34d3791d0e \ + file://../README;md5=5cb758942d25f6f61fd4ac388fd446fa \ + file://wpa_supplicant.c;beginline=1;endline=17;md5=8835156c8ab8cad6356ec7f39ebe3aba" + + +SRCREV = "ol_R5.SP4.01" +PR_append = "a+gitr${SRCPV}"
Signature · 1 line
1.7.0.4
PATCH v2 17/17 arago.conf: Set PREFERRED_VERSIONs for Wilink 6 recipes
* Currently two versions of Wilink 6 need to be supported.
* The latest version supports the PG 3 wilink 6 module which is the version that comes with the am37x-evm and am335x-evm .
* An older version supports the PG 2 wilink 6 module which is the version that comes with the am180x-evm.
* Specifying the PREFERRED_VERSION to match this requirement.
---
Version 2 changes:
None. Apart of new patchset.
meta-arago-distro/conf/distro/arago.conf | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-)
meta-arago-distro/conf/distro/arago.conf +17 -0
@@ -105,6 +105,23 @@ PREFERRED_VERSION_bluez-hcidump = "2.2" PREFERRED_VERSION_bash = "3.2.48" PREFERRED_VERSION_gettext = "0.16.1" +# Support Wilink 6 PG 3 modules +PREFERRED_VERSION_ti-compat-bluetooth = "r5.sp3.05" +PREFERRED_VERSION_ti-compat-wireless-wl12xx = "r5.sp4.01" +PREFERRED_VERSION_wl12xx-firmware = "r5.sp4.01" +PREFERRED_VERSION_wpa-supplicant = "r5.sp4.01" +PREFERRED_VERSION_hostap-daemon = "r5.sp4.01" +PREFERRED_VERSION_ti-wifi-utils = "r5.sp3.05" + +# Support Wilink 6 PG 2 modules +# By default am180x-evms come with an outdated wilink 6 module +PREFERRED_VERSION_ti-compat-bluetooth_am180x-evm = "r5.00.18" +PREFERRED_VERSION_ti-compat-wireless-wl12xx_am180x-evm = "r5.00.18" +PREFERRED_VERSION_wl12xx-firmware_am180x-evm = "r5.00.18" +PREFERRED_VERSION_wpa-supplicant_am180x-evm = "r5.00.18" +PREFERRED_VERSION_hostap-daemon_am180x-evm = "r5.00.18" +PREFERRED_VERSION_ti-wifi-utils_am180x-evm = "r5.00.18" + # Disable polkit's systemd configuration from meta-oe POLKITAUTH = ""
Signature · 1 line
1.7.0.4
Re: [PATCH 17/17 v2] arago.conf: Set PREFERRED_VERSIONs for Wilink 6 recipes
Quoted 29 lines · Franklin S. Cooper Jr
* Currently two versions of Wilink 6 need to be supported.
* The latest version supports the PG 3 wilink 6 module which is the version that comes with the am37x-evm and am335x-evm .
* An older version supports the PG 2 wilink 6 module which is the version that comes with the am180x-evm.
* Specifying thePREFERRED_VERSIONto match this requirement.Signed-off-by Franklin S. Cooper Jr <[email protected]>---
Version 2 changes:
None. Apart of new patchset.meta-arago-distro/conf/distro/arago.conf | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-)meta-arago-distro/conf/distro/arago.conf +6
-0@@ -105,6 +105,23 @@ PREFERRED_VERSION_bluez-hcidump = "2.2" PREFERRED_VERSION_bash = "3.2.48" PREFERRED_VERSION_gettext = "0.16.1" +# Support Wilink 6 PG 3 modules +PREFERRED_VERSION_ti-compat-bluetooth = "r5.sp3.05" +PREFERRED_VERSION_ti-compat-wireless-wl12xx = "r5.sp4.01" +PREFERRED_VERSION_wl12xx-firmware = "r5.sp4.01" +PREFERRED_VERSION_wpa-supplicant = "r5.sp4.01" +PREFERRED_VERSION_hostap-daemon = "r5.sp4.01"
meta-arago-distro/conf/distro/arago.conf PREFERRED_VERSION_bluez-hcidump = "2.2" · line 123
Quoted 10 lines
meta-arago-distro/conf/distro/arago.conf +10
-0+PREFERRED_VERSION_ti-wifi-utils = "r5.sp3.05" + +# Support Wilink 6 PG 2 modules +# By default am180x-evms come with an outdated wilink 6 module +PREFERRED_VERSION_ti-compat-bluetooth_am180x-evm = "r5.00.18" +PREFERRED_VERSION_ti-compat-wireless-wl12xx_am180x-evm = "r5.00.18" +PREFERRED_VERSION_wl12xx-firmware_am180x-evm = "r5.00.18" +PREFERRED_VERSION_wpa-supplicant_am180x-evm = "r5.00.18" +PREFERRED_VERSION_hostap-daemon_am180x-evm = "r5.00.18" +PREFERRED_VERSION_ti-wifi-utils_am180x-evm = "r5.00.18"
Ok, I've been thinking about this versioning model for some time - it's quite ambiguous and can be a source of all kind of sorting problems. Here you set preferred versions, which is good for the build. But from a package manager it's unclear which one is preferred, moreover, if one is a clear upgrade path for the other, or not... So, basically, there will be problems in the field with this split and versioning of those packages. But I'm not sure if there's a better way to handle this exception.
Signature · 1 line
Denys
Quoted 10 lines
meta-arago-distro/conf/distro/arago.conf +0
-0# Disable polkit's systemd configuration from meta-oe POLKITAUTH = ""Signature · 6 lines
1.7.0.4 _______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: [PATCH 17/17 v2] arago.conf: Set PREFERRED_VERSIONs for Wilink 6 recipes
Quoted 41 lines · Denys Dmytriyenko
Quoted 29 lines · Franklin S. Cooper Jr
* Currently two versions of Wilink 6 need to be supported.
* The latest version supports the PG 3 wilink 6 module which is the version that comes with the am37x-evm and am335x-evm .
* An older version supports the PG 2 wilink 6 module which is the version that comes with the am180x-evm.
* Specifying thePREFERRED_VERSIONto match this requirement.Signed-off-by Franklin S. Cooper Jr <[email protected]>---
Version 2 changes:
None. Apart of new patchset.meta-arago-distro/conf/distro/arago.conf | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-)meta-arago-distro/conf/distro/arago.conf +6
-0@@ -105,6 +105,23 @@ PREFERRED_VERSION_bluez-hcidump = "2.2" PREFERRED_VERSION_bash = "3.2.48" PREFERRED_VERSION_gettext = "0.16.1" +# Support Wilink 6 PG 3 modules +PREFERRED_VERSION_ti-compat-bluetooth = "r5.sp3.05" +PREFERRED_VERSION_ti-compat-wireless-wl12xx = "r5.sp4.01" +PREFERRED_VERSION_wl12xx-firmware = "r5.sp4.01" +PREFERRED_VERSION_wpa-supplicant = "r5.sp4.01" +PREFERRED_VERSION_hostap-daemon = "r5.sp4.01"meta-arago-distro/conf/distro/arago.conf PREFERRED_VERSION_bluez-hcidump = "2.2" · line 123
Quoted 10 lines
meta-arago-distro/conf/distro/arago.conf +10
-0+PREFERRED_VERSION_ti-wifi-utils = "r5.sp3.05" + +# Support Wilink 6 PG 2 modules +# By default am180x-evms come with an outdated wilink 6 module +PREFERRED_VERSION_ti-compat-bluetooth_am180x-evm = "r5.00.18" +PREFERRED_VERSION_ti-compat-wireless-wl12xx_am180x-evm = "r5.00.18" +PREFERRED_VERSION_wl12xx-firmware_am180x-evm = "r5.00.18" +PREFERRED_VERSION_wpa-supplicant_am180x-evm = "r5.00.18" +PREFERRED_VERSION_hostap-daemon_am180x-evm = "r5.00.18" +PREFERRED_VERSION_ti-wifi-utils_am180x-evm = "r5.00.18"
Quoted 7 lines
Ok, I've been thinking about this versioning model for some time - it's quite ambiguous and can be a source of all kind of sorting problems. Here you set preferred versions, which is good for the build. But from a package manager it's unclear which one is preferred, moreover, if one is a clear upgrade path for the other, or not... So, basically, there will be problems in the field with this split and versioning of those packages. But I'm not sure if there's a better way to handle this exception.
And another potential problem I see is that none of those packages are marked as machine-specific. In case there are other armv5te machines in the build, there will be a conflict between packages...
Signature · 1 line
Denys