qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 9af4c1: docker: Add a glib2-2.22 image


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 9af4c1: docker: Add a glib2-2.22 image
Date: Fri, 09 Sep 2016 05:30:06 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 9af4c174a38c345e36f8320f8bb7de64661bb18a
      
https://github.com/qemu/qemu/commit/9af4c174a38c345e36f8320f8bb7de64661bb18a
  Author: Fam Zheng <address@hidden>
  Date:   2016-09-08 (Thu, 08 Sep 2016)

  Changed paths:
    A tests/docker/dockerfiles/min-glib.docker

  Log Message:
  -----------
  docker: Add a glib2-2.22 image

It's a variation of our existing centos6, plus two more lines to
downgrade glib2 to version 2.22 which we download from vault.centos.org.

Suggested-by: Paolo Bonzini <address@hidden>
Signed-off-by: Fam Zheng <address@hidden>
Message-Id: <address@hidden>


  Commit: c977257045fdb90f98b92b9e08daa8ace378650b
      
https://github.com/qemu/qemu/commit/c977257045fdb90f98b92b9e08daa8ace378650b
  Author: Sascha Silbe <address@hidden>
  Date:   2016-09-08 (Thu, 08 Sep 2016)

  Changed paths:
    M tests/docker/docker.py

  Log Message:
  -----------
  docker.py: don't hang on large docker output

Unlike Popen.communicate(), subprocess.call() doesn't read from the
stdout file descriptor. If the child process produces more output than
fits into the pipe buffer, it will block indefinitely.

If we don't intend to consume the output, just send it straight to
/dev/null to avoid this issue.

Signed-off-by: Sascha Silbe <address@hidden>
Reviewed-by: Janosch Frank <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Fam Zheng <address@hidden>


  Commit: 08f4e8d23d9043af9283c957d6da7fcce7ff4d39
      
https://github.com/qemu/qemu/commit/08f4e8d23d9043af9283c957d6da7fcce7ff4d39
  Author: Sascha Silbe <address@hidden>
  Date:   2016-09-08 (Thu, 08 Sep 2016)

  Changed paths:
    M tests/docker/Makefile.include

  Log Message:
  -----------
  docker: avoid dependency on 'realpath' package

The 'realpath' executable is shipped in a separate package that isn't
installed by default on some distros.

We already use 'readlink -e' (provided by GNU coreutils) in some other
part of the code, so let's settle for that instead.

Signed-off-by: Sascha Silbe <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Fam Zheng <address@hidden>


  Commit: b5dc88ce24d2b57970f502dd666ca126f0e3ad7f
      
https://github.com/qemu/qemu/commit/b5dc88ce24d2b57970f502dd666ca126f0e3ad7f
  Author: Sascha Silbe <address@hidden>
  Date:   2016-09-08 (Thu, 08 Sep 2016)

  Changed paths:
    M tests/docker/dockerfiles/debian-bootstrap.pre

  Log Message:
  -----------
  docker: debian-bootstrap.pre: print error messages to stderr

Send error messages where they belong so they're seen even if stdout
is redirected to /dev/null.

Signed-off-by: Sascha Silbe <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Fam Zheng <address@hidden>


  Commit: 341edc0c47eb0c27bfe530c064b123e0c00ae2be
      
https://github.com/qemu/qemu/commit/341edc0c47eb0c27bfe530c064b123e0c00ae2be
  Author: Sascha Silbe <address@hidden>
  Date:   2016-09-08 (Thu, 08 Sep 2016)

  Changed paths:
    M tests/docker/dockerfiles/debian-bootstrap.pre

  Log Message:
  -----------
  docker: debian-bootstrap.pre: print helpful message if DEB_ARCH/DEB_TYPE unset

The debian-bootstrap image doesn't choose a default architecture and
distribution version, instead the user has to set both DEB_ARCH and
DEB_TYPE in the environment. Print a reasonably helpful message if
either of them isn't set instead of complaining about "qemu-" being
missing or erroring out because we cannot cd to the mirror URL.

Signed-off-by: Sascha Silbe <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Fam Zheng <address@hidden>


  Commit: a351b4b06e92e0ebe4601a3e69483f53c8a5fa25
      
https://github.com/qemu/qemu/commit/a351b4b06e92e0ebe4601a3e69483f53c8a5fa25
  Author: Sascha Silbe <address@hidden>
  Date:   2016-09-08 (Thu, 08 Sep 2016)

  Changed paths:
    M tests/docker/Makefile.include

  Log Message:
  -----------
  docker: print warning if EXECUTABLE is not set when building debootstrap image

Building the debian-debootstrap image will usually fail if EXECUTABLE
isn't set (when using the Makefile). Warn the user in this case so
they know why it's failing.

Signed-off-by: Sascha Silbe <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Fam Zheng <address@hidden>


  Commit: 00263139f888bfb1cb144790799c62cb60fe4cb6
      
https://github.com/qemu/qemu/commit/00263139f888bfb1cb144790799c62cb60fe4cb6
  Author: Sascha Silbe <address@hidden>
  Date:   2016-09-08 (Thu, 08 Sep 2016)

  Changed paths:
    M tests/docker/dockerfiles/debian-bootstrap.pre

  Log Message:
  -----------
  docker: make sure debootstrap is at least 1.0.67

debootstrap prior to 1.0.67 generated an empty sources.list during
foreign bootstraps (Debian#732255 [1]). Fall back to the git checkout
if the installed debootstrap version is too old.

[1] https://bugs.debian.org/732255

Signed-off-by: Sascha Silbe <address@hidden>
Message-Id: <address@hidden>
[Update 'sort -C' to 'sorc -c &>/dev/null' - Fam]
Signed-off-by: Fam Zheng <address@hidden>


  Commit: ae2f659ca5eb8e39a83b11dc55e7e474b536e4e6
      
https://github.com/qemu/qemu/commit/ae2f659ca5eb8e39a83b11dc55e7e474b536e4e6
  Author: Sascha Silbe <address@hidden>
  Date:   2016-09-08 (Thu, 08 Sep 2016)

  Changed paths:
    M tests/docker/dockerfiles/debian-bootstrap.pre

  Log Message:
  -----------
  docker: build debootstrap after cloning

When using the git version of debootstrap (because no usable version
of debootstrap was installed on the host), we need to run 'make' so
that devices.tar.gz gets built. Otherwise the first debootstrap stage
will fail without printing any error message.

Signed-off-by: Sascha Silbe <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Fam Zheng <address@hidden>


  Commit: f8042deafa724924d03c44c7bd21e269ccb5190b
      
https://github.com/qemu/qemu/commit/f8042deafa724924d03c44c7bd21e269ccb5190b
  Author: Sascha Silbe <address@hidden>
  Date:   2016-09-08 (Thu, 08 Sep 2016)

  Changed paths:
    M tests/docker/docker.py

  Log Message:
  -----------
  docker: silence debootstrap when --quiet is given

If we silence docker when --quiet is given, we should also silence the
.pre script (i.e. debootstrap).

Only discards stdout, so some diagnostics (e.g. from git clone) are
still printed. Most of the verbose output is gone however and this way
we still have a chance to see error messages.

Signed-off-by: Sascha Silbe <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Fam Zheng <address@hidden>


  Commit: c2a57aae9a1c3dd7de77daf5478df10379aeeebf
      
https://github.com/qemu/qemu/commit/c2a57aae9a1c3dd7de77daf5478df10379aeeebf
  Author: Peter Maydell <address@hidden>
  Date:   2016-09-09 (Fri, 09 Sep 2016)

  Changed paths:
    M tests/docker/Makefile.include
    M tests/docker/docker.py
    M tests/docker/dockerfiles/debian-bootstrap.pre
    A tests/docker/dockerfiles/min-glib.docker

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/famz/tags/docker-pull-request' into 
staging

# gpg: Signature made Fri 09 Sep 2016 05:54:35 BST
# gpg:                using RSA key 0xCA35624C6A9171C6
# gpg: Good signature from "Fam Zheng <address@hidden>"
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg:          There is no indication that the signature belongs to the owner.
# Primary key fingerprint: 5003 7CB7 9706 0F76 F021  AD56 CA35 624C 6A91 71C6

* remotes/famz/tags/docker-pull-request:
  docker: silence debootstrap when --quiet is given
  docker: build debootstrap after cloning
  docker: make sure debootstrap is at least 1.0.67
  docker: print warning if EXECUTABLE is not set when building debootstrap image
  docker: debian-bootstrap.pre: print helpful message if DEB_ARCH/DEB_TYPE unset
  docker: debian-bootstrap.pre: print error messages to stderr
  docker: avoid dependency on 'realpath' package
  docker.py: don't hang on large docker output
  docker: Add a glib2-2.22 image

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/5f31bbf1015a...c2a57aae9a1c

reply via email to

[Prev in Thread] Current Thread [Next in Thread]