From nobody Tue Feb 10 02:00:29 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 150030430691374.71297056574531; Mon, 17 Jul 2017 08:11:46 -0700 (PDT) Received: from localhost ([::1]:50975 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dX7gU-0000sY-Hs for importer@patchew.org; Mon, 17 Jul 2017 11:11:42 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39364) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dX7Sg-0005dS-Uv for qemu-devel@nongnu.org; Mon, 17 Jul 2017 10:57:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dX7Sf-0005vn-Rm for qemu-devel@nongnu.org; Mon, 17 Jul 2017 10:57:27 -0400 Received: from mail-wm0-x22b.google.com ([2a00:1450:400c:c09::22b]:33804) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dX7Sf-0005vG-Lu for qemu-devel@nongnu.org; Mon, 17 Jul 2017 10:57:25 -0400 Received: by mail-wm0-x22b.google.com with SMTP id 70so22946705wmo.1 for ; Mon, 17 Jul 2017 07:57:25 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id 94sm1773680wrb.55.2017.07.17.07.57.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Jul 2017 07:57:23 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id EAEEA3E07A1; Mon, 17 Jul 2017 15:48:49 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Lff4B6WYB4WrxknVXye3gACTvYw0sB/wy0twGeKuE2E=; b=Q6waF2kqY2xDBTy7VULk9BM2RE3H34ROA6uAK756G8ipWA8F1KVkSR/b+Aj/iqjc4m 5FQyGj6DvCgPj4r77KiZrDlsVpdRzpAkuATG7uYgYphdiy6QOeVMZZsu5WXK4585QZ4V acxAPYEvZhVSv2LckXnOsYFMpLlN8BCr9Adic= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Lff4B6WYB4WrxknVXye3gACTvYw0sB/wy0twGeKuE2E=; b=R5UNyivpAMzOgyNWJ/xSO02V0g1b7X5atHOea2hXyaPz3GU30VfjdYi2DxVxPTDaoH gIqWGkAKwpOGOWdvUozC7K1yrj5i7VcyDItkfIprN9CEcoqTl5YZPH5X1SVF5AKz/GKL m3AbCeZ5QMlOvmjmIb9fP2EDfwGsWrFzLy3de/JITAqoBPYTWcxPWmX+nXQP29ft8C2E pqrOCRnEQL4lrvllR/lYGBDOSrqQJeLjZY7PRC9NgP+bJ/NSkQgD1bQjZy83/bcUIqP6 YTYsPfEHrT9xTlysNfw6a1jTzkTt04NsUO//JIT2GaMRlL1Z46W9GeVKefA1xl5we6kg gnPw== X-Gm-Message-State: AIVw111c0hJHqQfaBUjDLB+DzLn4PlCXqwGZbN4ydWuo6zej1v6WvDw9 fNHxhrP1eMxfec8i X-Received: by 10.28.65.66 with SMTP id o63mr5023728wma.71.1500303444535; Mon, 17 Jul 2017 07:57:24 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Mon, 17 Jul 2017 15:48:47 +0100 Message-Id: <20170717144848.11793-23-alex.bennee@linaro.org> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170717144848.11793-1-alex.bennee@linaro.org> References: <20170717144848.11793-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::22b Subject: [Qemu-devel] [PATCH v1 22/23] 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: Fam Zheng , =?UTF-8?q?Alex=20Benn=C3=A9e?= , qemu-devel@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Alex Benn=C3=A9e [AJB: split from merged patch] Signed-off-by: Alex Benn=C3=A9e --- 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 diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index 8d45551476..51496ba485 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -55,11 +55,14 @@ docker-image-%: $(DOCKER_FILES_DIR)/%.docker $(if $(EXECUTABLE),--include-executable=3D$(EXECUTABLE)),\ "BUILD","$*") =20 +docker-image-debian-powerpc-cross: EXTRA_FILES:=3Dtests/docker/dockerfiles= /debian-apt-fake.sh + # Enforce dependancies for composite images 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 docker-image-debian-amd64: docker-image-debian9 diff --git a/tests/docker/dockerfiles/debian-powerpc-cross.docker b/tests/d= ocker/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=C3=A9 + +# Add the foreign architecture we want and install dependencies +RUN dpkg --add-architecture powerpc +RUN apt-get update +RUN DEBIAN_FRONTEND=3Dnoninteractive 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=3D0.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=3Dpowerpc-linux-gnu- + +RUN DEBIAN_FRONTEND=3Dnoninteractive eatmydata \ + apt-get build-dep -yy -a powerpc qemu +RUN DEBIAN_FRONTEND=3Dnoninteractive \ + 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 --=20 2.13.0