From patchwork Tue Jul 18 00:31:31 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 108036 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp5205160qge; Mon, 17 Jul 2017 17:37:21 -0700 (PDT) X-Received: by 10.237.42.226 with SMTP id t89mr281713qtd.73.1500338241283; Mon, 17 Jul 2017 17:37:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500338241; cv=none; d=google.com; s=arc-20160816; b=OuY7pcvhYfrfB0Bu3tsp8S4mq0x+2RES/LqrwFBjPIrqbGQrzK2nDSOOE9ugciCa8V OK92odlAbc00DZ8nbT6IxAI8nci8nWjatiH6nfXmKGzTdoZONpK28+VaDCqnXo+NR4/+ KvdMg5RlsCIb9pf/vncopAnixFsuI+h1hSRen4p1yLs9M/oTtrSvDrGwDqX3RB0QO6C3 NTyuHDqxOrGuiA4yGvqPCUVJOR72CuPIkjYRp4eyYUknRnVxncU9hyBr8ddS4aq62ZxH YP2WG0Xv0bOE2KWcsuYMjth4yQ/MMS9cgn6HdgLOqDMutnEoG0RlgQ5iVsip8xkqw3Jh xReg== 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:dkim-signature:arc-authentication-results; bh=az3/JGKS67IbDnoWnvCKb3RrFOgis0fb5BKGzGz2RoM=; b=V9qM+K74kg24vr/EDcJiEmRqxtwJwW7mfyEIEVYj+jxRhsZbAwxjCUCHPaM6Xlx8wD ctvHSuGvbyKCKcvJlBrkBGqWq0n+JGNXrdYxUXAm+stie8PdcazxcCZHNofWdov9Owiz GUlxRsQ1hzxCLCJttFjV1drpGuZirzAZ3NdJaRKmJyR3lnWcI6WU5ez32W31kpqRl1ED 6hUn34AtPLV0/E7fr9tpWZV+2fNecKwYnwT2Rn/1l44w+jkMpJ/kMZEes9AebER6ROQA kt0Pb9APdPAYG73YNJi9cgUEhwm95pSgofI+hueyVVqpX9NGvBRVxnzk3SpVLXzbkodG o9Ng== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.b=azJhUrqY; 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id s188si672941qkd.53.2017.07.17.17.37.20 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 17 Jul 2017 17:37:21 -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; dkim=fail header.i=@gmail.com header.b=azJhUrqY; 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 Received: from localhost ([::1]:53201 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dXGVq-0004QW-SJ for patch@linaro.org; Mon, 17 Jul 2017 20:37:18 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33673) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dXGRC-0000YX-Pk for qemu-devel@nongnu.org; Mon, 17 Jul 2017 20:32:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dXGRB-0004pq-PG for qemu-devel@nongnu.org; Mon, 17 Jul 2017 20:32:30 -0400 Received: from mail-qt0-x243.google.com ([2607:f8b0:400d:c0d::243]:36644) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dXGRB-0004pd-Kx for qemu-devel@nongnu.org; Mon, 17 Jul 2017 20:32:29 -0400 Received: by mail-qt0-x243.google.com with SMTP id l55so708808qtl.3 for ; Mon, 17 Jul 2017 17:32:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=az3/JGKS67IbDnoWnvCKb3RrFOgis0fb5BKGzGz2RoM=; b=azJhUrqYcDeXUIxcCQ7qYXbQCfCVMst4OWOqXn+fKzHNgwsUxHp9t9eV5+IkSoaZPU GW7jhMb30wlDtWbzg04O7e04A0Kk0Yg5KQ+N7747vxANceVn74uSZk4Wj5XreinwHFoa onXONUIz/EBVlEfzQelQP+0qhrnZTn0EBCKVKItRYjV7IbUnR4ce9EuotZSWizzArfKR 87Cdp4TRJCL+vExVDeijuN3qDjALGvZph7bFf9acm191To8yK96r/dGrswmX5V6HcTdM yOQxpbya7L0e2XaQxgcLSqoSSC4McobcdmiZqkJidPuEddlZ3Sf/DHI8PR2EP7fE7Ir0 /gHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=az3/JGKS67IbDnoWnvCKb3RrFOgis0fb5BKGzGz2RoM=; b=hL0+m5pq7prUAx+qX5kIRs+2iLgt6Yn3nTElBPl9YS+2XamafehWEXZ1+SVDh9feCt BsN+cfAGXLsjhGYGOv5dIZTX0FMEEOXutRsL4DSUshktfWOHSOniplSyDHXfe+N3tCVv gmEDsE2u5+cZOYUdQga6Kfe8Vet2NlRWqzkVzyk+r8Ru2hX2YJg4bgX+epzjF95xwvvY IHe0QgpZz79eqbXvq9gXk4ss64TnXgUPrvJRD9ONNd9WHZ7G618Lr7mHBpv4OdFcecm2 5m2WRWDrCIXdizF1jUju/UxYLfVadpBmJJNIACakhL7213sv1u3wAmWB/n2hRnH0jUIj wDEQ== X-Gm-Message-State: AIVw113ZHwcJoyil4yf8cBl6sLQAhExrgdnJYDbyU1Ip+6iVBavL3tS1 5nm3+2/owCraUZotwHo= X-Received: by 10.200.11.65 with SMTP id m1mr235372qti.229.1500337949064; Mon, 17 Jul 2017 17:32:29 -0700 (PDT) Received: from yoga.offpageads.com ([138.117.48.223]) by smtp.gmail.com with ESMTPSA id d14sm548638qtc.58.2017.07.17.17.32.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Jul 2017 17:32:28 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: =?utf-8?q?Alex_Benn=C3=A9e?= , Fam Zheng , Peter Maydell Date: Mon, 17 Jul 2017 21:31:31 -0300 Message-Id: <20170718003159.10200-4-f4bug@amsat.org> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170718003159.10200-1-f4bug@amsat.org> References: <20170717144848.11793-1-alex.bennee@linaro.org> <20170718003159.10200-1-f4bug@amsat.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::243 Subject: [Qemu-devel] [PATCH v2 03/31] docker: include python-yaml 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: qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Alex Bennée Although the upstream Travis images don't need this library our "travis-lite" scripts are written in python. This allows us to do: make docker-travis@travis J=10 and approximate a travis run on their default image. Signed-off-by: Alex Bennée Reviewed-by: Fam Zheng --- tests/docker/dockerfiles/travis.docker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.13.2 diff --git a/tests/docker/dockerfiles/travis.docker b/tests/docker/dockerfiles/travis.docker index e4983ae2d3..a315f66ad9 100644 --- a/tests/docker/dockerfiles/travis.docker +++ b/tests/docker/dockerfiles/travis.docker @@ -2,5 +2,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 dh-autoreconf +RUN apt-get -y install python2.7 python-yaml dh-autoreconf ENV FEATURES pyyaml From patchwork Tue Jul 18 00:31:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 108035 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp5202787qge; Mon, 17 Jul 2017 17:34:54 -0700 (PDT) X-Received: by 10.200.58.4 with SMTP id w4mr274260qte.188.1500338094111; Mon, 17 Jul 2017 17:34:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500338094; cv=none; d=google.com; s=arc-20160816; b=rwxAcTY662HXYZ4inrN/P+twH5QzfhBvwVgrj+F/M5d0yDiYpOJ8kjG9gHng3AyXPF rc9xJFzX51kP1fLWgKuufBNsqwe1HfdcV8Umb5zCh7MhDivKGr9vgg+IkVUT+P1pWVKC bLWf65fRm2eCWRkkCg5zaEI9Mw8qasXZ0UTw3fxL3/2Khvcfbyv4yTzGTJkVnFrW7eej Yan8aDRiCp1J3k3Lah22gZeafeFq5yaBYMbyepuJ5tWGHLGwxh9Nttp/mtHcD7a0PHnq Z7rpqH1Ss4aZzCuFvoquxJf/VKDGnrtr+QTBcoe7OcOU0uxUBI+kHjs57h7JnDzu3HWD 0SKg== 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:dkim-signature:arc-authentication-results; bh=Nzh6REmCafUKo36fy026c0d84jqlLbyjdMUjLF3yUIw=; b=MnJw/4Mey4128YO+iUFpX7gRJ2IvwNc1bOu4ETiobxdguKLkKlhHL0HsTNuqbLQriN nrF/c20OneIXl9Nl/XBdlJP4PME9u30/G/X60y+Qlg7iBv9MO6Jsl1piQS0+4rO32dSf uUSbXz4rAvenOjAVls7VEo+oVr+H7O0nz1cLkWXc1kHphvqpBXoS61HXgR7Z/Kr1QIHL 51rZOf3oEzd4gedzhQq+LqOwgx104NFm+taPRUom6a/qtGxE2qGp48LTRaP20GKX7X5x 6CR87RmWBS+9STc9C2r52oa658+eABAtS94Alndo/aKctSJi/HmvUOB2wwasj6qyJOev mpHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.b=GlmLxrgv; 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id e128si630294qkc.302.2017.07.17.17.34.53 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 17 Jul 2017 17:34:54 -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; dkim=fail header.i=@gmail.com header.b=GlmLxrgv; 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 Received: from localhost ([::1]:53186 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dXGTT-00022e-HU for patch@linaro.org; Mon, 17 Jul 2017 20:34:51 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33722) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dXGRI-0000d2-01 for qemu-devel@nongnu.org; Mon, 17 Jul 2017 20:32:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dXGRD-0004qt-Va for qemu-devel@nongnu.org; Mon, 17 Jul 2017 20:32:35 -0400 Received: from mail-qt0-x241.google.com ([2607:f8b0:400d:c0d::241]:34054) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dXGRD-0004qZ-QI for qemu-devel@nongnu.org; Mon, 17 Jul 2017 20:32:31 -0400 Received: by mail-qt0-x241.google.com with SMTP id 19so730585qty.1 for ; Mon, 17 Jul 2017 17:32:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Nzh6REmCafUKo36fy026c0d84jqlLbyjdMUjLF3yUIw=; b=GlmLxrgvl3mjSvsU/DuT66jTEazajfqUybiYOga4eJxe4ez/U2cf3rAhmx+IcpUBF2 vfmc9n+SF0j4ix0RwzhBqPEFlTwynCAb/10s9NeqtifMQpAJy779Wll7i1opTfdxsfk6 3iBhaGajlaX4jxtX8JgTKfBA0tvx7jB4v0D+yIkrxU6vQT3ef8/9ivc1dzPi5xLCe4LL bCxuEYQ1L30Ex8eIiVIvw+oM/8a7QQzcMxUw1wY19D6feVhdKi8U2ynpyB6PqxofLmnD sswU82u82tTyHvvMoqJwC6jCZJ73sjvMUrTsQTmUAqAfJbXcOCf/mlX9DodvOAHtrpI6 h3YA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=Nzh6REmCafUKo36fy026c0d84jqlLbyjdMUjLF3yUIw=; b=ZVBxzblWpA2YRi/TYKkL4Qmaj8r/Ihsbj+2pqp9H+SinCUySbAWsbYyBqTFfHlFdSD DooUnehklU9svGhtN1ZIDaHQSe16/pFQJXTe9Fg2Poqq+h74YRgaaCArn9z4rSVHWFjM 3u2ZhnIn4Zlxc7xYvTqxutGtH1EUPviL+jHTGWoJSb7+fK76D5/Wz9jTDbB2KLNA+Flj vb8cdv/9Iapk2ux2cHHncrnxbOzwVlyRme3IFfWZeglMuhSHga/JPQ/h0SEN5xgfIid0 XMoaqIKaanl6mkdp+LqYdU8m0Vw3D7b4N03woIW96zr2rz1Y/AuozyTN6PKwpW2uMBGO ZH/A== X-Gm-Message-State: AIVw113fFh/QJsL8TboQjpsPmEyLEnKp0+0rhrqRFPfFtYOT2mj32tys owJJXQieZpe30w== X-Received: by 10.237.57.8 with SMTP id l8mr270025qte.170.1500337951297; Mon, 17 Jul 2017 17:32:31 -0700 (PDT) Received: from yoga.offpageads.com ([138.117.48.223]) by smtp.gmail.com with ESMTPSA id d14sm548638qtc.58.2017.07.17.17.32.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Jul 2017 17:32:30 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: =?utf-8?q?Alex_Benn=C3=A9e?= , Fam Zheng , Peter Maydell Date: Mon, 17 Jul 2017 21:31:32 -0300 Message-Id: <20170718003159.10200-5-f4bug@amsat.org> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170718003159.10200-1-f4bug@amsat.org> References: <20170717144848.11793-1-alex.bennee@linaro.org> <20170718003159.10200-1-f4bug@amsat.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::241 Subject: [Qemu-devel] [PATCH v2 04/31] docker: add debug tools to 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: qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Alex Bennée When a test fails/hangs you don't want the hassle of getting the debug tools installed. Lets install them on our image by default so we can debug when we need to. Signed-off-by: Alex Bennée Reviewed-by: Fam Zheng --- tests/docker/dockerfiles/travis.docker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.13.2 diff --git a/tests/docker/dockerfiles/travis.docker b/tests/docker/dockerfiles/travis.docker index a315f66ad9..636fa590a5 100644 --- a/tests/docker/dockerfiles/travis.docker +++ b/tests/docker/dockerfiles/travis.docker @@ -2,5 +2,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 +RUN apt-get -y install python2.7 python-yaml dh-autoreconf gdb strace lsof net-tools ENV FEATURES pyyaml From patchwork Tue Jul 18 00:31:51 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 108037 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp5214870qge; Mon, 17 Jul 2017 17:48:14 -0700 (PDT) X-Received: by 10.55.9.9 with SMTP id 9mr264274qkj.53.1500338894369; Mon, 17 Jul 2017 17:48:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500338894; cv=none; d=google.com; s=arc-20160816; b=BxGcl7XGx0ca4g2QoSOHnXyrFDReS47rj5igfkfPV1u80BzBevRMDh3A3xbuV6hvlG ZTFu10Zp2Z2+p17IEv6hAd3NnmK48lmxf2ZPcHFrjgHdWUm7jG3ZIZpXe+hs0cKNYJwS bz2OmE81DBRNdZPeichjIZYv+sCQ1l0CBgMKXPUt6qiM9MYotwHDQffUyCfu4usbdREF G0y/+eHPbfNjAmSkvpg3uCfrV+KEwjslYPvcqqJNpRcNBRHx8o/JUkqDn+GHgpIK5vEh 6s6auzA4ZmSx6JyyBglqu5CidFFsBVlaoM4gq+BZamy9PuNRr69SRpGbYgcB/D1Wm9C1 ZalQ== 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:dkim-signature:arc-authentication-results; bh=o7SmzasNVaKkZ1fWIgVLfREHCd2dwI7BB9JB6WdvaLk=; b=YRhyxXsCiva3JCIW7eqeSxr4Ml1WbzgydhOo02hkmwdkBfrUljbb6/UlGu9C4Q+3Cu oL+i7S8mQawSdiDGDcWp8vFJaE++3pHnuynQTR7dqp4krIhlmXXL7PXxVbNHQeGwAWoc le4JXghxMNcES+SZWrSchiktshAJMa2qWmlD1Jgp6iOucqqq8/wnJrp2OtSZXD1/lXdy cyfkLxO1j2+DMOazkRPTpxXCd6P6RHcD4GhzsRlYslLpaxRn/y0hg8nw9mx+7vAsFrur v9GSRxA+EV/I8oyj0CayUC1wESB6/yX5TBdYDbEnUkamQMEPPMhFTKQ6nM/WWZkDZj9c 2Mgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.b=UahYVqRX; 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id i44si661732qtc.310.2017.07.17.17.48.14 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 17 Jul 2017 17:48:14 -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; dkim=fail header.i=@gmail.com header.b=UahYVqRX; 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 Received: from localhost ([::1]:53250 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dXGgN-0006Sf-Vq for patch@linaro.org; Mon, 17 Jul 2017 20:48:12 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34323) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dXGS9-0001N8-UX for qemu-devel@nongnu.org; Mon, 17 Jul 2017 20:33:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dXGS8-0005QU-8U for qemu-devel@nongnu.org; Mon, 17 Jul 2017 20:33:29 -0400 Received: from mail-qt0-x242.google.com ([2607:f8b0:400d:c0d::242]:35218) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dXGS8-0005QL-3z for qemu-devel@nongnu.org; Mon, 17 Jul 2017 20:33:28 -0400 Received: by mail-qt0-x242.google.com with SMTP id h15so717935qte.2 for ; Mon, 17 Jul 2017 17:33:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=o7SmzasNVaKkZ1fWIgVLfREHCd2dwI7BB9JB6WdvaLk=; b=UahYVqRXafbecqk0l1bMlqeB4H6EQe48aWk8ono/NvK9NQlJXdxYU4Hc7lWPR/NJTV clDJ8oA0EIkqcjGJhF6CRxSgJl6ezpaHCWL8578nrRZAjjcFscDvkJfZxAdDyUBsSPUU x5uE4HQgxtN6mnqklUfrsm1nCVUJESMKYhCDCa25th/iXpmMfZDdPJ2CP7e520sCO1mP SnwiEiRzSZIjf6NLx3KsTZ71O4KkKKlLMGCOvc+M1wL2CEwf1ozF1RxtrxdrEB+6ASIO eK70d8a7iVrhYo0diaBDTCaxbPpW5GqpOWV1W4tPBOdF7ctF0qBKFTeKDO2WH7pUpVzz ynuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=o7SmzasNVaKkZ1fWIgVLfREHCd2dwI7BB9JB6WdvaLk=; b=RW2ZT6fLLZ0WAGjPfvY5lMhPyYi1ZjR58nhvx0Ls5sxEB4d/qd9qx5DBhXRZzxQV7y d6R9hMLA/LQw8Pr6FtoteizhxjGGe+XX8cQkS1KPFLcqVg1TOWaQNKjF0h5Y1NquAGpm 98zatPakiFCxzV6tiWHxi1jf/5SUAH8W8iaScTnCLokppcH1EFiRGRYg0nKeIAOL3JXL 004d0buVKXHmMY1I04lBfoW1NHIu81jt/rAHb+oqaahHFLZN3xIksslbfXpsvJOuZA7n py//NcyxcE1UU1FE0McGjRY9UcaG9t1MCZgNq4UhlgMGDUJSQHsoeo66hjGXvqxHHdlw UbrA== X-Gm-Message-State: AIVw110+h4PiG8awwBghMR1Z6CgubxrKWG9zPhUltha0MpXdX2XZKPNo eeY4fkmGsCB4Tw== X-Received: by 10.200.11.65 with SMTP id m1mr238826qti.229.1500338007658; Mon, 17 Jul 2017 17:33:27 -0700 (PDT) Received: from yoga.offpageads.com ([138.117.48.223]) by smtp.gmail.com with ESMTPSA id d14sm548638qtc.58.2017.07.17.17.33.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Jul 2017 17:33:27 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: =?utf-8?q?Alex_Benn=C3=A9e?= , Fam Zheng , Peter Maydell Date: Mon, 17 Jul 2017 21:31:51 -0300 Message-Id: <20170718003159.10200-24-f4bug@amsat.org> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170718003159.10200-1-f4bug@amsat.org> References: <20170717144848.11793-1-alex.bennee@linaro.org> <20170718003159.10200-1-f4bug@amsat.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::242 Subject: [Qemu-devel] [PATCH v2 23/31] docker: add debian/powerpc based on Jessie 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: qemu-devel@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Alex Bennée Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alex Bennée [AJB: split from merged patch] Signed-off-by: Alex Bennée --- tests/docker/Makefile.include | 3 ++ .../docker/dockerfiles/debian-powerpc-cross.docker | 40 ++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 tests/docker/dockerfiles/debian-powerpc-cross.docker -- 2.13.2 diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index b5eec5dc68..202efe9ee6 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -55,12 +55,15 @@ docker-image-%: $(DOCKER_FILES_DIR)/%.docker $(if $(EXECUTABLE),--include-executable=$(EXECUTABLE)),\ "BUILD","$*") +docker-image-debian-powerpc-cross: EXTRA_FILES:=tests/docker/dockerfiles/debian-apt-fake.sh + # Enforce dependancies for composite images docker-image-debian-amd64: docker-image-debian9 docker-image-debian-armel-cross: docker-image-debian9 docker-image-debian-armhf-cross: docker-image-debian9 docker-image-debian-arm64-cross: docker-image-debian9 docker-image-debian-mipsel-cross: docker-image-debian9 +docker-image-debian-powerpc-cross: docker-image-debian8 docker-image-debian-ppc64el-cross: docker-image-debian9 docker-image-debian-s390x-cross: docker-image-debian9 diff --git a/tests/docker/dockerfiles/debian-powerpc-cross.docker b/tests/docker/dockerfiles/debian-powerpc-cross.docker new file mode 100644 index 0000000000..a5dd46b4ac --- /dev/null +++ b/tests/docker/dockerfiles/debian-powerpc-cross.docker @@ -0,0 +1,40 @@ +# +# Docker powerpc cross-compiler target +# +# This docker target builds on the debian Jessie base image. +# +FROM qemu:debian8 +MAINTAINER Philippe Mathieu-Daudé + +# Add the foreign architecture we want and install dependencies +RUN dpkg --add-architecture powerpc +RUN apt-get update +RUN DEBIAN_FRONTEND=noninteractive eatmydata \ + apt-get install -y --no-install-recommends \ + crossbuild-essential-powerpc + +# to fix "following packages have unmet dependencies" ... +ADD debian-apt-fake.sh /usr/local/bin/apt-fake +RUN apt-get install -y --no-install-recommends \ + equivs \ + pkg-config +RUN apt-fake install \ + pkg-config:powerpc=0.28-1.1-fake && \ + ln -s pkg-config /usr/bin/powerpc-linux-gnu-pkg-config +ENV PKG_CONFIG_PATH /usr/lib/powerpc-linux-gnu/pkgconfig +# + +# Specify the cross prefix for this image (see tests/docker/common.rc) +ENV QEMU_CONFIGURE_OPTS --cross-prefix=powerpc-linux-gnu- + +RUN DEBIAN_FRONTEND=noninteractive eatmydata \ + apt-get build-dep -yy -a powerpc qemu +RUN DEBIAN_FRONTEND=noninteractive \ + apt-get install -y --no-install-recommends \ + glusterfs-common:powerpc \ + libbz2-dev:powerpc \ + liblzo2-dev:powerpc \ + libncursesw5-dev:powerpc \ + libnfs-dev:powerpc \ + librdmacm-dev:powerpc \ + libsnappy-dev:powerpc