From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-22.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5C72CC4338F for ; Wed, 25 Aug 2021 02:00:55 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A145E61357 for ; Wed, 25 Aug 2021 02:00:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org A145E61357 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2334D82900; Wed, 25 Aug 2021 04:00:52 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="JmIHoa36"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0E7DF82D95; Wed, 25 Aug 2021 04:00:50 +0200 (CEST) Received: from mail-qk1-x72a.google.com (mail-qk1-x72a.google.com [IPv6:2607:f8b0:4864:20::72a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 6DA3B80A22 for ; Wed, 25 Aug 2021 04:00:45 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qk1-x72a.google.com with SMTP id m21so25430801qkm.13 for ; Tue, 24 Aug 2021 19:00:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=+Yj9Ue9r1q0bWq+6HT9lDu/ZIqvMpWwkKKFDjlF8p9s=; b=JmIHoa368u8TkMoxJegt/2tivcrFrnbhrOwqpsRWqiatQAicSWM1SwUldMI6QnhGAD gcpbsn34VOkAAPmndT3rsh4vbtXvGyCFG59xjQ7Zo3bbvIcTSLgPiE6vyIgEcIuANY85 XWcZefoF4dbf/RMSKDuTDa+B5wShCokoPQ1eU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=+Yj9Ue9r1q0bWq+6HT9lDu/ZIqvMpWwkKKFDjlF8p9s=; b=hnRfa5DdmWoxf0LLWwQ9KNGdTgefIIz78Ikq04ZptUyFe/Vk+WiUvJLam/lPjwFNbX /vz7Gyfv8rta5zF/DiQFo4+BcF08MPzJwXVKMlGZTc9ltchd2pHe3eus41L89EV/8OVL YnSYEDuAIvb5AAI6Lr89aP5MvFTpmIV7YTujd+AkUB4LauwG4Qw7v6upuzjV+IPIUyxG ue3Q5+6FwqV07Is5aEq2kDWfFniyoDFULQZHaATw7X5XH6it3H1iXRIVh82tJAn8toh4 yneGX55mcjzMpe0EKWyFWvmFgdopsQt932F/Cn9zzSKGBWIbJh9BuMu31mdjlxhb6lN2 2UdQ== X-Gm-Message-State: AOAM532q3yYL3AfQQx2jwQINnyS9ng0xLVdEv+hccrlppKoc8vOkuPE3 Hs2gwu6mgaBmzocQe80uvJWegQ== X-Google-Smtp-Source: ABdhPJzlNVO/fuO1WBcneCQ16+N14oDtJRDL3Hq3AhQqX+Q3jrpEoYA1bR8EAH30jtYZSZ/SRkyNEQ== X-Received: by 2002:a37:803:: with SMTP id 3mr29819590qki.127.1629856844178; Tue, 24 Aug 2021 19:00:44 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-48fb-97cb-8afe-8d4e.res6.spectrum.com. [2603:6081:7b01:cbda:48fb:97cb:8afe:8d4e]) by smtp.gmail.com with ESMTPSA id g1sm9609572qti.56.2021.08.24.19.00.43 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Aug 2021 19:00:43 -0700 (PDT) Date: Tue, 24 Aug 2021 22:00:41 -0400 From: Tom Rini To: Bin Meng Cc: u-boot@lists.denx.de Subject: Re: [PATCH 2/4] tools: docker: Build and install genimage Message-ID: <20210825020041.GN858@bill-the-cat> References: <20210825000520.19368-1-bmeng.cn@gmail.com> <20210825000520.19368-2-bmeng.cn@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Tuq6b8qZs+o1YMet" Content-Disposition: inline In-Reply-To: <20210825000520.19368-2-bmeng.cn@gmail.com> X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.9.4 (2018-02-28) X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean --Tuq6b8qZs+o1YMet Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 25, 2021 at 08:05:18AM +0800, Bin Meng wrote: > genimage [1] is a tool to create flash/disk images. This is required > by some targets, e.g.: sifive_unleashed, to generate sdcard or spi-nor > images for real hardware, as well as U-Boot CI testing. >=20 > [1] https://github.com/pengutronix/genimage >=20 > Signed-off-by: Bin Meng > --- >=20 > tools/docker/Dockerfile | 9 +++++++++ > 1 file changed, 9 insertions(+) >=20 > diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile > index be6d7dd4dc..8e558ca495 100644 > --- a/tools/docker/Dockerfile > +++ b/tools/docker/Dockerfile > @@ -60,6 +60,7 @@ RUN apt-get update && apt-get install -y \ > iasl \ > imagemagick \ > iputils-ping \ > + libconfuse-dev \ > libgit2-dev \ > libguestfs-tools \ > liblz4-tool \ > @@ -172,6 +173,14 @@ RUN git clone https://gitlab.com/lbmeng/qemu.git /tm= p/qemu && \ > make -j$(nproc) all install && \ > rm -rf /tmp/qemu > =20 > +# Build genimage (required by some targets to generate disk images) > +RUN wget -O - https://github.com/pengutronix/genimage/releases/download/= v14/genimage-14.tar.xz | tar -C /opt -xJ && \ > + cd /opt/genimage-14 && \ > + ./configure && \ > + make -j$(nproc) && \ > + make install && \ > + rm -rf /opt/genimage-14 > + If we're building, we should do it in /tmp like the rest of the recipe does. --=20 Tom --Tuq6b8qZs+o1YMet Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmElpEMACgkQFHw5/5Y0 tyxlTwv8C2J7sQQ0HcptEYTiTwBXAeH5iNfgWQ1zutrOs6mg0bAA+lIIYzCv2C7q sebScumyGYACFqnWD+4VfMopnx/bfhzLK1TRX1OsuqZRdUIBf+qBVgBYE7aeo+j1 aoNukz0aNqvCdTy/9zUcJzmOo7Kx00+N6E3JjjhT9Dd6MkXVsbZY1B92kRLzWqLK kWVBDxmBriqzHcNA2zgBEZ/suI+drKssvENTpa1QFjYJcppS9w73OevsA3cvQoL6 pLnBRMc1yMAMn3IJQvJGw66VB/SK1SSvq3mNPvu4iac0SIiyjKzIoJBoMNb/2IqE 5CVs4aDHtH+tA128NZwfxguA5/PLSrNop8RkoQNsg+MNAz+5n9GermjJW98AW2t9 87PxSazw6vGKi6+D6In4iPmt5FDjclq9w13OtJ4ENojo/i7CjxpNvHwrud+v6SAE MP/q0IovyudGvliwE/1rzA7lwT5w6b9DJbpjJATfLrmY0hsapA+/fcjsRVduOoP8 rkmv2l+6 =NBQo -----END PGP SIGNATURE----- --Tuq6b8qZs+o1YMet--