Upgrade kernel to 6.9.1

This commit is contained in:
Bruce Leidl 2024-05-21 12:58:49 -04:00
parent 9872870a92
commit 5f4403b881
3 changed files with 290 additions and 153 deletions

View File

@ -5,7 +5,7 @@ CITADEL_IMAGE_VERSION_rootfs = "1"
CITADEL_IMAGE_VERSION_extra = "1"
CITADEL_IMAGE_VERSION_kernel = "1"
CITADEL_KERNEL_VERSION = "6.5.3"
CITADEL_KERNEL_VERSION = "6.9.1"
CITADEL_KERNEL_CONFIG = "${COREBASE}/../meta-citadel/recipes-kernel/citadel-kernel/files/defconfig"

View File

@ -9,7 +9,7 @@ SRC_URI = "https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-${PV}.tar.xz\
file://defconfig \
"
SRC_URI[sha256sum] = "4cac13f7b17bd8dcf9032ad68f9123ab5313d698c9f59416043165150763eb4f"
SRC_URI[sha256sum] = "01b414ba98fd189ecd544435caf3860ae2a790e3ec48f5aa70fdf42dc4c5c04a"
LINUX_VERSION ?= "${PV}"
S = "${WORKDIR}/linux-${LINUX_VERSION}"
@ -29,15 +29,15 @@ do_deploy:append() {
# doesn't pass destination argument to lz4 in which case the decompressed output
# just disappears into thin air it seems.
#
copy_initramfs() {
echo "copy_initramfs override"
mkdir -p ${B}/usr
rm -f ${B}/usr/${INITRAMFS_IMAGE_NAME}.cpio
cp ${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE_NAME}.cpio.lz4 ${B}/usr/.
lz4 -df ${B}/usr/${INITRAMFS_IMAGE_NAME}.cpio.lz4 ${B}/usr/${INITRAMFS_IMAGE_NAME}.cpio
ls -al ${B}/usr
echo "Finished copy of initramfs into ./usr"
}
#copy_initramfs() {
# echo "copy_initramfs override"
# mkdir -p ${B}/usr
# rm -f ${B}/usr/${INITRAMFS_IMAGE_NAME}.cpio
# cp ${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE_NAME}.cpio.lz4 ${B}/usr/.
# lz4 -df ${B}/usr/${INITRAMFS_IMAGE_NAME}.cpio.lz4 ${B}/usr/${INITRAMFS_IMAGE_NAME}.cpio
# ls -al ${B}/usr
# echo "Finished copy of initramfs into ./usr"
#}
# Don't install kernel into images, see kernel.bbclass
RDEPENDS:${KERNEL_PACKAGE_NAME}-base = ""

File diff suppressed because it is too large Load Diff