Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linux-torizon.inc: move RT commits amendment to postfunc (master) #234

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion recipes-kernel/linux/linux-torizon.inc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ SRC_URI:append:cfs-signed = "\

KBUILD_BUILD_VERSION .= "-Torizon"

do_patch:append:preempt-rt() {
do_amend_preempt_rt_commits() {
# When the RT patches are applied via "git apply" by the kgit-s2q tool
# (part of yocto-kernel-tools) the author is set to "invalid_git config"
# which we validate here to ensure we'll amend the proper commit.
Expand Down Expand Up @@ -43,6 +43,9 @@ do_patch:append:preempt-rt() {
--amend --no-edit -m 'RT patches' \
--date='1970-01-01T00:00:00 +0000'
}
PREEMPT_RT_PATCH_FUNCS = ""
PREEMPT_RT_PATCH_FUNCS:preempt-rt = "do_amend_preempt_rt_commits"
do_patch[postfuncs] += "${PREEMPT_RT_PATCH_FUNCS}"

# Print kernel URL and BRANCH to files to be used by ostree commit as metadata
kernel_do_deploy:append() {
Expand Down