How to update WPA_supplicant package in ltib for iMX6

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

How to update WPA_supplicant package in ltib for iMX6

跳至解决方案
2,546 次查看
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,429 次查看
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,430 次查看
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,429 次查看
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,429 次查看
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,429 次查看
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 项奖励
回复