
This commit upgrades the Linux kernel to 6.12.40 from 6.12.32, which comes from the linux-yocto upstream. Verification: - Build kernel and out of tree modules success for rt and std. - Build iso success for rt and std. - Install success onto a All-in-One lab with rt kernel, and can switch to std kernel. - Boot up successfully in the lab. - The sanity testing was run and the test results PASS. Story: 2011384 Task: 52649 Change-Id: Ic90f6d2d2bb53f63335691254e7b94f16e1ffefb Signed-off-by: Jiping Ma <jiping.ma2@windriver.com>
36 lines
1005 B
Bash
Executable File
36 lines
1005 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# The only parameter is the name of the folder where the source code
|
|
# is extracted to. Pay attention to that the extracted package should
|
|
# be put at the same path where this script is located.
|
|
# Tools needed: tar
|
|
|
|
KERNEL_HEAD_COMMIT=50893c3858cc7bbc15a174f06fa30fba25306cac
|
|
DEBIAN_FILE=linux_6.1.27-1~bpo11%2B1.debian.tar.xz
|
|
|
|
tar xvf linux-yocto-${KERNEL_HEAD_COMMIT}.tar.gz
|
|
if [ $? -ne 0 ]
|
|
then
|
|
echo "tar failed: linux-yocto source!"
|
|
exit 1
|
|
fi
|
|
mv linux-yocto-${KERNEL_HEAD_COMMIT} $1
|
|
|
|
cd $1
|
|
tar xvf ../${DEBIAN_FILE}
|
|
if [ $? -ne 0 ]
|
|
then
|
|
echo "tar failed: debian folder for kernel!"
|
|
exit 1
|
|
fi
|
|
cd debian
|
|
cp "${MY_REPO_ROOT_DIR}"/cgcs-root/stx/kernel/kernel-std/\
|
|
/debian/source/changelog ./
|
|
cp "${MY_REPO_ROOT_DIR}"/cgcs-root/stx/kernel/kernel-std/\
|
|
/debian/source/config ./config/amd64/none
|
|
cd -
|
|
|
|
# The abiname is changed from "0.deb11.9" to "1", so replace
|
|
# "6.1.0-0.deb11.9" with "6.6.0-1" in init control file.
|
|
sed -i "s/6\.1\.0-0\.deb11\.9/6.6.0-1/g" ./debian/control
|