[CRIU] [PATCH 2/2] travis: fix rawhide test by also installing sudo

Andrei Vagin avagin at virtuozzo.com
Wed Jul 11 01:15:46 MSK 2018


On Tue, Jul 10, 2018 at 11:09:11PM +0100, Radostin Stoyanov wrote:
> On 09/07/18 07:28, Adrian Reber wrote:
> > From: Adrian Reber <areber at redhat.com>
> >
> > Signed-off-by: Adrian Reber <areber at redhat.com>
> > ---
> >  scripts/build/Dockerfile.fedora.tmpl | 5 +++++
> >  1 file changed, 5 insertions(+)
> >
> > diff --git a/scripts/build/Dockerfile.fedora.tmpl b/scripts/build/Dockerfile.fedora.tmpl
> > index 9e30da8..d255079 100644
> > --- a/scripts/build/Dockerfile.fedora.tmpl
> > +++ b/scripts/build/Dockerfile.fedora.tmpl
> > @@ -29,6 +29,7 @@ RUN dnf install -y \
> >  	python3-future \
> >  	python3-protobuf \
> >  	python3-junit_xml \
> > +	sudo \
> >  	tar \
> >  	which \
> >  	e2fsprogs \
> > @@ -48,4 +49,8 @@ WORKDIR /criu
> >  ENV CCACHE_DIR=/tmp/.ccache CCACHE_NOCOMPRESS=1 $ENV1=yes
> >  RUN mv .ccache /tmp && make mrproper && ccache -sz  && \
> >  	date && make -j $(nproc) CC="$CC" && date && ccache -s
> > +
> > +# The rpc test cases are running as user #1000, let's add the user
> > +RUN adduser -u 1000 test
> > +
> >  RUN make -C test/zdtm -j $(nproc)
> ACK

Radostin, please write a full tag, otherwise the patchwork will not
proper handle them.

Acked-by: Radostin Stoyanov <rstoyanov1 at gmail.com>


More information about the CRIU mailing list