acrn-config: modify rootfs tag in board information

1. grap 'ext4' rootfs, and store it as "BLOCK_DEVICE_INFO" tag
2. remove 'Tab' from app tools
3. add support to parse ' ' from scenario xml

v1-v2:
    1). modify the board info "ROOT_DEVICE_INFO" -> "BLOCK_DEVICE_INFO"

Tracked-On: #3602
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Terry Zou <terry.zou@intel.com>
This commit is contained in:
Wei Liu
2019-09-18 09:09:24 +08:00
committed by wenlingz
parent 3ebeecf060
commit 911be1d3b6
11 changed files with 104 additions and 41 deletions

View File

@@ -160,12 +160,12 @@ def dump_system_ram(config):
print("", file=config)
def dump_root_dev(config):
"""This will get available root device
def dump_block_dev(config):
"""This will get available block device
:param config: file pointer that opened for writing board config information
"""
cmd = 'blkid'
desc = 'ROOT_DEVICE_INFO'
desc = 'BLOCK_DEVICE_INFO'
parser_lib.dump_execute(cmd, desc, config)
print("", file=config)
@@ -230,7 +230,7 @@ def generate_info(board_info):
dump_system_ram(config)
dump_root_dev(config)
dump_block_dev(config)
dump_ttys(config)