Skip to contentSkip to conversation

Migration 1.8 -> 2.0 opkg-cl missing in SDK

DISCUSSION mar.krzeminski 2 participants 5 messages Nov 25, 2015 – Nov 26, 2015

lore
Share & tools
lore
#0 lore raw

Hello,

After migrating from 1.8 to 2.0 opkg-cl is missing in SDK (sdk - is generated by bitbake meta-toolchain command). Manual clearly states that opkg-cl is still avaliable:
http://www.yoctoproject.org/docs/latest/adt-manual/adt-manual.html#configuring-the-pms
I can not find any instruction how to migrate PMS based on opkg in sdk in 2.0 release, so my question is what should I change to make opk running in SDK?
I am suspecting I need to replace opkg-cl with opkg, something more is needed?

Regards,
Marcin

#1 lore raw

Hi Marcin,

Quoted 9 lines · On Wednesday 25 November 2015 17:49:19 mar.krzeminski wrote:

After migrating from 1.8 to 2.0 opkg-cl is missing in SDK (sdk - is generated by bitbake meta-toolchain command).
Manual clearly states that opkg-cl is still avaliable:
http://www.yoctoproject.org/docs/latest/adt-manual/adt-manual.html#configuri
ng-the-pms I can not find any instruction how to migrate PMS based on opkg in sdk in 2.0 release, so my question is what should I change to make opk running in SDK?
I am suspecting I need to replace opkg-cl with opkg, something more is needed?

opkg-cl has been renamed to opkg in opkg 0.3.0 (which was included in our 2.0 release). Probably something we ought to have noted in the 2.0 migration guide.

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
#2 lore raw

Hi Paul,

Thanks for clarification.

Regards,
Marcin

W dniu 25.11.2015 o 20:04, Paul Eggleton pisze:

Quoted 19 lines

Hi Marcin,

Quoted 9 lines · On Wednesday 25 November 2015 17:49:19 mar.krzeminski wrote:

After migrating from 1.8 to 2.0 opkg-cl is missing in SDK (sdk - is generated by bitbake meta-toolchain command).
Manual clearly states that opkg-cl is still avaliable:
http://www.yoctoproject.org/docs/latest/adt-manual/adt-manual.html#configuri
ng-the-pms I can not find any instruction how to migrate PMS based on opkg in sdk in 2.0 release, so my question is what should I change to make opk running in SDK?
I am suspecting I need to replace opkg-cl with opkg, something more is needed?

opkg-cl has been renamed to opkg in opkg 0.3.0 (which was included in our 2.0 release). Probably something we ought to have noted in the 2.0 migration guide.

Cheers,
Paul

#3 lore raw

Hello again,

Changed opkg-cl to opkg in my scripts, all started to work but warning is showing for every file in package:
Warning when extracting archive entry: Can't set UID=0 Messages cames from archiver, so two things could be wrong: unpcaking options or generating ipk options.
Do you know haw can I fix this warning?

Regards,
Marcin

2015-11-25 20:11 GMT+01:00 mar.krzeminski <[email protected]>:

Quoted 35 lines

Hi Paul,

Thanks for clarification.

Regards,
Marcin

W dniu 25.11.2015 o 20:04, Paul Eggleton pisze:

Quoted 25 lines

Hi Marcin,

Quoted 4 lines · On Wednesday 25 November 2015 17:49:19 mar.krzeminski wrote:

After migrating from 1.8 to 2.0 opkg-cl is missing in SDK (sdk - is generated by bitbake meta-toolchain command).
Manual clearly states that opkg-cl is still avaliable:

Quoted 8 lines

http://www.yoctoproject.org/docs/latest/adt-manual/adt-manual.html#configuri
ng-the-pms I can not find any instruction how to migrate PMS based on opkg
in sdk in 2.0 release, so my question is what should I change to make opk running in SDK?
I am suspecting I need to replace opkg-cl with opkg, something more is needed?

opkg-cl has been renamed to opkg in opkg 0.3.0 (which was included in our 2.0
release). Probably something we ought to have noted in the 2.0 migration guide.

Cheers,
Paul

#4 lore raw

Ok, there is a patch for opk that adds option to ignore UIDs.
http://git.yoctoproject.org/cgit/cgit.cgi/opkg/patch/libopkg/opkg_conf.c?id=fff984ba1e9070b8e6a5d40a61e5f4f018b1aeb2
I will add this to my layer.

Thanks,
Marcin

2015-11-26 10:47 GMT+01:00 Marcin Krzemiński <[email protected]>:

Quoted 53 lines

Hello again,

Changed opkg-cl to opkg in my scripts, all started to work but warning is showing for every file in package:
Warning when extracting archive entry: Can't set UID=0 Messages cames from archiver, so two things could be wrong: unpcaking options or generating ipk options.
Do you know haw can I fix this warning?

Regards,
Marcin

2015-11-25 20:11 GMT+01:00 mar.krzeminski <[email protected]>:

Quoted 35 lines

Hi Paul,

Thanks for clarification.

Regards,
Marcin

W dniu 25.11.2015 o 20:04, Paul Eggleton pisze:

Quoted 25 lines

Hi Marcin,

Quoted 4 lines · On Wednesday 25 November 2015 17:49:19 mar.krzeminski wrote:

After migrating from 1.8 to 2.0 opkg-cl is missing in SDK (sdk - is generated by bitbake meta-toolchain command).
Manual clearly states that opkg-cl is still avaliable:

Quoted 8 lines

http://www.yoctoproject.org/docs/latest/adt-manual/adt-manual.html#configuri
ng-the-pms I can not find any instruction how to migrate PMS based on opkg
in sdk in 2.0 release, so my question is what should I change to make opk running in SDK?
I am suspecting I need to replace opkg-cl with opkg, something more is needed?

opkg-cl has been renamed to opkg in opkg 0.3.0 (which was included in our 2.0
release). Probably something we ought to have noted in the 2.0 migration guide.

Cheers,
Paul