automation: program to call low-level scripts for variant
new_variant.py will call all of the low-level scripts that create the
pieces of a new variant of an existing base board. In addition to
calling the scripts, it will run builds to verify that the output
of all the scripts is correct.
When the script finishes, there are several git commits ready for
repo upload (or push to coreboot.org HEAD:refs/for/master) to
complete the creation of a new variant.
TEST=`./new_variant.py --board=hatch --variant=sushi --bug=b:12345`
When the script exits with a prompt to run gen_fit_image.sh outside
the chroot, follow the instructions. Resume with
`./new_variant.py --continue` inside the chroot.
When the script is finished, use `repo branch` to see that there
is a "coreboot_sushi_<YYYYMMDD>" branch for coreboot, and a
"create_sushi_<YYYYMMDD>" branch for the following repos:
Use `git show` to examine the changes that will be made in each
of the commits.
Tested-by: Paul Fagerburg <firstname.lastname@example.org>
Reviewed-by: Justin TerAvest <email@example.com>
4 files changed