areusch commented on a change in pull request #8738: URL: https://github.com/apache/tvm/pull/8738#discussion_r697882277
########## File path: apps/microtvm/reference-vm/base-box-tool.py ########## @@ -226,18 +227,33 @@ def generate_packer_config(file_path, providers): def build_command(args): + this_dir = pathlib.Path(THIS_DIR) + base_box_dir = this_dir / args.platform / "base-box" + generate_packer_config( - os.path.join(THIS_DIR, args.platform, "base-box", PACKER_FILE_NAME), + os.path.join(base_box_dir, PACKER_FILE_NAME), args.provider or ALL_PROVIDERS, ) env = copy.copy(os.environ) - packer_args = ["packer", "build"] + packer_args = ["packer", "build", "-force"] Review comment: maybe we should just rm the artifacts ourselves rather than allowing packer vagrant builder choose how to proceed. wdyt? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@tvm.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org