Command Parameter Description
The Software Porting Assessment tool helps you analyze the SO library files in the software installation path in the x86 environment and check whether these files are compatible with the Kunpeng platform.
Command Function
Displays all command parameters used for software porting assessment.
Syntax
devkit porting pkg-mig -h
Example
Run the following command to query the parameter descriptions of all commands.
devkit porting pkg-mig -h
The command output is as follows:
OVERVIEW
Run this command to scan and analyze software packages (non-source code packages) and installed software, and provides migration evaluation reports.
USAGE
devkit porting pkg-mig -i,--input path-to-package [-o,--output path-to-output] [-r,--report-type {all/json/html/csv}] [-l,--log-level {0/1/2/3} ] [--set-timeout time-limit-for-task] [-t,--target-os target-os]
OPTIONS
-i, --input INPUT_PATH
[Mandatory option] Specifies the path of the software package to be scanned.
-o, --output OUTPUT_PATH
Specify the path for storing the scan report and the file name. By default, the file is stored in the current path(pwd) and its name is in the format of function name_timestamp.
-t, --target-os {bclinux7.6,bclinux7.7,centos7.4,centos7.5,centos7.6,centos7.7,centos8.0,centos8.1,centos8.2,debian10,deepinv15.2,euleros2.8,isoft5.1,kylinv10sp1,kylinv10sp2,linxos6.0.90,linxos6.0.100,neokylinv7u5,neokylinv7u6,openeuler20.03,openeuler20.03sp1,openeuler20.03sp2,openeuler20.03sp3,openeuler22.03,susesles15.1,ubuntu18.04.x,ubuntu20.04.x,uos20-1020e,uos20sp1,uoseuler20,openeuler22.03sp3,uos20-1060e}
Specifies the target OS for migration. The default value is the operating system of the tool deployment node.
-l, --log-level {0,1,2,3}
Specifies the log level of the current task, 0(DEBUG) | 1(INFO) | 2(WARNING) | 3(ERROR). The default value is 1(INFO).
-r, --report-type {all,json,html,csv}
Specify the report type for the scan report. The default value is all.
--set-timeout <min>
Specifies the timeout period of a task. By default, the timeout period is not set.
EXAMPLE
# Scan a JAR Package and generate scanning reports.
devkit porting pkg-mig -i /home/porting/project.jar -t openeuler22.03
Parent topic: Software Porting Assessment