Skip to content

Commit

Permalink
docker: build petitboot outside of the source dir
Browse files Browse the repository at this point in the history
Ensure that srcdir != builddir builds will keep working.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
  • Loading branch information
jk-ozlabs committed Jan 25, 2020
1 parent 9383652 commit 9cf513f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/build-pb
Expand Up @@ -137,4 +137,4 @@ cd "${TOP_DIR}"
docker_args="${docker_base_args} ${docker_user_args}"
run_cmd "docker run ${docker_args} ${DOCKER_TAG} /bin/bash \
-e ${bash_debug} \
-c './bootstrap && ${flags} ./configure ${configure_opts[@]} && ${makecmd} && ${docker_extra}'"
-c './bootstrap && d=\$(mktemp -d) && cd \$d && ${flags} /opt/pb/configure ${configure_opts[@]} && ${makecmd} && ${docker_extra}'"

0 comments on commit 9cf513f

Please sign in to comment.