Commit Graph

18 Commits

Author SHA1 Message Date
Julien Thierry 60bdd3435b Makefile: Add test and utility scripts to files to check
Signed-off-by: Julien Thierry <jthierry@redhat.com>
2020-06-04 20:30:28 +01:00
Artem Savkov c08351ec24 Add vagrant-install target
Add a target to install vagrant, make sure the user is given a warning
and a chance to cancel this operation.

Signed-off-by: Artem Savkov <asavkov@redhat.com>
2018-11-08 09:04:38 +01:00
Artem Savkov f43b061bb4 Integration tests with vagrant
This commit adds scripts/make targets to run integration tests on
fedora/ubuntu/centos through vagrant.

Signed-off-by: Artem Savkov <asavkov@redhat.com>
2018-10-30 10:56:19 +01:00
Artem Savkov f34bb2cfd7 Top-level integration test make targets
Add integration_slow and integration_quick make targets to top-level
makefile.

Signed-off-by: Artem Savkov <asavkov@redhat.com>
2018-10-30 09:48:19 +01:00
Artem Savkov 1ada45a352 unittests: top-level make target
Add new 'unit' make target to top-level makefile.
Add unittests dir to CLEAN_DIRS.

Signed-off-by: Artem Savkov <asavkov@redhat.com>
2018-04-13 18:11:51 +02:00
Simon Ruderich 554e8839e3 Makefile: add check target to run shellcheck 2017-10-13 08:52:16 +02:00
Simon Ruderich 14706bcd4d Makefile: add missing .PHONY targets 2017-10-13 08:51:23 +02:00
Josh Poimboeuf eb1bd13278 kpatch: install to initrd and load patch modules on boot
When doing "kpatch install", copy the patch modules to the initrd and
install a dracut hook which calls "kpatch apply --all".
2014-04-01 15:47:22 -05:00
Udo Seidel fd11e9f5d6 added man pages and updated SPEC file 2014-03-25 08:36:20 +01:00
Seth Jennings 5932f0d083 add uninstall target
Make it easy to clean up an install

Signed-off-by: Seth Jennings <sjenning@redhat.com>
2014-03-20 11:29:25 -05:00
Josh Poimboeuf 62de820aab proper makefile support
- setup the makefiles to support "make" and "make install", which builds
  the kpatch-build tools and installs everything in /usr/local.
- update kpatch-build to support new paths
- add "kpatch build" wrapper around kpatch-build
2014-02-13 16:02:10 -06:00
Josh Poimboeuf 4f27b9ae31 functional reorganization
Organize the files functionally:
- kmod/core: core kmod source
- kmod/patch: patch kmod source
- kpatch: kpatch script
- kpatch-build: kpatch build script and supporting tools
- contrib: distro-related files
2014-02-13 11:00:06 -06:00
Seth Jennings 7340fde7b5 remove target 'test' from Makefile
Signed-off-by: Seth Jennings <sjenning@redhat.com>
2014-02-11 12:04:56 -06:00
Seth Jennings 069a5dbad7 don't build kpatch-files from primary Makefile
Signed-off-by: Seth Jennings <sjenning@redhat.com>
2014-02-11 10:28:00 -06:00
Seth Jennings 6ab1273021 major rewrite to per-section function/data model
Signed-off-by: Seth Jennings <sjenning@redhat.com>
2014-02-11 10:25:48 -06:00
Josh Poimboeuf 8483c73b92 rename kpatch-gen to kpatch-diff-gen 2013-01-18 10:45:58 -06:00
Josh Poimboeuf e9e4563a80 one click support! 2013-01-17 18:10:01 -06:00
Josh Poimboeuf 4feb144e98 It's alive...
The end-to-end patching works.  From object analysis to generation to
runtime patching.  It's still missing the scripting piece that will only
take a patch and kernel source dir as input.
2013-01-16 11:28:59 -06:00