Problems to solve:
Change version of meta layers
Change fixed SRCREV
and SRCBRANCH
in recipes ? quite problematic. For example recipe name is my_app.bb
:
my_app.bbappend
in new meta layer used only during CI ?my_app-latest.bb
in the same meta layer and use PREFERRED_VERSION_my_app = “latest” ?Already solved in Yocto!
Yocto contains special latest distro poky-bleeding.conf where config file poky-floating-revisions.inc is used:
SRCREV_pn-oh-puzzles ?= "${AUTOREV}" SRCREV_pn-libowl ?= "${AUTOREV}" SRCREV_pn-matchbox-applet-light ?= "${AUTOREV}"
In latest Yocto it looks like:
# # Set recipe versions to auto-rev for cutting edge testing # INHERIT += "poky-bleeding" POKY_AUTOREV_RECIPES = "\ libmatchbox \ opkg-utils \ matchbox-config-gtk \ matchbox-desktop \ matchbox-keyboard \ matchbox-panel-2 \ matchbox-terminal \ matchbox-theme-sato \ matchbox-wm \ pseudo \ puzzles \ sato-icon-theme \ sato-screenshot \ settings-daemon \ "