| Index: chromeos_interface.py
|
| diff --git a/chromeos_interface.py b/chromeos_interface.py
|
| index 2db0a1aeb96b3b06fa559a85ce182509318b63a0..fe5b76e01ad38275b51804b5f548606b838e64c8 100755
|
| --- a/chromeos_interface.py
|
| +++ b/chromeos_interface.py
|
| @@ -59,7 +59,8 @@ class ChromeOSInterface(object):
|
|
|
| def target_hosted(self):
|
| '''Return True if running on a ChromeOS target.'''
|
| - return 'chromeos' in open('/proc/version_signature', 'r').read()
|
| + signature = open('/proc/version_signature', 'r').read()
|
| + return re.search(r'chrom(ium|e)os', signature, re.IGNORECASE) != None
|
|
|
| def state_dir_file(self, file_name):
|
| '''Get a full path of a file in the state directory.'''
|
|
|