Skip to content

Commit

Permalink
linux-mainline-rt: bump and use SRCREV
Browse files Browse the repository at this point in the history
Do not use a dynamic SRCREV base on the tag, but use a fixed SRCREV
instead. This will allow to work offline when the cache is already
populated.

Also, bump the version of the kernel to the latest available.

* 5.15: bump to 5.15.177-rt83
* 6.1: bump to 6.1.128-rt49
* 6.6: bump to 6.6.76-rt49

Signed-off-by: Mathieu Dupré <[email protected]>
  • Loading branch information
dupremathieu authored and Revalioli committed Feb 13, 2025
1 parent 16f94bf commit 13454a0
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
8 changes: 5 additions & 3 deletions recipes-kernel/linux/linux-mainline-rt_5.15.bb
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,17 @@ require linux-mainline-rt.inc

PACKAGE_ARCH = "${MACHINE_ARCH}"
LINUX_MAJOR_VERSION = "5.15"
LINUX_REVISION_VERSION = "96"
LINUX_REVISION_VERSION = "177"
LINUX_VERSION = "${LINUX_MAJOR_VERSION}.${LINUX_REVISION_VERSION}"
RT_REVISION = "rt61"
RT_REVISION = "rt83"
KBRANCH = "v${LINUX_MAJOR_VERSION}-rt"
LINUX_FULL_VERSION = "${LINUX_VERSION}-${RT_REVISION}"
KTAG = "v${LINUX_FULL_VERSION}"
PV = "${LINUX_FULL_VERSION}+git${SRCPV}"

SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git;protocol=https;name=machine;tag=${KTAG};branch=${KBRANCH} \
SRCREV = "322fcbc51c5afc26e44a4c57fb6d5b3a80b598c0"

SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git;protocol=https;name=machine;branch=${KBRANCH} \
file://defconfig \
file://megaraid.cfg \
file://gcc-plugin.cfg \
Expand Down
8 changes: 5 additions & 3 deletions recipes-kernel/linux/linux-mainline-rt_6.1.bb
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,17 @@ require linux-mainline-rt.inc

PACKAGE_ARCH = "${MACHINE_ARCH}"
LINUX_MAJOR_VERSION = "6.1"
LINUX_REVISION_VERSION = "112"
LINUX_REVISION_VERSION = "128"
LINUX_VERSION = "${LINUX_MAJOR_VERSION}.${LINUX_REVISION_VERSION}"
RT_REVISION = "rt43"
RT_REVISION = "rt49"
KBRANCH = "v${LINUX_MAJOR_VERSION}-rt"
LINUX_FULL_VERSION = "${LINUX_VERSION}-${RT_REVISION}"
KTAG = "v${LINUX_FULL_VERSION}"
PV = "${LINUX_FULL_VERSION}+git${SRCPV}"

SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git;protocol=https;name=machine;tag=${KTAG};branch=${KBRANCH} \
SRCREV = "7faf422b9217de411f016245ab3f2f5e03c9899c"

SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git;protocol=https;name=machine;branch=${KBRANCH} \
file://defconfig \
file://megaraid.cfg \
file://gcc-plugin.cfg \
Expand Down
8 changes: 5 additions & 3 deletions recipes-kernel/linux/linux-mainline-rt_6.6.bb
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,17 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/linux-mainline-rt_6.6:"

PACKAGE_ARCH = "${MACHINE_ARCH}"
LINUX_MAJOR_VERSION = "6.6"
LINUX_REVISION_VERSION = "18"
LINUX_REVISION_VERSION = "76"
LINUX_VERSION = "${LINUX_MAJOR_VERSION}.${LINUX_REVISION_VERSION}"
RT_REVISION = "rt23"
RT_REVISION = "rt49"
KBRANCH = "v${LINUX_MAJOR_VERSION}-rt"
LINUX_FULL_VERSION = "${LINUX_VERSION}-${RT_REVISION}"
KTAG = "v${LINUX_FULL_VERSION}"
PV = "${LINUX_FULL_VERSION}+git${SRCPV}"

SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git;protocol=https;name=machine;tag=${KTAG};branch=${KBRANCH} \
SRCREV = "eb0ecea9c61288d4af1a6e54237b969d74ee9ad4"

SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git;protocol=https;name=machine;branch=${KBRANCH} \
file://defconfig \
file://megaraid.cfg \
file://gcc-plugin.cfg \
Expand Down

0 comments on commit 13454a0

Please sign in to comment.