From: Lucas De Marchi Date: Wed, 8 Feb 2012 03:51:17 +0000 (-0200) Subject: build-sys: add rule to pack rootfs X-Git-Tag: v6~30 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=995627d04eb73abd689ba243c058616d4dfd3b58;p=platform%2Fupstream%2Fkmod.git build-sys: add rule to pack rootfs --- diff --git a/Makefile.am b/Makefile.am index e847c5d..141c102 100644 --- a/Makefile.am +++ b/Makefile.am @@ -157,6 +157,11 @@ testsuite_init_module_la_LIBADD = libkmod/libkmod-private.la testsuite-distclean: -rm -rf testsuite/rootfs +testsuite-pack-rootfs: + $(AM_V_GEN) ( cd testsuite && tar -cJf \ + $(abs_top_srcdir)/testsuite/rootfs.tar.xz \ + rootfs ) + DISTCLEAN_LOCAL_HOOKS += testsuite-distclean EXTRA_DIST += testsuite/rootfs.tar.xz diff --git a/testsuite/README b/testsuite/README index e7e58b2..d5843bf 100644 --- a/testsuite/README +++ b/testsuite/README @@ -50,7 +50,7 @@ pay attention when writing a test: expected not to be 0. 7 - If you added files to the rootfs, be sure to compact it back to - rootfs.tar.xz before sending patches. + rootfs.tar.xz before sending patches: use 'make testsuite-pack-rootfs' 8 - Tests can be run individually, outside of 'make check'. strace and gdb work too, as long as you tell them to operate on child process.