Skip to contentSkip to conversation

] repo: Add missing spaces in the configure cmdline for "xentools"

XSATOOL Julien Grall 2 participants 3 messages Jul 27, 2020 – Jul 28, 2020

lore
Share & tools
lore
#0 lore raw

From: Julien Grall <[email protected]>

The operator + will just concatenate two strings. As the result, the configure cmdline for "xentools" will look like:

./configure --disable-stubdom --disable-qemu-traditional--with-system-qemu=/bin/false --with-system-seabios=/bin/false--disable-ovmf

This can be avoided by explicitely adding the spaces.

---
 repo.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
repo.go +2 -2
index 1e7802f8142c..f00b7469101f 100644
@@ -139,8 +139,8 @@ func MainRepoInit(unused *XSAMeta, args []string) (ret int) {
 	G.config.Tool.BuildSequences = map[string]BuildSequence{
 		"simple": {"./configure", "make -j 8"},
 		"xen":    {"make -j 8 xen"},
-		"xentools": {"./configure --disable-stubdom --disable-qemu-traditional" +
-			"--with-system-qemu=/bin/false --with-system-seabios=/bin/false" +
+		"xentools": {"./configure --disable-stubdom --disable-qemu-traditional " +
+			"--with-system-qemu=/bin/false --with-system-seabios=/bin/false " +
 			"--disable-ovmf",
 			"make -j 8"},
 	}
Signature · 1 line
2.17.1
#1 lore raw

Hmmm I forgot to CC George. Sorry for that.

Quoted 30 lines · Julien Grall

From: Julien Grall <[email protected]>

The operator + will just concatenate two strings. As the result, the configure cmdline for "xentools" will look like:

./configure --disable-stubdom --disable-qemu-traditional--with-system-qemu=/bin/false --with-system-seabios=/bin/false--disable-ovmf

This can be avoided by explicitely adding the spaces.

---
  repo.go | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
repo.go +2 -2
index 1e7802f8142c..f00b7469101f 100644
@@ -139,8 +139,8 @@ func MainRepoInit(unused *XSAMeta, args []string) (ret int) {
  	G.config.Tool.BuildSequences = map[string]BuildSequence{
  		"simple": {"./configure", "make -j 8"},
  		"xen":    {"make -j 8 xen"},
-		"xentools": {"./configure --disable-stubdom --disable-qemu-traditional" +
-			"--with-system-qemu=/bin/false --with-system-seabios=/bin/false" +
+		"xentools": {"./configure --disable-stubdom --disable-qemu-traditional " +
+			"--with-system-qemu=/bin/false --with-system-seabios=/bin/false " +
  			"--disable-ovmf",
  			"make -j 8"},
  	}
Signature · 1 line
Julien Grall
Reviewed-by
#2 lore raw
Quoted 13 lines · Julien Grall

Hmmm I forgot to CC George. Sorry for that.

Quoted 6 lines · Julien Grall

From: Julien Grall <[email protected]>
The operator + will just concatenate two strings. As the result, the
configure cmdline for "xentools" will look like:
./configure --disable-stubdom --disable-qemu-traditional--with-system-qemu=/bin/false --with-system-seabios=/bin/false--disable-ovmf This can be avoided by explicitely adding the spaces.

Oops — thanks.