
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
21 lines
387 B
Bash
Executable File
21 lines
387 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Adjusts the configuration options to build the variants correctly
|
|
#
|
|
# arg1: are we only generating debug configs
|
|
|
|
|
|
DEBUGBUILDSENABLED=$1
|
|
|
|
if [ -z $1 ]; then
|
|
exit 1
|
|
fi
|
|
|
|
if [ $DEBUGBUILDSENABLED -eq 0 ]; then
|
|
for i in kernel-*debug*.config; do
|
|
base=`echo $i | sed -r s/-?debug//g`
|
|
NEW=kernel-`echo $base | cut -d - -f2-`
|
|
mv $i $NEW
|
|
done
|
|
fi
|