mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
fix kernel version in common.py
This commit is contained in:
@@ -43,7 +43,7 @@ common = sys.modules[__name__]
|
|||||||
# Fixed parameters that don't depend on CLI arguments.
|
# Fixed parameters that don't depend on CLI arguments.
|
||||||
consts = {}
|
consts = {}
|
||||||
consts['repo_short_id'] = 'lkmc'
|
consts['repo_short_id'] = 'lkmc'
|
||||||
consts['linux_kernel_version'] = '5.9.1'
|
consts['linux_kernel_version'] = '5.9.2'
|
||||||
# https://stackoverflow.com/questions/20010199/how-to-determine-if-a-process-runs-inside-lxc-docker
|
# https://stackoverflow.com/questions/20010199/how-to-determine-if-a-process-runs-inside-lxc-docker
|
||||||
consts['in_docker'] = os.path.exists('/.dockerenv')
|
consts['in_docker'] = os.path.exists('/.dockerenv')
|
||||||
consts['root_dir'] = os.path.dirname(os.path.abspath(__file__))
|
consts['root_dir'] = os.path.dirname(os.path.abspath(__file__))
|
||||||
|
|||||||
Reference in New Issue
Block a user