[OE-core] [PATCH 2/2] opkg-utils: Allow uppercase lettlers in package names

Koen Kooi koen at dominion.thruhere.net
Fri May 20 15:06:46 UTC 2011


Op 20 mei 2011, om 17:01 heeft Phil Blundell het volgende geschreven:

> On Fri, 2011-05-20 at 07:45 +0100, Phil Blundell wrote:
>> On Thu, 2011-05-19 at 14:09 -0700, Khem Raj wrote:
>>> Some packages have uppercase letters in their names e.g.
>>> efikamx kernel. We allow uppercase character with
>>> uppercase-letters.patch
>> 
>> This is not a good idea.  Uppercase characters have never been permitted
>> in .deb/.ipk. 
>> 
>> Isn't legitimize_package_name() crunching them to lower case for you?
>> If not then I think it should be made to do that.
> 
> I just checked the code and it certainly looks like it should be doing
> that:
> 
> 	# Remaining package name validity fixes
> 	return s.lower().replace('_', '-').replace('@', '+').replace(',', '+').replace('/', '-')
> 
> So if that isn't working for you then I think it needs a bit of
> debugging.

Does that run on PV or PN? I think Khem has weird things in PV



More information about the Openembedded-core mailing list