Skip to contentSkip to conversation

Docker patches

GIT PULL Applied Fam Zheng 2 participants 4 messages Jun 4, 2018

lore
Share & tools
lore

Fam Zheng

author
#0 lore raw

The following changes since commit 392fba9f583223786f844dce9b2e7f9a0ce0147a:

Merge remote-tracking branch 'remotes/stsquad/tags/pull-travis-updates-010618-1' into staging (2018-06-01 17:32:30 +0100)

are available in the Git repository at:

git://github.com/famz/qemu.git tags/docker-pull-request

for you to fetch changes up to 63dba573fa65bf830ec3f78a8f3a6b0697ce1637:

docker: Update fedora image to 28 (2018-06-04 14:39:18 +0800)

----------------------------------------------------------------

Hi Peter,

One improvement from Alex and one patch to track the Fedora latest release.

----------------------------------------------------------------

Alex Bennée (1):
tests/docker/Makefile.include: handle empty TARGET_LIST

Fam Zheng (1):
docker: Update fedora image to 28

 rules.mak                              | 3 +++
 tests/docker/Makefile.include          | 2 +-
 tests/docker/dockerfiles/fedora.docker | 2 +-
 3 files changed, 5 insertions(+), 2 deletions(-)
Signature · 1 line
2.17.0
author
#1 lore raw

[Qemu-devel] [PULL 1/2] tests/docker/Makefile.include: handle empty TARGET_LIST

From: Alex Bennée <[email protected]>

If the user doesn't specify a TARGET_LIST they get the current configuration but with spaces and hilarity ensues. This adds some make magic to turn the TARGET_LIST back into a comma separated list.

Message-Id: <[email protected]>

---
 rules.mak                     | 3 +++
 tests/docker/Makefile.include | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)
rules.mak +3 -0
index 04c7f74d07..bbb2667928 100644
@@ -1,4 +1,7 @@
 
+# These are used when we want to do substitutions without confusing Make
+NULL  :=
+SPACE := $(NULL) #
 COMMA := ,
 
 # Don't use implicit rules or variables
tests/docker/Makefile.include +1 -1
index 31f21a43f5..9d5749887a 100644
@@ -140,7 +140,7 @@ docker-run: docker-qemu-src
 			$(if $V,,--rm) 					\
 			$(if $(DEBUG),-ti,)				\
 			$(if $(NETWORK),$(if $(subst $(NETWORK),,1),--net=$(NETWORK)),--net=none) \
-			-e TARGET_LIST=$(TARGET_LIST) 			\
+			-e TARGET_LIST=$(subst $(SPACE),$(COMMA),$(TARGET_LIST))	\
 			-e EXTRA_CONFIGURE_OPTS="$(EXTRA_CONFIGURE_OPTS)" \
 			-e V=$V -e J=$J -e DEBUG=$(DEBUG)		\
 			-e SHOW_ENV=$(SHOW_ENV) 			\
Signature · 1 line
2.17.0
author
#2 lore raw

[Qemu-devel] [PULL 2/2] docker: Update fedora image to 28

In reply to Fam Zheng

Message-Id: <[email protected]>

---
 tests/docker/dockerfiles/fedora.docker | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/docker/dockerfiles/fedora.docker +1 -1
index b706f42405..65d7761cf5 100644
@@ -1,4 +1,4 @@
-FROM fedora:27
+FROM fedora:28
 ENV PACKAGES \
     ccache gettext git tar PyYAML sparse flex bison python3 bzip2 hostname \
     gcc gcc-c++ llvm clang make perl which bc findutils glib2-devel \
Signature · 1 line
2.17.0
#3 lore raw
In reply to Fam Zheng
Quoted 24 lines · Fam Zheng

The following changes since commit 392fba9f583223786f844dce9b2e7f9a0ce0147a:

Merge remote-tracking branch 'remotes/stsquad/tags/pull-travis-updates-010618-1' into staging (2018-06-01 17:32:30 +0100)

are available in the Git repository at:

git://github.com/famz/qemu.git tags/docker-pull-request

for you to fetch changes up to 63dba573fa65bf830ec3f78a8f3a6b0697ce1637:

docker: Update fedora image to 28 (2018-06-04 14:39:18 +0800)

----------------------------------------------------------------

Hi Peter,

One improvement from Alex and one patch to track the Fedora latest release.

----------------------------------------------------------------

Alex Bennée (1):
tests/docker/Makefile.include: handle empty TARGET_LIST

Quoted 8 lines

Fam Zheng (1):
docker: Update fedora image to 28

 rules.mak                              | 3 +++
 tests/docker/Makefile.include          | 2 +-
 tests/docker/dockerfiles/fedora.docker | 2 +-
 3 files changed, 5 insertions(+), 2 deletions(-)

Applied, thanks.

-- PMM