Skip to content

Commit 35d8c5a

Browse files
author
Alice Ferrazzi
committed
Fix livepatch object name
1 parent b3fdb01 commit 35d8c5a

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

elivepatch_server/resources/dispatcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def get(self):
6767
args['UUID'] = check_uuid(args['UUID'])
6868
uuid_dir = get_uuid_dir(args['UUID'])
6969

70-
livepatch_full_path = os.path.join(uuid_dir, 'kpatch-main.ko')
70+
livepatch_full_path = os.path.join(uuid_dir, 'elivepatch-main.ko')
7171
try:
7272
with open(livepatch_full_path, 'rb') as fp:
7373
response = make_response(fp.read())

elivepatch_server/resources/livepatch.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ def build_livepatch(self, vmlinux, jobs, debug=True):
3939
'-v', vmlinux_source,
4040
'-j', str(jobs),
4141
'-c', 'config',
42+
'-n', 'elivepatch-main',
4243
'--skip-gcc-check',
4344
'main.patch']
4445
if debug:

0 commit comments

Comments
 (0)