Skip to contentSkip to conversation

install_linguas using public feed for locale package install?

DISCUSSION Martin Jansa 2 participants 3 messages May 13, 2010

lore
Share & tools
lore
#0 lore raw

Today I noticed that with every do_rootfs I see few downloads from my webserver (where is DISTRO_FEED_URI pointing).

I guess it's because install_linguas from image.bbclass.

Is there some special reason why it's not used from deploy/ipk directly? it's not problem here, but if public feed is not in sync with deploy/ipk it can be IMHO pretty bad (locale .ipk cannot be found or different version).

BTW: that's probably the reason I didn't get any locales available with last rebuild from scratch on shr buildhost (rsync to public feed started manually after image build) resulting in:
http://git.openembedded.org/cgit.cgi/openembedded/commit/?id=e38c2c1286f25518770d6c668dc43939476f312d

Regards,

Signature · 3 lines
uin:136542059                jid:[email protected]
Jansa Martin                 sip:[email protected] 
JaMa                         
#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 6 lines · Martin Jansa

Today I noticed that with every do_rootfs I see few downloads from my webserver (where is DISTRO_FEED_URI pointing).

I guess it's because install_linguas from image.bbclass.

Is there some special reason why it's not used from deploy/ipk directly?

This code was done in narcissus first, which and then copied to OE. The difficulty here is that when this runs, the OE generated opkg.conf is already gone. You can make it use the deploy/ipk feeds if you do the install_lingua step earlier, or add a -f to point to a different config file location.

Quoted 2 lines

it's not problem here, but if public feed is not in sync with deploy/ipk it can be IMHO pretty bad (locale .ipk cannot be found or different version).

Well, it keeps me honest :) It makes me notice public and private feed discrepancies a lot faster. But I agree that requiring internet access during do_rootfs is a bad thing.

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFL69EmMkyGM64RGpERAlXNAJ40+6RmlXq4HrVM9rA2MPlHfGxbcwCgmZFL svGHlGjBBd632Y032WBVruA=
=lBnV
-----END PGP SIGNATURE-----

#2 lore raw
Quoted 9 lines · Koen Kooi

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 5 lines · Martin Jansa

Today I noticed that with every do_rootfs I see few downloads from my webserver (where is DISTRO_FEED_URI pointing).

I guess it's because install_linguas from image.bbclass.

Quoted 7 lines
Quoted 1 line

Is there some special reason why it's not used from deploy/ipk directly?

This code was done in narcissus first, which and then copied to OE. The difficulty here is that when this runs, the OE generated opkg.conf is already gone. You can make it use the deploy/ipk feeds if you do the install_lingua step earlier, or add a -f to point to a different config file location.

OK, I'll send patch.

Quoted 6 lines
Quoted 2 lines

it's not problem here, but if public feed is not in sync with deploy/ipk it can be IMHO pretty bad (locale .ipk cannot be found or different version).

Well, it keeps me honest :) It makes me notice public and private feed discrepancies a lot faster. But I agree that requiring internet access during do_rootfs is a bad thing.

We sync after every build, but not between ie EFL upgrade and do_rootfs of image, when EFL upgrade is built as part of image dependencies. So we're also not so bad :).

Quoted 1 line

regards,

Regards,

Signature · 3 lines
uin:136542059                jid:[email protected]
Jansa Martin                 sip:[email protected] 
JaMa