mirror of
				https://github.com/ARM-software/devlib.git
				synced 2025-11-04 07:51:21 +00:00 
			
		
		
		
	target.py: Update default shell prompt
This commit is contained in:
		@@ -27,7 +27,7 @@ ANDROID_SCREEN_STATE_REGEX = re.compile('(?:mPowerState|mScreenOn|Display Power:
 | 
				
			|||||||
                                        re.IGNORECASE)
 | 
					                                        re.IGNORECASE)
 | 
				
			||||||
ANDROID_SCREEN_RESOLUTION_REGEX = re.compile(r'mUnrestrictedScreen=\(\d+,\d+\)'
 | 
					ANDROID_SCREEN_RESOLUTION_REGEX = re.compile(r'mUnrestrictedScreen=\(\d+,\d+\)'
 | 
				
			||||||
                                             r'\s+(?P<width>\d+)x(?P<height>\d+)')
 | 
					                                             r'\s+(?P<width>\d+)x(?P<height>\d+)')
 | 
				
			||||||
DEFAULT_SHELL_PROMPT = re.compile(r'^.*(shell|root)@.*:/\S* [#$] ',
 | 
					DEFAULT_SHELL_PROMPT = re.compile(r'^.*(shell|root|juno)@?.*:[/~]\S* *[#$] ',
 | 
				
			||||||
                                  re.MULTILINE)
 | 
					                                  re.MULTILINE)
 | 
				
			||||||
KVERSION_REGEX =re.compile(
 | 
					KVERSION_REGEX =re.compile(
 | 
				
			||||||
    r'(?P<version>\d+)(\.(?P<major>\d+)(\.(?P<minor>\d+)(-rc(?P<rc>\d+))?)?)?(.*-g(?P<sha1>[0-9a-fA-F]{7,}))?'
 | 
					    r'(?P<version>\d+)(\.(?P<major>\d+)(\.(?P<minor>\d+)(-rc(?P<rc>\d+))?)?)?(.*-g(?P<sha1>[0-9a-fA-F]{7,}))?'
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user