kernel/kernel-std
Dongqi Chen 145ff64b97 Upgrade std kernel to 4.18.0-147.3.1 from CentOS 8.1
(cherry picked from commit f230b18be2654154636d2a2d9282e65b74e53e54)

1. Correct merge_config code in spec to fix tis_extra configuration
   not be applied issue.
2. Rebase process death notification patch with new kernel.
3. Rebase IMA patch with new kernel.
4. -j"%(nproc)" for parallel build is removed since %{?_smp_mflags}
   already handle it.
5. Customize kernel to build with gcc-4.8.5 and python2 environment
   in CentOS 7.
6. Remove IMA related patches because it is not used in STX

For tis_extra file, major change is listed below:
a. "CONFIG_xxx=n" is changed to "# CONFIG_xxx is not set" which is the
   correct way to disable config. Otherwise, process_configs.sh will
   report mismatch issue with log like below:
   "
   Found # CONFIG_KPROBES is not set, after generation,
   had CONFIG_KPROBES n in Source tree
   "
b. "CONFIG_MEMCG_KMEM=n" is removed due to it cannot be disabled
   independently. It is disabled to fix issue in 3.10 kernel.
c. Several configs are removed due to they cannot be disabled in 4.18
   kernel. And several configs are added to pass config check by
   process_configs.sh
d. CONFIG_KASAN is disabled due to gcc-4.8.5 doesn't support it.

With debug build/selftest/ipaclone/bpf tool disabled, kernel build
time is changed from 80min to 20min in my local environment.
Update BUILD_IS_SLOW as: 12*20/15 = 16.
BUILD_IS_BIG is updated to 21 to avoid run out of tmpfs.

Change-Id: Ia8d7da526fa493464a9a7a1528dcdfa90a10f6a7
Story: 2007308
Task: 38794
Depends-On: https://review.opendev.org/710907
Depends-On: https://review.opendev.org/#/c/720321/
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
Signed-off-by: Dongqi Chen <chen.dq@neusoft.com>
2020-05-01 12:53:04 +00:00
..
centos Upgrade std kernel to 4.18.0-147.3.1 from CentOS 8.1 2020-05-01 12:53:04 +00:00
files update ima public certificate for standard kernel 2018-10-10 16:44:58 -04:00