From patchwork Fri Sep 22 07:46:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Fam Zheng X-Patchwork-Id: 113964 Delivered-To: patch@linaro.org Received: by 10.80.163.150 with SMTP id s22csp2792389edb; Fri, 22 Sep 2017 00:47:34 -0700 (PDT) X-Google-Smtp-Source: AOwi7QA9ZmM1gK1KEycz4ELU0VPG3IY5V/avqoYpEr4W1/psqgS7qUwPPSBI+d+Dg57kcFLwoZ3O X-Received: by 10.55.107.5 with SMTP id g5mr6658758qkc.344.1506066454445; Fri, 22 Sep 2017 00:47:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1506066454; cv=none; d=google.com; s=arc-20160816; b=CFttMT+NLf4ARZwuc/FgylEi+kNVsVxzbf9MCxfHG2ZL7NFqSh0LdOgeMWbEnlDMtj xadvtRP0rKbTGQR5D8W2fOyxQMgK+ggrpezIPPgsrks988tGk9G0MX1OAuCFoWmodXMq lPY23sXIB4aZyhn2cNjWk7cpL52qKASTVZgEG3S+opdoFV/3dwUPwGqrwce3Dx7u4H7U gMfEs89FCNVwSiK94a37F69FrDEpjz7V5xarcsrZQooqxYjUGQoM0PNHD4qWApLn2Zqa 9IkZl8ixrhczzn+6kUmSRC5U/794DpliLgBKkgWUdJiefuzilzL87j6r0iI20QHzcTGc TGnA== 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=63f3ygSzUyH0MRRaqMqFKiJyBEqkIvzlIPu3hWe2HZw=; b=mbUIBSF/WlRkcU12/meKshZuU/HNxDqvrfGaQ09Dth5GrQX7R3nxfDYfIXOuTmzjbP pmRFnAG/Z7jKsUWqtj5M2FcRx29KCwrRRYD8ueWb9MZy1pgtcS9TMoDik2UbSChtOPle Ykh1KB9n5yG5pRuOFCaKP3sn8xkL7x3s43A/aGsGHmGCOlxtUV/QrHbfDbqnbQTOpfi6 hH97ClStjY+fusxh4vks+20Nlp1PS0gVFQFRG/uLsGcXaE4sUKc/avcUJR93XInu5jVI 3mex0prXbX/CKPHYriEU9MHzg90sdTFXgxW0Gh8g6aNAJiisf9gf8nJ3WCj9l+oR0ZOU LeIA== 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 l2si2104224qte.551.2017.09.22.00.47.33 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 22 Sep 2017 00:47:34 -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]:57132 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dvIgN-0007qL-QQ for patch@linaro.org; Fri, 22 Sep 2017 03:47:31 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37501) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dvIg0-0007oJ-E9 for qemu-devel@nongnu.org; Fri, 22 Sep 2017 03:47:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dvIfz-0000pL-6l for qemu-devel@nongnu.org; Fri, 22 Sep 2017 03:47:08 -0400 Received: from mx1.redhat.com ([209.132.183.28]:55770) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dvIfz-0000oq-0p for qemu-devel@nongnu.org; Fri, 22 Sep 2017 03:47:07 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id E5C1D804E3; Fri, 22 Sep 2017 07:47:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com E5C1D804E3 Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=famz@redhat.com Received: from lemon.redhat.com (ovpn-12-122.pek2.redhat.com [10.72.12.122]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6F2DB5C542; Fri, 22 Sep 2017 07:47:04 +0000 (UTC) From: Fam Zheng To: qemu-devel@nongnu.org Date: Fri, 22 Sep 2017 15:46:24 +0800 Message-Id: <20170922074659.30097-2-famz@redhat.com> In-Reply-To: <20170922074659.30097-1-famz@redhat.com> References: <20170922074659.30097-1-famz@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Fri, 22 Sep 2017 07:47:06 +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/36] 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 aa566aa223..2c49930907 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -70,6 +70,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 22 07:46:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Fam Zheng X-Patchwork-Id: 113963 Delivered-To: patch@linaro.org Received: by 10.80.163.150 with SMTP id s22csp2792391edb; Fri, 22 Sep 2017 00:47:34 -0700 (PDT) X-Google-Smtp-Source: AOwi7QAdpE4yWlwwrHsE1bwpZmZ1GyPoH8huNwuMhQdo8eQtcVKpJRJJhBHl/5njunLR6bOgfqRw X-Received: by 10.200.45.26 with SMTP id n26mr7272986qta.183.1506066454751; Fri, 22 Sep 2017 00:47:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1506066454; cv=none; d=google.com; s=arc-20160816; b=GNmVpqPjM/s090tMHOLLVkvbireTPCGy7XtPlB+oA/SOb0RDwROHtzkl6l3ty+Ot/f yR+ELtYJUysXnRABlD/Low/jr6YcGoJKF6cSp3Zvm+nXMNEmkV/ts8/muyQNzPuxl/B+ 4OSxnunDFOh4f8GzvIQUa6oFlxkEwkWs6Tj6MTg21hot0ZsxB8OvMUgl+843F6JZwHfF kNC05swKIE4ca+ypPxsJEJlGJQjWyrxAmX2tcyUSSXB+u8RGP7X5J/el2yfNnFKv4mGM 7oMDhAh9gePI8779M4MIaBQFkie6fLCcOBvj0kXln8QNBGblbZ7cc8sRPBIq5wXWSR5c +akw== 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=oMlQanZF5bL+rjRU8hEyI8AizbsNk2rCZ1EV1g35I+5nwDWlLzOqxmWCrVtz6B/WSR 7ef5wHQvvr9gIf8olLMwJIN8Mwv2hp7wZscx5mxUCzvn1XRi05Vz1BJuFoYInw7FYNHL QqY5L4b3L/+X70E8iymMAiFdEJqd2BX52W87SqyMp9H0uGlKcgILPM9rGaUI/BgcBkRo 84YCWtN1QAy9N351pM6pEISMJVoXnMWP7OWd2KmJtrFZgmXh9ZvVDnwGwea3tw3t09Bb Jc4WBGKIHR2KC3uTe9q/EQOA9uvxjmSeuDcNMuyOGQu24d4qzS9yLPEq0tdjfVL21Dst uI+A== 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 d46si3268057qtd.442.2017.09.22.00.47.34 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 22 Sep 2017 00:47:34 -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]:57133 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dvIgO-0007qX-3Q for patch@linaro.org; Fri, 22 Sep 2017 03:47:32 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37522) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dvIg1-0007pF-Sd for qemu-devel@nongnu.org; Fri, 22 Sep 2017 03:47:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dvIg1-0000qL-2U for qemu-devel@nongnu.org; Fri, 22 Sep 2017 03:47:09 -0400 Received: from mx1.redhat.com ([209.132.183.28]:55820) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dvIg0-0000po-S9 for qemu-devel@nongnu.org; Fri, 22 Sep 2017 03:47:08 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id CC0577E44D; Fri, 22 Sep 2017 07:47:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com CC0577E44D Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=famz@redhat.com Received: from lemon.redhat.com (ovpn-12-122.pek2.redhat.com [10.72.12.122]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7AD1B5C542; Fri, 22 Sep 2017 07:47:06 +0000 (UTC) From: Fam Zheng To: qemu-devel@nongnu.org Date: Fri, 22 Sep 2017 15:46:25 +0800 Message-Id: <20170922074659.30097-3-famz@redhat.com> In-Reply-To: <20170922074659.30097-1-famz@redhat.com> References: <20170922074659.30097-1-famz@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Fri, 22 Sep 2017 07:47:07 +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/36] 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 22 07:46:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Fam Zheng X-Patchwork-Id: 113965 Delivered-To: patch@linaro.org Received: by 10.80.163.150 with SMTP id s22csp2794614edb; Fri, 22 Sep 2017 00:50:42 -0700 (PDT) X-Google-Smtp-Source: AOwi7QBg86wMvuR8ANCZ+qA++xZzxg1P98JeoJ2rmLsMBSmk30kuQ3M5D6YQnuZ5lk5DUsJKZZVQ X-Received: by 10.200.26.123 with SMTP id q56mr6895421qtk.130.1506066642124; Fri, 22 Sep 2017 00:50:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1506066642; cv=none; d=google.com; s=arc-20160816; b=C9MxBkDCrKfI3j432H28uD2lKPXDSHpCCejGLf98KcJVN+XXuwIJpavG131oPzObwu sGUr/K8tLM8W7dEl1UhxriYIK9PuhxuQ3mnexl3+VJY53KghJ5g6sk9QqHpHXj9OB1TQ NCAITlHa1w//+oOz7g8mpY27gP1d1T9vBpedfgjIknoI2DCa/teOndudmscYSfrbhNMY lwuyiGzVPWMmHay25w1Lx3cDZ8zStyXTXnkYs96f7MwM3IphHfJ0T+wBOZ19fHwX2vEU ycbIrd6NybgFMysTgmA/egIxSiv2Thg0rtyZVOzs0oPC29Jp1DHkGzLdIMTl+1byEOHX 3HGw== 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=u2FFHSNIfa+Xf7aLdeuGnGE9vx/mhIq9QJBQ5w60NFcQt4pP4GNlVNQKT8eWfkTZbQ 2RNHwNS4LX7ePmdC9G4kWkGrA2uUhNcQ5mi8mD1m1sPcbtsGl5GJh36cb3WEiB/SpAB9 zu6nW8MrZvkKXL/OzJlTTdmMHQ7zkDlBS+lJXfOOKSzpx3O2raLChvRcq3mY0FPwjGxN gY7SEehDGM/O3Fu4L8Vlll3EjxN+Uy2yjBuVV6u6dC1SIpmyWW1tmR4K5/22bhU4QT3B nuLdg8bGQbqC0a0FoTp36A5HZxJadxriwrvxos7Yinf4EYsvCADf8HmZH7U8gG55mVrL ArGw== 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 u22si15833qtc.218.2017.09.22.00.50.41 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 22 Sep 2017 00:50:42 -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]:57148 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dvIjP-0001zW-J9 for patch@linaro.org; Fri, 22 Sep 2017 03:50:39 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37536) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dvIg3-0007qm-Rc for qemu-devel@nongnu.org; Fri, 22 Sep 2017 03:47:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dvIg2-0000r5-SM for qemu-devel@nongnu.org; Fri, 22 Sep 2017 03:47:11 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47432) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dvIg2-0000ql-Mb for qemu-devel@nongnu.org; Fri, 22 Sep 2017 03:47:10 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id AF3F113A49; Fri, 22 Sep 2017 07:47:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com AF3F113A49 Authentication-Results: ext-mx05.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx05.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=famz@redhat.com Received: from lemon.redhat.com (ovpn-12-122.pek2.redhat.com [10.72.12.122]) by smtp.corp.redhat.com (Postfix) with ESMTP id 54BD75C269; Fri, 22 Sep 2017 07:47:08 +0000 (UTC) From: Fam Zheng To: qemu-devel@nongnu.org Date: Fri, 22 Sep 2017 15:46:26 +0800 Message-Id: <20170922074659.30097-4-famz@redhat.com> In-Reply-To: <20170922074659.30097-1-famz@redhat.com> References: <20170922074659.30097-1-famz@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Fri, 22 Sep 2017 07:47:09 +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/36] 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 22 07:46:27 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Fam Zheng X-Patchwork-Id: 113966 Delivered-To: patch@linaro.org Received: by 10.80.163.150 with SMTP id s22csp2796724edb; Fri, 22 Sep 2017 00:53:32 -0700 (PDT) X-Google-Smtp-Source: AOwi7QC3N2s084PEq1r1AFLeaHhIQKYYFhG9CZQlxn7m2/QmpQz7RPQPrUJFwFeXlOF5LQ+eL823 X-Received: by 10.55.148.3 with SMTP id w3mr6952436qkd.26.1506066812245; Fri, 22 Sep 2017 00:53:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1506066812; cv=none; d=google.com; s=arc-20160816; b=h9f1+XOvjIq6TvMcakK2gj6keyZpPbSSJ27cDE1dlSGJ9nQjHrqpf7WjaGc4ECl+sR m+wvZFuuYR2hyblZb42e6kJ328yWtTUqblDSIiRZjLUYumuwwzF7kG4Y4ifLAMorAGTA u4pxCWQjIk74tmitt4A1ucnuG65ooUbfOJwFQ1kSDUPhYBeoa+W1nVtVSsRF5dch2+3x FazX7Qo9vBKkUAzYndb0LfUsoPAWLS49r6AsrKaZeT0LHtB9hxeQXD9w8w1A0Fep2oLl f+M8zaac1DhWMttaDp/fZYNdA30VziHz9JbSoeHbKXALmc5H9tRfEet7FGUnxrt1PEyk XSqw== 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=lhb03uc/dD0XTCjX9Rwy/1rYVkrAYgF1VHtTAoN0LczF+vQkxKEeo7G4JLYjC+9xzF 1BjhzvOaNocx3yy8oaif2cG4TSlZeVGZ8+FRGxmcxumTHohDxK0N4kkvPU2Me7e1/2Go osB8GNoJCN8MoYj8O/LeQz1aoPakyZGpq+dXN/yvzKG6pJ5yl+IwogCcqmLcwHtRxkUp agE1lZtjZy/LAhil0VKTalwJ/5BprQ/Pc+6aaWDwCOEfpPr86lZPsRZlyqPA7lQxXFLi 1cAPmAU20trUnhQAaoMAY0sWq0sNM6HMHgJG4pgiWVyXhVBwKRRciYs5Us1Eiiee1C2D H7hA== 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 x25si2531698qth.251.2017.09.22.00.53.31 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 22 Sep 2017 00:53:32 -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]:57157 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dvIm9-0004Gc-S2 for patch@linaro.org; Fri, 22 Sep 2017 03:53:29 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37552) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dvIg5-0007sa-N5 for qemu-devel@nongnu.org; Fri, 22 Sep 2017 03:47:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dvIg4-0000rr-Qo for qemu-devel@nongnu.org; Fri, 22 Sep 2017 03:47:13 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43112) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dvIg4-0000rd-Kj for qemu-devel@nongnu.org; Fri, 22 Sep 2017 03:47:12 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A5FB880E7A; Fri, 22 Sep 2017 07:47:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com A5FB880E7A Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=famz@redhat.com Received: from lemon.redhat.com (ovpn-12-122.pek2.redhat.com [10.72.12.122]) by smtp.corp.redhat.com (Postfix) with ESMTP id 47BE05C269; Fri, 22 Sep 2017 07:47:09 +0000 (UTC) From: Fam Zheng To: qemu-devel@nongnu.org Date: Fri, 22 Sep 2017 15:46:27 +0800 Message-Id: <20170922074659.30097-5-famz@redhat.com> In-Reply-To: <20170922074659.30097-1-famz@redhat.com> References: <20170922074659.30097-1-famz@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Fri, 22 Sep 2017 07:47:11 +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/36] 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