mirror of
https://git.yoctoproject.org/poky
synced 2026-02-15 13:13:02 +01:00
Upstream repo no longer has 'master' branch, and switched to 'main'. To avoid issue such as: ERROR: rt-tests-1_1.1-r0 do_fetch: Fetcher failure: Unable to find revision dff174f994f547a5785d32454865f140daacb0f5 in branch master even from upstream we need to set the default branch name to 'main' in the recipe. (From OE-Core rev: ed52bea54f135b7b5367a24bb3861d9bc0c53117) Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The recipes-rt recipes provide package and image recipes for using and testing the PREEMPT_RT kernel. The core-image-rt*.bb images are minimal images with a couple extra packages, including rt-tests. In order to build the image with the linux-yocto-rt kernel, be sure to include the following line in your local.conf, bblayers.conf, or your $MACHINE.conf.
PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-rt"
If you are creating a new BSP which should use linux-yocto-rt by default, use the line above in the $MACHINE.conf in your BSP layer, and specify the following in a linux-yocto-rt bbappend recipe:
COMPATIBLE_MACHINE_$MACHINE = $MACHINE