From patchwork Fri Sep 8 09:54:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Fam Zheng X-Patchwork-Id: 112055 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp49923qgf; Fri, 8 Sep 2017 02:57:33 -0700 (PDT) X-Google-Smtp-Source: AOwi7QBrloO3C7qT1Q11xUbSUdoqhBSFDvHDevDX2SIc0UKPl7ez2azP+JqFvQCX9zH9QgN9ArJl X-Received: by 10.55.109.66 with SMTP id i63mr2801586qkc.19.1504864653100; Fri, 08 Sep 2017 02:57:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504864653; cv=none; d=google.com; s=arc-20160816; b=iapvPLlbExOMoqaePWADp9UdHhlKmWMpgEqcgs73XNPYrBkQG5xe64UU6SWy/bc1Ub cYuLU2Zf4MdXP+Tw33eq1ZQGL0JkWt7a1N3jts8hkPcU5VmYG2EPYS02PHGVxi6IAgiJ pPo4PunNiNlGzmo/iqRHzeXX3Q575HM2jqFiZ97XfZpUqkqWO/YN/H6DvaWpuur0xOpE BIIsBxARwJDW7KjlDijW8S235mhF8EGDO4fJjk3svw+J/Kp9UI1JJItKSVGjhxJp9MaL OCH17Xnzzh4wEUTEBmZWlyUUu7IYFJUWYqz1orlMaHW38J+ARp8ZNkJnnVIJV3ammDIx fgTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dmarc-filter:arc-authentication-results; bh=e6jj2zsc4OVcNf732xeYEl/kv71ku6BhqwnHS4BuIE0=; b=X7BiIK/yWegyvHmBLosgfM1tUvqsjyGrufWaJg5hJxiniExcUoZJDoIYF0EbKFXo77 C1HK7Hf3YtcfigdAE5cDV7MFlJ8cBpLRlTVCIWYAowJIbi5zBizUBNlXZySnliwLJX+e R9z4JvmtfRNKsBpmsnNjOGIcA2IDXHAgzCYfP3JhzszzLBATy9mD7d7qZkKR4QZG0urU J4qlYQ0Q3eCvbceOJdllw3hc5Ma+dys0qB0sIYPSLeNNyoOpOe/THZwR6cadAcrqDiK5 JF971U2q3EEsu/cNvKm/jIEpt1RIbe+ZQtnNqcYKE7kCC57XFuhwutIWJh2KjSXPF9iI 9m7w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id t123si1653806qke.262.2017.09.08.02.57.32 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 08 Sep 2017 02:57:33 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from localhost ([::1]:44244 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dqG2V-0000XS-1i for patch@linaro.org; Fri, 08 Sep 2017 05:57:31 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41455) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dqG0M-0007dg-Mi for qemu-devel@nongnu.org; Fri, 08 Sep 2017 05:55:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dqG0H-0004EE-Vo for qemu-devel@nongnu.org; Fri, 08 Sep 2017 05:55:18 -0400 Received: from mx1.redhat.com ([209.132.183.28]:42620) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dqG0H-0004D9-Oz for qemu-devel@nongnu.org; Fri, 08 Sep 2017 05:55:13 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B6A46C0587EB; Fri, 8 Sep 2017 09:55:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com B6A46C0587EB Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=famz@redhat.com Received: from lemon.redhat.com (ovpn-12-98.pek2.redhat.com [10.72.12.98]) by smtp.corp.redhat.com (Postfix) with ESMTP id 73A0760E3A; Fri, 8 Sep 2017 09:55:11 +0000 (UTC) From: Fam Zheng To: qemu-devel@nongnu.org Date: Fri, 8 Sep 2017 17:54:29 +0800 Message-Id: <20170908095506.13594-2-famz@redhat.com> In-Reply-To: <20170908095506.13594-1-famz@redhat.com> References: <20170908095506.13594-1-famz@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Fri, 08 Sep 2017 09:55:12 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PULL 01/38] docker: ensure NOUSER for travis images X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Alex Bennée While adding the current user is a useful default behaviour for creating new images it is not appropriate for Travis which already has a default user. Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé Message-Id: <20170725133425.436-2-alex.bennee@linaro.org> Signed-off-by: Fam Zheng --- tests/docker/Makefile.include | 1 + 1 file changed, 1 insertion(+) -- 2.13.5 diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index aaab1a4208..d7dafdbd27 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -71,6 +71,7 @@ docker-image-debian-ppc64el-cross: docker-image-debian9 docker-image-debian-s390x-cross: docker-image-debian9 docker-image-debian-win32-cross: docker-image-debian8-mxe docker-image-debian-win64-cross: docker-image-debian8-mxe +docker-image-travis: NOUSER=1 # Expand all the pre-requistes for each docker image and test combination $(foreach i,$(DOCKER_IMAGES), \ From patchwork Fri Sep 8 09:54:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Fam Zheng X-Patchwork-Id: 112057 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp52557qgf; Fri, 8 Sep 2017 02:59:49 -0700 (PDT) X-Google-Smtp-Source: AOwi7QB4Bl9n3mUR4L00n7xo1xyl03FwX8Br7RKrAbuES1wf6eHGGICGrT9DAbuX1PR2ZaKnKEtt X-Received: by 10.237.49.100 with SMTP id 91mr2965647qtg.279.1504864789567; Fri, 08 Sep 2017 02:59:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504864789; cv=none; d=google.com; s=arc-20160816; b=HRSrt4AA5WW/xD5OZ1R1VkHcBKliuqaqcqzoG2BE3Nt+K3xoyoUuskfwqg/CAVHsKJ rypJyadCVm8PAZiafbAYdTtfOaZK5Znhg9OpKhJIVsXs/ZOFP2HcVbdDs6GCD6uCOrGX +a8uq3lt8BGQZaH44og+57gWx4TEghz0wkNMevLRWQdQWCrodoDa8WkR2kfsZ81J5bVy kb2DyS65vU4U4oxsRLH7MJFwcjfVub7Es6oYLc5SNdfNBeM2q5O5SGTEBp7HzrrkAE4o 6bDI8uWYeQpveOsd7BIrwj3icLVbyS4gWLuQGZ5X8N5Mp3oN77UNC93wG/07wKmp+23v hjQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dmarc-filter:arc-authentication-results; bh=1498xm6MYMgIPLxq6whYu7HJzKqwnFX0VtkEE8ATQKk=; b=pTE+n7Re8n+dsq0Tp6P5Ool9JItCLNm8h2l4yBLufz90ASf3kp+6z8WVzgNVECJZVZ WfAqO6pDsaSY7c/BACU2b5KVg3U2PiWlk0gNd+j+oGPUQn1/oKFEjN0RJ3UsEknD+3Y2 JbsQ8DRhQCEChdOH8PuRyZvelVJXATF2Jaaem0czvNB3g/XI31g7KLkvdrkQ8YepgLvX IRqwNaSmGE0n2TZlQylozzyCnmPaBmORv9aUageN/Gurca9lZXPE4s9sr9p6OKGF9TST Q/qKE/DF5VXxRhMjvKTOmR1+dLHrX7fP/G67kDRPb7OflLE5op01Y3kuZ+33/cKyg3gj oeUw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id p3si1702933qki.76.2017.09.08.02.59.49 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 08 Sep 2017 02:59:49 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from localhost ([::1]:44251 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dqG4h-0002nB-Gn for patch@linaro.org; Fri, 08 Sep 2017 05:59:47 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41473) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dqG0O-0007do-Cg for qemu-devel@nongnu.org; Fri, 08 Sep 2017 05:55:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dqG0J-0004Fi-RI for qemu-devel@nongnu.org; Fri, 08 Sep 2017 05:55:20 -0400 Received: from mx1.redhat.com ([209.132.183.28]:42664) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dqG0J-0004FD-Kt for qemu-devel@nongnu.org; Fri, 08 Sep 2017 05:55:15 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 8D4D5C057FAD; Fri, 8 Sep 2017 09:55:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 8D4D5C057FAD Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=famz@redhat.com Received: from lemon.redhat.com (ovpn-12-98.pek2.redhat.com [10.72.12.98]) by smtp.corp.redhat.com (Postfix) with ESMTP id 48BC760E3B; Fri, 8 Sep 2017 09:55:13 +0000 (UTC) From: Fam Zheng To: qemu-devel@nongnu.org Date: Fri, 8 Sep 2017 17:54:30 +0800 Message-Id: <20170908095506.13594-3-famz@redhat.com> In-Reply-To: <20170908095506.13594-1-famz@redhat.com> References: <20170908095506.13594-1-famz@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Fri, 08 Sep 2017 09:55:14 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PULL 02/38] docker: docker.py make --no-cache skip checksum test X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Alex Bennée If you invoke with NOCACHE=1 we pass --no-cache in the argv to docker.py but may still not force a rebuild if the dockerfile checksum hasn't changed. By testing for its presence we can force builds without having to manually remove the docker image. Signed-off-by: Alex Bennée Message-Id: <20170725133425.436-5-alex.bennee@linaro.org> Signed-off-by: Fam Zheng --- tests/docker/docker.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.13.5 diff --git a/tests/docker/docker.py b/tests/docker/docker.py index 81c87ee329..08122ca17d 100755 --- a/tests/docker/docker.py +++ b/tests/docker/docker.py @@ -263,7 +263,8 @@ class BuildCommand(SubCommand): tag = args.tag dkr = Docker() - if dkr.image_matches_dockerfile(tag, dockerfile): + if "--no-cache" not in argv and \ + dkr.image_matches_dockerfile(tag, dockerfile): if not args.quiet: print "Image is up to date." else: From patchwork Fri Sep 8 09:54:31 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Fam Zheng X-Patchwork-Id: 112054 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp49903qgf; Fri, 8 Sep 2017 02:57:31 -0700 (PDT) X-Google-Smtp-Source: AOwi7QDT2XnNQRwhIMG0QelJJZK5wpfHaYO6hEhcePOiXQnGjuTR51sVq+RxLvMiQYJRy9hh7Q+Y X-Received: by 10.200.51.42 with SMTP id t39mr3088874qta.57.1504864651632; Fri, 08 Sep 2017 02:57:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504864651; cv=none; d=google.com; s=arc-20160816; b=Z8GiDYCIHpb1zDn2S6vUmmQg6WIFY386/SlHe6HRS+1HeM5oDtrGaqSvpQmv4AzIt1 rOg/KsMrQB5w0OWGPEwPHxHrLXtX/bE81eQBH4hVpzkzsNZ+pnznvEJ8XyblYWG/D1mu R/LrceP/fQwB3L6taKWdcfgP3HIu0dmRfdhyZ83xPMvG0Z1xQawEpH9QVrGaArsXpU62 KzhcJ9tl5PyZmWigAVq2nkzU2mMz0BfbXrZXDcidHiSyM/Ubb5xYUlbBPPio6kiEl+pl Pz60FOjh7FNFzg0zCFiXdQuYHufP3aNHpResTGmqiN/k9aKE2i+xRbnxXVR78QjjFK4A N1gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dmarc-filter:arc-authentication-results; bh=v+B1dJpgm0QrO5q0XgyQX0AkRZoAxj4pNIEuqZ9WSc8=; b=sb0cxvAGeBRdDGKlINwGzkEXV6Zi4wQa59tyoGUCm1wZKoQ9xnpW/o359w9Ou2qmPG FKpYU6kSeaOLO4UlWkAWA9BUuyZAjlk35dNtNPppj/C+LNMJv2T/YQIRh2Vusw3scnhf dAoaLJTcwnzoPDo4QyHv7TAlwR8OAsHRXPUyXI24a4NtTOdhkccSmFIwMwaGO7PPkfZm UJ6BdeupIywIN5Pkk9LkMGxRM1frhJYCqtRd2xh7ATrA56hI+ox1/ud9y5Q0XKjv9+89 yeahYBsGbHoFUvarJP84jhWi9jrSVUMgjOn/Quo2xvPJnMn8tB0zlWgdguvGd1oZhww7 3cPA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id h135si1740345qka.285.2017.09.08.02.57.31 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 08 Sep 2017 02:57:31 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from localhost ([::1]:44243 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dqG2T-0000Vr-8B for patch@linaro.org; Fri, 08 Sep 2017 05:57:29 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41499) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dqG0Q-0007ds-7C for qemu-devel@nongnu.org; Fri, 08 Sep 2017 05:55:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dqG0L-0004Gk-Iz for qemu-devel@nongnu.org; Fri, 08 Sep 2017 05:55:22 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37886) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dqG0L-0004GK-DO for qemu-devel@nongnu.org; Fri, 08 Sep 2017 05:55:17 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 682D7883B8; Fri, 8 Sep 2017 09:55:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 682D7883B8 Authentication-Results: ext-mx02.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx02.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=famz@redhat.com Received: from lemon.redhat.com (ovpn-12-98.pek2.redhat.com [10.72.12.98]) by smtp.corp.redhat.com (Postfix) with ESMTP id 28D7960E3A; Fri, 8 Sep 2017 09:55:14 +0000 (UTC) From: Fam Zheng To: qemu-devel@nongnu.org Date: Fri, 8 Sep 2017 17:54:31 +0800 Message-Id: <20170908095506.13594-4-famz@redhat.com> In-Reply-To: <20170908095506.13594-1-famz@redhat.com> References: <20170908095506.13594-1-famz@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Fri, 08 Sep 2017 09:55:16 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PULL 03/38] docker: don't install device-tree-compiler build-deps in travis.docker X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Alex Bennée Installing the device-tree-compiler build-deps is a little extreme. We only actually need the binary so include it with the other packages. Suggested-by: Philippe Mathieu-Daudé Signed-off-by: Alex Bennée Message-Id: <20170725133425.436-6-alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé Signed-off-by: Fam Zheng --- tests/docker/dockerfiles/travis.docker | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- 2.13.5 diff --git a/tests/docker/dockerfiles/travis.docker b/tests/docker/dockerfiles/travis.docker index 636fa590a5..57ac8e1419 100644 --- a/tests/docker/dockerfiles/travis.docker +++ b/tests/docker/dockerfiles/travis.docker @@ -1,6 +1,5 @@ FROM quay.io/travisci/travis-ruby RUN apt-get update RUN apt-get -y build-dep qemu -RUN apt-get -y build-dep device-tree-compiler -RUN apt-get -y install python2.7 python-yaml dh-autoreconf gdb strace lsof net-tools +RUN apt-get -y install device-tree-compiler python2.7 python-yaml dh-autoreconf gdb strace lsof net-tools ENV FEATURES pyyaml From patchwork Fri Sep 8 09:54:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Fam Zheng X-Patchwork-Id: 112056 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp51088qgf; Fri, 8 Sep 2017 02:58:31 -0700 (PDT) X-Google-Smtp-Source: AOwi7QDz/oD8/2130OAFv9KvlZBdhOMEkam4eauLqCpcxp60RUmESEqQQYRNgMXVH4nw7/NA5Ni9 X-Received: by 10.55.135.193 with SMTP id j184mr3071028qkd.350.1504864711561; Fri, 08 Sep 2017 02:58:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504864711; cv=none; d=google.com; s=arc-20160816; b=KiPm0VjQUqb0a6Z6rYms7hwcDg2S/nNFY+kz/JiV9JBRCp7LM/ciApUEXqxYa1lQ68 TQpFyBKHaPiDsIfLX2W2xEu5GyQtMG/CyVEi7x+ciPPT9yAxSkt6/F/m+5jRM4T+TgC/ aUOsjIA0pWLUWjuWdBK/4YXq6dLQa1db0ST3px/FbLKey34rTyg7iMB3PsHbLKs1blJK eIkx/hia2s8FkDTQfw+7DRFKmkZq2+cvT1IKX1oOq2ScjCCpMuSaGp8vpszyPzFTU8NO /C+w/K7ep/jH9E9a7t2Je4W8R5TpOJQgUYH+O9RSipd7uVlIxuswie4wxa3tP2Zlp0CB bWpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dmarc-filter:arc-authentication-results; bh=PjqN67FWO9WIdnyzcEbllagPiiQAtaiNFoa1h4ChzW0=; b=fZEaXwcli56XcJA5sf3cyunmU+YW8P0f/iLJ+iaFUKLbDpthmHegsPI2ZmO5psL7of v0DCcS/v5as5UD9PSYY29THpC1OBbQWG9HjasWPW+O3cSQMaLkclPwXx3jWxSeOq17jA bXfauCIGwh/7930bkHzgjnVCSy4UKx7DzQuHppwDej6Q9Z0AzZxODNQnNXNcgR74B38c tYumhvkNeaAf4A27fQu6AMPFIYolbLDrcOrGoHFc8k70xreRB5HjnJyrWXQ/WfqSLDZi YdE1tX9tLp5SKjaIS/XBWo3Kl2BxVn9drgDAts8mnfLY82fuWUAiN5axXgxW/wfcm3ko mNkg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id g7si1719296qth.16.2017.09.08.02.58.31 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 08 Sep 2017 02:58:31 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from localhost ([::1]:44249 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dqG3R-0001p7-Ax for patch@linaro.org; Fri, 08 Sep 2017 05:58:29 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41521) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dqG0S-0007fA-Gu for qemu-devel@nongnu.org; Fri, 08 Sep 2017 05:55:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dqG0N-0004Ir-ET for qemu-devel@nongnu.org; Fri, 08 Sep 2017 05:55:24 -0400 Received: from mx1.redhat.com ([209.132.183.28]:51652) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dqG0N-0004HZ-8b for qemu-devel@nongnu.org; Fri, 08 Sep 2017 05:55:19 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 3FE7780460; Fri, 8 Sep 2017 09:55:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 3FE7780460 Authentication-Results: ext-mx04.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx04.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=famz@redhat.com Received: from lemon.redhat.com (ovpn-12-98.pek2.redhat.com [10.72.12.98]) by smtp.corp.redhat.com (Postfix) with ESMTP id EC5D060E3A; Fri, 8 Sep 2017 09:55:16 +0000 (UTC) From: Fam Zheng To: qemu-devel@nongnu.org Date: Fri, 8 Sep 2017 17:54:32 +0800 Message-Id: <20170908095506.13594-5-famz@redhat.com> In-Reply-To: <20170908095506.13594-1-famz@redhat.com> References: <20170908095506.13594-1-famz@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Fri, 08 Sep 2017 09:55:18 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PULL 04/38] docker: reduce noise when building travis.docker X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Alex Bennée Set the DEBIAN_FRONTEND and locale env vars to stop apt complaining so much as we build the image. Suggested-by: Philippe Mathieu-Daudé Signed-off-by: Alex Bennée Message-Id: <20170725133425.436-7-alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé Signed-off-by: Fam Zheng --- tests/docker/dockerfiles/travis.docker | 3 +++ 1 file changed, 3 insertions(+) -- 2.13.5 diff --git a/tests/docker/dockerfiles/travis.docker b/tests/docker/dockerfiles/travis.docker index 57ac8e1419..605b6e429b 100644 --- a/tests/docker/dockerfiles/travis.docker +++ b/tests/docker/dockerfiles/travis.docker @@ -1,4 +1,7 @@ FROM quay.io/travisci/travis-ruby +ENV DEBIAN_FRONTEND noninteractive +ENV LANG en_US.UTF-8 +ENV LC_ALL en_US.UTF-8 RUN apt-get update RUN apt-get -y build-dep qemu RUN apt-get -y install device-tree-compiler python2.7 python-yaml dh-autoreconf gdb strace lsof net-tools