There is a version mismatch. If you want to patch the 5.4 kernel, why is the bbappend for 4.12?
Alex On Sat, 29 Oct 2022 at 13:38, Nikita Gupta <[email protected]> wrote: > > Hello List > > i want to apply rt-patch in raspberry-pi by following > (using-traditional-kernel-development-to-patch-the-kernel) So in order to > achieve that i created my own meta-layer and put that patch in bblayers. In > oreder to apply patching i did following steps . > > I downloaded patch file from > (https://cdn.kernel.org/pub/linux/kernel/projects/rt/5.4/older/patch-5.4.70-rt40.patch.gz) > unzip and rename with (patch-5.4.70-rt40.patch) > I put that patch file in yocto/meta-mylayer/recipes-kernel/linux/linux-yocto. > And given patch file's path in > yocto/meta-mylayer/recipes-kernel/linux/linux-yocto_4.12.bbappend by > following lines > > FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" > SRC_URI_append = "file://patch-5.4.70-rt40.patch" > (As described in above document)) > > when i am trying to bake my recipe : bitbake core-image-base then following > error is showing > > Loading cache: 100% |############################################| Time: > 0:00:01 > Loaded 3004 entries from dependency cache. > ERROR: No recipes available for: > > /home/nikita/yocto/meta-mylayer/recipes-kernel/linux/linux-yocto_4.12.bbappend > > Summary: There was 1 ERROR message shown, returning a non-zero exit code. > > Can anyone please suggest me how can i apply rt-patch in my raspberry-image > with above method by solving corrensponding error. > > Thanks in advance > Nikita Gupta > > ~ > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#58442): https://lists.yoctoproject.org/g/yocto/message/58442 Mute This Topic: https://lists.yoctoproject.org/mt/94645313/21656 Mute #dunfell:https://lists.yoctoproject.org/g/yocto/mutehashtag/dunfell Mute #patch:https://lists.yoctoproject.org/g/yocto/mutehashtag/patch Mute #yocto:https://lists.yoctoproject.org/g/yocto/mutehashtag/yocto Mute #raspberrypi:https://lists.yoctoproject.org/g/yocto/mutehashtag/raspberrypi Mute #linux:https://lists.yoctoproject.org/g/yocto/mutehashtag/linux Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
