Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

weston-init: Do not fail if weston.sh is not present #20

Open
wants to merge 1 commit into
base: mickledore-6.1.36-2.1.0
Choose a base branch
from

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]>
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