]> code.ossystems Code Review - openembedded-core.git/commit
resulttool/manualexecution: Enable configuration options selection
authorYeoh Ee Peng <ee.peng.yeoh@intel.com>
Tue, 9 Apr 2019 05:53:07 +0000 (13:53 +0800)
committerArmin Kuster <akuster808@gmail.com>
Sat, 13 Apr 2019 20:23:27 +0000 (13:23 -0700)
commit4c6bac8453768cab9c416c012019ead5edeaafa5
treee18586388490c1cc68bf4bfa8d2bc02a6edee624
parentad29465ccb9fea2622aa2ef8c7118a0deae829a2
resulttool/manualexecution: Enable configuration options selection

Current manualexecution required user to input configuration manually
where there were inconsistent inputs and human typo issues.

Enable manualexecution to have the optional feature where it
will use pre-compiled configuration options file where user will
be able to select configuration from the pre-compiled list instead
of manual key-in the configuration. This will eliminate human error.

Expect the pre-compiled configuration options file in json format below

{
    "bsps-hw": {
        "IMAGE_BASENAME": {
            "1": "core-image-sato-sdk"
        },
        "MACHINE": {
            "1": "beaglebone-yocto",
            "2": "edgerouter",
            "3": "mpc8315e-rdb",
            "4": "genericx86",
            "5": "genericx86-64"
        }
    },
    "bsps-qemu": {
        "IMAGE_BASENAME": {
            "1": "core-image-sato-sdk"
        },
        "MACHINE": {
            "1": "qemuarm",
            "2": "qemuarm64",
            "3": "qemumips",
            "4": "qemumips64",
            "5": "qemuppc",
            "6": "qemux86",
            "7": "qemux86-64"
        }
    }
}

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
scripts/lib/resulttool/manualexecution.py