How to update WPA_supplicant package in ltib for iMX6

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to update WPA_supplicant package in ltib for iMX6

ソリューションへジャンプ
2,613件の閲覧回数
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

ラベル(6)
タグ(1)
1 解決策
1,496件の閲覧回数
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

元の投稿で解決策を見る

4 返答(返信)
1,497件の閲覧回数
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,496件の閲覧回数
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 件の賞賛
返信
1,496件の閲覧回数
DarioCosta
Contributor II

Thanks for your reply.

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

Dario

0 件の賞賛
返信
1,496件の閲覧回数
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 件の賞賛
返信