From 40187559220c51870fbc9ff56af8c67dda5409ae Mon Sep 17 00:00:00 2001 From: Philippe Ombredanne Date: Wed, 1 Dec 2021 15:01:58 +0100 Subject: [PATCH] Disable kernel readability checks See https://github.com/nexB/scancode.io/issues/367 Signed-off-by: Philippe Ombredanne --- src/extractcode/vmimage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/extractcode/vmimage.py b/src/extractcode/vmimage.py index 2ce0ea7..96787e6 100644 --- a/src/extractcode/vmimage.py +++ b/src/extractcode/vmimage.py @@ -113,7 +113,7 @@ def from_file(cls, location): raise ExtractErrorFailedToExtract( 'VM Image extraction only supported on Linux.') - check_linux_kernel_is_readable() + # check_linux_kernel_is_readable() assert location abs_location = os.path.abspath(os.path.expanduser(location))