[U-Boot] [PATCH] Dockerfile: Build a copy of QEMU and install it under /opt

Tom Rini trini at konsulko.com
Thu Jul 25 20:35:34 UTC 2019


On Thu, Jul 25, 2019 at 10:14:04PM +0200, Heinrich Schuchardt wrote:
> On 7/25/19 9:17 PM, Tom Rini wrote:
> >On Wed, Jul 24, 2019 at 03:56:21PM -0400, Tom Rini wrote:
> >>On Wed, Jul 24, 2019 at 03:51:14PM -0400, Tom Rini wrote:
> >>
> >>>In order to run our test.py suite on a number of platforms in CI we use
> >>>QEMU.  Configure and build a copy here so that all our jobs can rely on
> >>>it as our code is under test and not QEMU.
> >>>
> >>>Signed-off-by: Tom Rini <trini at konsulko.com>
> >>
> >>I looked into using the artifact method in GitLab.  The problem there is
> >>that artifacts are stored within the job and kept.  So rather than a
> >>stand-alone project that we can reference and pass we would build it
> >>once per pipeline and pass it, but then store it until we purge things
> >>later when we notice gitlab.denx.de is out of space.  Going this route I
> >>think makes the most sense for what we do.  It does remove the ability
> >>to roll back a single platform (or platforms) to an older QEMU but I'm
> >>not sure that's a big deal and we COULD re-do that as needed.  Over at
> >>https://gitlab.denx.de/u-boot/u-boot/pipelines/324 all QEMU platforms
> >>pass again so we can use the latest version which allows evb-ast2500 to
> >>be used.
> >
> >Heinrich, what do you think about extending this for GRUB binaries for
> >test.py?
> >
> Hello Tom,
> 
> it saves a lot of CPU time if GRUB and QEMU are not built for every
> single push to the U-Boot git. It should be sufficient to build them
> once per release cycle or on demand.
> 
> So GRUB should be built in the Dockerfile.
> 
> I would currently use GRUB 2.04 as reference release.

Can you please do a follow-up patch to do so, for all platforms we need
a copy of GRUB for to test with?  Thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190725/841582cc/attachment.sig>


More information about the U-Boot mailing list