aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlice Ferrazzi <alicef@gentoo.org>2017-07-05 09:50:10 +0000
committerAlice Ferrazzi <alicef@gentoo.org>2017-07-05 09:50:10 +0000
commit4ebe93085d158d743eb7fdfebf5b06deb1a0fe08 (patch)
treec6b46048601cf68b7aadf6c96d8b77b2302e49da
parentgetting version from config file (diff)
parentfixed arguments in function for emerge the kernel when not found (diff)
downloadelivepatch-4ebe93085d158d743eb7fdfebf5b06deb1a0fe08.tar.gz
elivepatch-4ebe93085d158d743eb7fdfebf5b06deb1a0fe08.tar.bz2
elivepatch-4ebe93085d158d743eb7fdfebf5b06deb1a0fe08.zip
Merge branch 'master' of https://github.com/aliceinwire/elivepatch
-rw-r--r--elivepatch_server/resources/dispatcher.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/elivepatch_server/resources/dispatcher.py b/elivepatch_server/resources/dispatcher.py
index bdcecb9..2261092 100644
--- a/elivepatch_server/resources/dispatcher.py
+++ b/elivepatch_server/resources/dispatcher.py
@@ -76,7 +76,7 @@ class BuildLivePatch(Resource):
# check vmlinux presence if not rebuild the kernel
kernel_vmlinux = os.path.join(kernel_dir, 'vmlinux')
if not os.path.isdir(kernel_dir):
- lpatch.get_kernel(kernel_dir, kernel_vmlinux)
+ lpatch.get_kernel(args['KernelVersion'])
if not os.path.isfile(kernel_vmlinux):
lpatch.build_kernel(kernel_dir)
lpatch.build_livepatch(kernel_dir, kernel_vmlinux)