forked from openkylin/platform_build
Merge "Allow ro. properties to have arbitrary lengths"
am: 1d6e8e31d0
Change-Id: I4a3872a59ba39289bf58741e19ca05b9b9c7bbee
This commit is contained in:
commit
47b3003e9b
|
@ -64,7 +64,7 @@ def validate(prop):
|
|||
buildprops = prop.to_dict()
|
||||
for key, value in buildprops.iteritems():
|
||||
# Check build properties' length.
|
||||
if len(value) > PROP_VALUE_MAX:
|
||||
if len(value) > PROP_VALUE_MAX and not key.startswith("ro."):
|
||||
check_pass = False
|
||||
sys.stderr.write("error: %s cannot exceed %d bytes: " %
|
||||
(key, PROP_VALUE_MAX))
|
||||
|
|
Loading…
Reference in New Issue