mirror of
				https://github.com/dockur/windows.git
				synced 2025-10-27 03:15:49 +00:00 
			
		
		
		
	feat: Print system info to log (#400)
This commit is contained in:
		
							parent
							
								
									1f07402717
								
							
						
					
					
						commit
						60107560ba
					
				
					 1 changed files with 1 additions and 5 deletions
				
			
		|  | @ -21,13 +21,9 @@ cd /run | |||
| 
 | ||||
| trap - ERR | ||||
| 
 | ||||
| info "Booting $APP using $VERS..." | ||||
| info "Booting ${APP}${BOOT_DESC} on ${CPU} using QEMU v${VERS} with kernel $(uname -r)..." | ||||
| [[ "$DEBUG" == [Yy1]* ]] && echo "Arguments: $ARGS" && echo | ||||
| 
 | ||||
| if [[ "$CONSOLE" == [Yy]* ]]; then | ||||
|   exec qemu-system-x86_64 ${ARGS:+ $ARGS} | ||||
| fi | ||||
| 
 | ||||
| { qemu-system-x86_64 ${ARGS:+ $ARGS} >"$QEMU_OUT" 2>"$QEMU_LOG"; rc=$?; } || : | ||||
| (( rc != 0 )) && error "$(<"$QEMU_LOG")" && exit 15 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Kroese
						Kroese