From patchwork Mon May 8 04:56:57 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: 9715745 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id EB213602A0 for ; Mon, 8 May 2017 05:07:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DDE34200F5 for ; Mon, 8 May 2017 05:07:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D2FBD2040D; Mon, 8 May 2017 05:07:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 678E0200F5 for ; Mon, 8 May 2017 05:07:33 +0000 (UTC) Received: from localhost ([::1]:57678 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7atQ-00025D-Gm for patchwork-qemu-devel@patchwork.kernel.org; Mon, 08 May 2017 01:07:32 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36778) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7akK-0003Vq-Pr for qemu-devel@nongnu.org; Mon, 08 May 2017 00:58:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d7akH-0007pd-Rw for qemu-devel@nongnu.org; Mon, 08 May 2017 00:58:08 -0400 Received: from mail-qk0-x242.google.com ([2607:f8b0:400d:c09::242]:35359) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d7akH-0007pW-NU for qemu-devel@nongnu.org; Mon, 08 May 2017 00:58:05 -0400 Received: by mail-qk0-x242.google.com with SMTP id k74so8662116qke.2 for ; Sun, 07 May 2017 21:58:05 -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=OWQ21K7rPF2QixI26gHJN2iZ/ErYgXaZUgsuB2jgmF0=; b=Xo7+rS89f1V9EjYyFdoT0XTrtqUyN2OLOfjBHLNktnRksTqXepxot0SZp4q1yyj6JO IfDUza1EMfa/uqv0+ZhG/zS5nVVhTktRKyazf1Tl0U1j4JEqFi4ttUKjYjwqFi1sWECm 03APMR0cQISYTrq9LlEVcKT4Q+6l8tDo44kcCP/nDwLcrzBz6CwyTrzH0lhT6w77UPKy WBKAOly6j0blCfKBH6emtDF/QuC3dXoT1DegaXcXukDTk3CzdfgGDSEFqusARuKar3en xg1bhMKPq7MYLj8MemDeavGPBdvYlE9C3P5CNNnTJmq9R9+bV8QTvicXJ+6P/WSMVf2c j5cQ== 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=OWQ21K7rPF2QixI26gHJN2iZ/ErYgXaZUgsuB2jgmF0=; b=f1KVr6k6/7/Q5hoPZKrv3ms8onxRruEcqwqpAmpTG4HgtB4IirXnfiwH8tufR9nHZ6 Q2s3ZwFhO3rP2dSAVd+UXIISTUBh3BVDdSpKIW0FU3bX4WoE/l6O54n/kME5eJe6vXqX d7QNByCuZ9dgTLPqGpcL5emfd/x75z98wxyHdQpn2IscxHm6c1E+/ebNux7t+gIJjaRA h50pdv2RNGQGhFhiuZkmOzuDtix6D4xHKs/SqwMquOaM/dH3VWDtpxr1QFJ1zdpufbjG m19q6V9DQR6LSxWsjP4VfFrEA6fga1XSOTgL7oCEMy8K7BglJQa5J0ovsZInuSqdkF/C rDkA== X-Gm-Message-State: AN3rC/6XFLcp3ht4aFHoDebM4gL+HmWlVAd5SqR+V3rYdMxq5wY967lG Lje0FD6lMClXhw== X-Received: by 10.55.101.143 with SMTP id z137mr21856273qkb.50.1494219485130; Sun, 07 May 2017 21:58:05 -0700 (PDT) Received: from localhost.localdomain ([138.117.48.226]) by smtp.gmail.com with ESMTPSA id m188sm4358549qkc.5.2017.05.07.21.58.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 07 May 2017 21:58:04 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , Fam Zheng Date: Mon, 8 May 2017 01:56:57 -0300 Message-Id: <20170508045715.21770-6-f4bug@amsat.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170508045715.21770-1-f4bug@amsat.org> References: <20170508045715.21770-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:c09::242 Subject: [Qemu-devel] [PATCH 05/23] docker: compact debian armhf 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: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Philippe Mathieu-Daudé --- tests/docker/dockerfiles/debian-armhf-cross.docker | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tests/docker/dockerfiles/debian-armhf-cross.docker b/tests/docker/dockerfiles/debian-armhf-cross.docker index 668d60aeb3..533e525971 100644 --- a/tests/docker/dockerfiles/debian-armhf-cross.docker +++ b/tests/docker/dockerfiles/debian-armhf-cross.docker @@ -6,10 +6,12 @@ FROM qemu:debian # Add the foreign architecture we want and install dependencies -RUN dpkg --add-architecture armhf -RUN apt update -RUN apt install -yy crossbuild-essential-armhf -RUN apt-get build-dep -yy -a armhf qemu +RUN dpkg --add-architecture armhf && \ + apt-get update && \ + DEBIAN_FRONTEND=noninteractive eatmydata apt-get install -y --no-install-recommends \ + crossbuild-essential-armhf # Specify the cross prefix for this image (see tests/docker/common.rc) ENV QEMU_CONFIGURE_OPTS --cross-prefix=arm-linux-gnueabihf- + +RUN DEBIAN_FRONTEND=noninteractive eatmydata apt-get build-dep -yy -a armhf qemu