automation/build: Fix command, improve explanation
PATCH 1/1 automation/build: Fix command, improve explanation
Fix the command to use shell syntax for environment variables.
Make it more explicite that the command make is going to modifie the current directory.
Also include an example of what a container is.
---
I'm attempted to change the short options by their long equivalent as it's often easier to understand a command we are not familiar with.
--- automation/build/README.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-)
automation/build/README.md +9 -5
@@ -19,12 +19,16 @@ Building Xen From the top level of the source tree it should be possible to run the following: -docker run --rm -it -v $(PWD):/build -u $(id -u) -e CC=gcc $(CONTAINER) make +docker run --rm -it -v $PWD:/build -u $(id -u) -e CC=gcc $CONTAINER make + +With for e.g.: + CONTAINER=registry.gitlab.com/xen-project/xen/debian:jessie + +This will mount your current directory inside the specified container and run +the `make` command. In other words, it will use your currently checked out +source tree to build with, ensure that file permissions remain consistent and +clean up after itself. -There are other modifications that can be made but this will run -the `make` command inside the specified container. It will use your -currently checked out source tree to build with, ensure that file -permissions remain consistent and clean up after itself. Building a container --------------------
Signature · 7 lines
Anthony PERARD _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 3 lines · Anthony PERARD
Fix the command to use shell syntax for environment variables.
Make it more explicite that the command
makeis going to modifie the
typo: explicit and modify.
Quoted 19 lines
current directory.
Also include an example of what a container is.
Signed-off-by Anthony PERARD <[email protected]>---
I'm attempted to change the short options by their long equivalent as it's often easier to understand a command we are not familiar with.
--- automation/build/README.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-)automation/build/README.md +0
-0
automation/build/README.md Building Xen · line 24
Quoted 7 lines
automation/build/README.md +3
-1@@ -19,12 +19,16 @@ Building Xen From the top level of the source tree it should be possible to run the following: -docker run --rm -it -v $(PWD):/build -u $(id -u) -e CC=gcc $(CONTAINER) make +docker run --rm -it -v $PWD:/build -u $(id -u) -e CC=gcc $CONTAINER make + +With for e.g.:
for example
If Doug is happy with this patch I can fix those up while committing; otherwise please resend with his comment(s) addressed.
Quoted 17 lines
automation/build/README.md +6
-4+ CONTAINER=registry.gitlab.com/xen-project/xen/debian:jessie + +This will mount your current directory inside the specified container and run +the `make` command. In other words, it will use your currently checked out +source tree to build with, ensure that file permissions remain consistent and +clean up after itself. -There are other modifications that can be made but this will run -the `make` command inside the specified container. It will use your -currently checked out source tree to build with, ensure that file -permissions remain consistent and clean up after itself. Building a container --------------------Signature · 1 line
Anthony PERARD
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel