aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlice Ferrazzi <alicef@gentoo.org>2017-08-21 10:09:38 +0000
committerAlice Ferrazzi <alicef@gentoo.org>2017-08-21 10:09:38 +0000
commit904fd5f4fdbde0835bfbf2a235d579f5d4002ec5 (patch)
tree2802bb8c06c11e9d2989aac3e99f389054e9a0e7
parentreturn list of cve id and cve patch after getting the missing cve from the (diff)
downloadelivepatch-904fd5f4fdbde0835bfbf2a235d579f5d4002ec5.tar.gz
elivepatch-904fd5f4fdbde0835bfbf2a235d579f5d4002ec5.tar.bz2
elivepatch-904fd5f4fdbde0835bfbf2a235d579f5d4002ec5.zip
Add digest to ebuild command
-rw-r--r--elivepatch_server/resources/livepatch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/elivepatch_server/resources/livepatch.py b/elivepatch_server/resources/livepatch.py
index a908a75..d7dcb7f 100644
--- a/elivepatch_server/resources/livepatch.py
+++ b/elivepatch_server/resources/livepatch.py
@@ -65,7 +65,7 @@ class PaTch(object):
with tempfile.TemporaryDirectory(dir=uuid_dir) as portage_tmpdir:
print('uuid_dir: ' + str(uuid_dir) + ' PORTAGE_TMPDIR: '+str(portage_tmpdir))
env = {'ROOT': uuid_dir, 'PORTAGE_CONFIGROOT':uuid_dir, 'PORTAGE_TMPDIR': portage_tmpdir}
- _command(['ebuild', ebuild_path, 'clean', 'merge'], env=env)
+ _command(['ebuild', ebuild_path, 'clean', 'digest','merge'], env=env)
kernel_sources_status = True
else:
print('ebuild not present')