[RFC] Distro to fragments#2527
Open
angolini wants to merge 4 commits into
Open
Conversation
fslc-x11 was the only display backend distro with no fragment equivalent; users migrating from meta-freescale-distro had no way to replicate its DISTRO_FEATURES adjustments with the new fragment-based workflow. Signed-off-by: Daiane Angolini <daiane.angolini@foundries.io>
BSP selection (linux-fslc vs linux-imx, u-boot-fslc vs u-boot-imx) previously required a separate DISTRO from meta-freescale-distro. These fragments let users express the same choice with DISTRO = "poky" without depending on a dedicated distro layer. The fslc fragment covers the mainline-tracking BSP (linux-fslc, u-boot-fslc). The nxp fragment covers the NXP downstream BSP (linux-imx, u-boot-imx) and carries the provider preferences and GStreamer version pins previously found in fsl-base.inc. Signed-off-by: Daiane Angolini <daiane.angolini@foundries.io>
Replace the old display-backend-only and distro-bundled preset
configurations with ones that explicitly select a BSP fragment
alongside the display backend:
- fslc-framebuffer: bsp/fslc + framebuffer
- nxp-framebuffer: eula/accept-fsl-eula + bsp/nxp + framebuffer
- fslc-eula-framebuffer: eula/accept-fsl-eula + bsp/fslc + framebuffer
The phantom fsl preset (no fragments) and the broken accept-fsl-eula
preset (wrong fragment path freescale-layer/accept-fsl-eula) are
removed. The old fsl-{wayland,xwayland,framebuffer} and standalone
{wayland,xwayland,framebuffer} presets are removed; they did not
express a BSP choice and are superseded by the new presets.
Signed-off-by: Daiane Angolini <daiane.angolini@foundries.io>
…references distro/fsl and distro/fslc were referenced as one-of options but never existed as real fragments; they were a leftover from an older format where the distro variable drove a bitbake-setup template name. Replace them with the built-in distro/ fragment prefix (distro/poky and distro/nodistro), which maps directly to the DISTRO variable via the OE_FRAGMENTS_BUILTIN mechanism. No fragment files are needed; the built-in handler sets DISTRO = <value> from the fragment name. Signed-off-by: Daiane Angolini <daiane.angolini@foundries.io>
135469d to
74349d7
Compare
Member
Author
|
tested with 3,24,1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Phase 1 of the distro-to-fragments migration (RFC: meta-freescale-distro deprecation)
This series adds BitBake configuration fragments for BSP selection and the X11 display backend,
registers the conf/fragments/ tree with bitbake-config-build, and updates the default-registry
JSON to match.
What changes:
framebuffer already existed).
linux-fslc, u-boot-fslc).
the provider overrides and GStreamer version pins previously found in fsl-base.inc in
meta-freescale-distro.
with fslc-framebuffer, nxp-framebuffer, and fslc-eula-framebuffer; replaces the phantom
distro/fsl and distro/fslc one-of options with the real upstream fragments yocto/distro/poky and
core/distro/nodistro.
No breaking changes. Existing users of DISTRO = "fslc-wayland" (or any other distro from
meta-freescale-distro) are not affected. A companion patch to meta-freescale-distro wires those
distros through these fragments so they are validated by existing builds before the distros are
deprecated.
pokyandnodistro. (bitbake configuration template requires a DISTRO)