packer: build-image should run in the build directory

Specifically, right now I'm building board definitions from the
packer-builder-arm repo, so the script should run from there.
This commit is contained in:
Kyle Isom 2023-04-11 15:55:32 -07:00
parent 2932f593a0
commit 412cc5f22f
1 changed files with 1 additions and 0 deletions

1
packer/build-image.sh Normal file → Executable file
View File

@ -33,5 +33,6 @@ preflight () {
} }
build_image () { build_image () {
cd build/packer-builder-arm
packer build ${PACKER_BUILD_FILE} packer build ${PACKER_BUILD_FILE}
} }