[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 15/15] tests/docker/Makefile.include: snapsho
From: |
Fam Zheng |
Subject: |
Re: [Qemu-devel] [PATCH v2 15/15] tests/docker/Makefile.include: snapshot the src for docker |
Date: |
Wed, 2 Mar 2016 11:38:50 +0800 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Tue, 03/01 20:16, Alex Bennée wrote:
>
> Fam Zheng <address@hidden> writes:
>
> > From: Alex Bennée <address@hidden>
> >
> > Instead of providing a live version of the source tree to the docker
> > container we snapshot it with git-archive. This ensure the tree is in a
> > pristine state for whatever operations the container is going to run on
> > them.
> >
> > Uncommitted changes known to files known by the git index will be
> > included in the snapshot if there are any.
> >
> > Signed-off-by: Alex Bennée <address@hidden>
> > [Generate an unique directory under /tmp/ - Fam Zheng]
>
> But the docker-run-% rule never uses the source copy we just made.
I failed in Makefile magic: pattern rules and dynamically generated rules
mustn't be used mixed, otherwise the former will be ignored. Will fix.
Fam