
Move to kernel version 5.10 using source from the Yocto Project. 1. Add STX patches for kernel 5.10. 2. Support git source for linux-yocto. 3. Add build_srpm from build-tools/default_build_srpm and modified for git repo from yocto 4. Modify std and rt config files. 5. Build python-perf instead of python3-perf for std kernel. python-perf is needed by tuned-2.8.0-5.el7.noarch. 6. Modify rt spec to build out package kernel-rt-tools and kernel-rt-kvm. 7. Add kernel-5.10.30-x86_64-rt.config.tis_extra and kernel-5.10.30-x86_64.config.tis_extra 8. Add a dist field to avoid undesired rebuilds. 9. Ensure -unsigned package is populated Story: 2008921 Partial-Task: 42519 Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Vefa Bicakci <vefa.bicakci@windriver.com> Signed-off-by: Jiping Ma <jiping.ma2@windriver.com> Change-Id: Id1f635302f265826f7ff2860a3bed4b7755b2888
31 lines
612 B
Bash
Executable File
31 lines
612 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
. /etc/os-release
|
|
|
|
kernelver=$1 && shift
|
|
rootfs=$1 && shift
|
|
variant=$1 && shift
|
|
|
|
output="${rootfs}/lib/modules/${kernelver}/bls.conf"
|
|
date=$(date -u +%Y%m%d%H%M%S)
|
|
|
|
if [ "${variant:-5}" = "debug" ]; then
|
|
debugname=" with debugging"
|
|
debugid="-debug"
|
|
else
|
|
debugname=""
|
|
debugid=""
|
|
fi
|
|
|
|
cat >${output} <<EOF
|
|
title ${NAME} (${kernelver}) ${VERSION}${debugname}
|
|
version ${kernelver}${debugid}
|
|
linux ${bootprefix}/vmlinuz-${kernelver}
|
|
initrd ${bootprefix}/initramfs-${kernelver}.img
|
|
options \$kernelopts
|
|
grub_users \$grub_users
|
|
grub_arg --unrestricted
|
|
grub_class kernel${variant}
|
|
EOF
|