kernel: add section about /proc/version

Customize user, host and date
This commit is contained in:
Ciro Santilli 六四事件 法轮功
2018-12-05 00:00:00 +00:00
parent 4f115bbde3
commit d569854ae1
3 changed files with 29 additions and 1 deletions

View File

@@ -130,6 +130,12 @@ Configure the kernel, but don't build it.
common_make_args +
common.add_newlines(args.extra_make_args)
),
extra_env={
'KBUILD_BUILD_VERSION': '1',
'KBUILD_BUILD_TIMESTAMP': 'Thu Jan 1 00:00:00 UTC 1970',
'KBUILD_BUILD_USER': 'lkmc',
'KBUILD_BUILD_HOST': common.git_sha(common.linux_source_dir),
},
**common_args
)
common.run_cmd(