[CRIU] [PATCH 01/11] .gitignore -- Add back files to ignore

Dmitry Safonov dsafonov at virtuozzo.com
Mon Feb 15 08:14:34 PST 2016


On 02/15/2016 04:26 PM, Cyrill Gorcunov wrote:
> Have been removed while developing criu-2
> series, need to check that they are cleaned
> during "clean" stage.
Oh, BTW, do you have criu binary cleaned?
Here what I got:
$ make
<...>
$ make clean
   CLEAN    images
   CLEAN    arch/x86
   CLEAN    pie
   CLEAN    .
   CLEAN    pie/piegen
   CLEAN    pie
   CLEAN    lib-c
   CLEAN    c
   CLEAN    lib-py
   CLEAN    criu
$ git status
On branch master
Untracked files:
   (use "git add <file>..." to include in what will be committed)

     criu/criu

The following fixes it for me, but I'm not sure, it should be
added at this place:
 >8------------------------------------------------------8<
diff --git a/criu/Makefile.crtools b/criu/Makefile.crtools
index fdb9116..8f089c0 100644
--- a/criu/Makefile.crtools
+++ b/criu/Makefile.crtools
@@ -91,3 +91,4 @@ protobuf-desc-gen.h: $(PROTOBUF_GEN) 
include/protobuf-desc.h
         $(Q) $(SH) $(PROTOBUF_GEN) > $@

  cleanup-y += protobuf-desc-gen.h
+cleanup-y += criu

-- 
Regards,
Dmitry Safonov



More information about the CRIU mailing list