How to update WPA_supplicant package in ltib for iMX6

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to update WPA_supplicant package in ltib for iMX6

Jump to solution
2,232 Views
DarioCosta
Contributor II

Hi All,

I'm trying to update the spa_supplicant package included in ltib, because I see that it's an old package 0.5.9 and now the release is 2.0.

Could someone help me?

I try to put the spa_supplicant-2.0.tar.gz package in /opt/freescale/pkgs and change the spec to point to it, but ltib crash in compilation.

Thanks a lot for the help

Dario

Labels (6)
Tags (1)
1 Solution
1,115 Views
DarioCosta
Contributor II

Found the solution: I had to add 'cd wpa_supplicant' in wpa_supplicant.spec file here:

%Build

#aggiunto per v2.0

cd wpa_supplicant

and

%Install

#aggiunto per v2.0

cd wpa_supplicant

This is because the structure of the new package is different from the old one.

Regards

Dario

View solution in original post

4 Replies
1,116 Views
DarioCosta
Contributor II

Found the solution: I had to add 'cd wpa_supplicant' in wpa_supplicant.spec file here:

%Build

#aggiunto per v2.0

cd wpa_supplicant

and

%Install

#aggiunto per v2.0

cd wpa_supplicant

This is because the structure of the new package is different from the old one.

Regards

Dario

1,115 Views
LeonardoSandova
Specialist I

Most of the times, when updating a package it is not enough to just change the version. You can either jump to the LTIB console, follow the spec tasks manually, and see if things go well OR try Yocto, the package is already there as seen in the following find's log

./meta-openembedded/meta-systemd/oe-core/recipes-connectivity/wpa-supplicant

./meta-openembedded/meta-systemd/oe-core/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.0.bbappend

./poky/meta/recipes-connectivity/wpa-supplicant

./poky/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-2.0.inc

./poky/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.0.bb

./poky/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant

./poky/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/wpa_supplicant.conf

./poky/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/wpa-supplicant.sh

./poky/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/99_wpa_supplicant

./poky/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/wpa_supplicant.conf-sane

b42214@vfae-server:~/fsl/yocto/fsl-community-bsp-dylan/sources$


Leo

0 Kudos
1,115 Views
DarioCosta
Contributor II

Thanks for your reply.

Could you please explain me how to work with the LTIB console to check this?

Dario

0 Kudos
1,115 Views
LeonardoSandova
Specialist I

A bit late but to jump to the console, just run ./ltib -m shell assuming that you have prepare (./ltib -m prep), move to the corresponding BUILD folder (rpm/BUILD/wpa...) then follow the tasks manually ( For example, ./configure && make & make install). Nice that you found a solution. Leo

0 Kudos