Skip to content

Conversation

pfiser
Copy link

@pfiser pfiser commented Oct 26, 2023

Meta-layer meta-imx could be included in builds not using 'fsl' or 'fslc' DISTROOVERRIDES.
In such cases, weston.sh file is not present in the image, and the build fails with:

rm: cannot remove '.../image/etc/profile.d/weston.sh': No such file or directory

Thus, use the "-f" switch to not fail in case a file is not present.

Meta-layer meta-imx could be included in builds not using "fsl" or
"fslc" DISTROOVERRIDES. In such cases, weston.sh file will not be
present in the image, and the build consequently fails with:

  rm: cannot remove '.../image/etc/profile.d/weston.sh': No such file or directory

Thus, use the "-f" switch to not fail in case a file is not present.

Signed-off-by: Primoz Fiser <[email protected]>
@bdlr2
Copy link

bdlr2 commented Nov 22, 2023

I agree on the utility of this pull-request.
I excluded the recipe from my project with BBMASK += "meta-imx/meta-bsp/recipes-graphics/wayland/weston-init.bbappend" and copied the interesting parts of it.

smk-embedded pushed a commit to phytec/meta-ampliphy that referenced this pull request Nov 24, 2023
Add workaround for NXP's meta-imx weston-init.bbappend which fails in
case weston.sh file is not present. Can be removed later when this is
fixed in upstream (PR opened).

PR URL: nxp-imx/meta-imx#20

Signed-off-by: Primoz Fiser <[email protected]>
Signed-off-by: Stefan Müller-Klieser <[email protected]>
smk-embedded pushed a commit to phytec/meta-ampliphy that referenced this pull request Nov 24, 2023
Add workaround for NXP's meta-imx weston-init.bbappend which fails in
case weston.sh file is not present. Can be removed later when this is
fixed in upstream (PR opened).

PR URL: nxp-imx/meta-imx#20

Signed-off-by: Primoz Fiser <[email protected]>
Signed-off-by: Stefan Müller-Klieser <[email protected]>
shondll pushed a commit to LimonSoftware/meta-imx that referenced this pull request Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants