
One example for "cat /proc/version" on stx debian is: Linux version 5.10.0-6-amd64 (debian-kernel@lists.debian.org) ...... ...SMP PREEMPT Debian 5.10.99-1.stx.12 (2022-04-26) Remove below settings from DEBIAN when building kernel: KBUILD_BUILD_USER KBUILD_BUILD_HOST It makes /proc/version not contain the debian maillist any more and uses the default " LINUX_COMPILE_BY "@" LINUX_COMPILE_HOST " in linux code. Add "StarlingX" in KBUILD_BUILD_VERSION_TIMESTAMP to correct only "Debian" in the utsname::version string. After those changes, the example for "cat /proc/version" on stx debian is: Linux version 5.10.0-6-amd64 (root@stx-stx-pkgbuilder-865f876545-tplr5) ...... ...SMP PREEMPT StarlingX Debian 5.10.112-1.stx.15 (2022-07-05) Test Plan: - PASS: Build and boot up on qemu. Run "cat /proc/version". - PASS: The test is done on both std and rt kernel. Story: 2009221 Task: 45733 Signed-off-by: Li Zhou <li.zhou@windriver.com> Change-Id: I6a0da00a3457c909224f1022a54322bcda7b1362
Description
StarlingX Linux kernel
Languages
Python
45.1%
Makefile
30.2%
Shell
22.9%
Perl
1%
POV-Ray SDL
0.8%