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

New chromium-ozone-wayland patch fails to build if meta-browser isn't present #6

Open
m3harvey opened this issue Jan 24, 2025 · 0 comments

Comments

@m3harvey
Copy link

I notice that other layers have put chromium bbappends and patches in dynamic-layers directories, which is what I think you'll want to do too, although I confess I don't know that much about dynamic layers. Doing the following solved it for me, but I can't test whether it keeps the patch when chromium is present:

diff --git a/conf/layer.conf b/conf/layer.conf
index 2d8ff51..dec39d7 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -23,6 +23,9 @@ BBFILES_DYNAMIC += " \
     qt6-layer:${LAYERDIR}/dynamic-layers/qt6-layer/*/*/*.bb \
     qt6-layer:${LAYERDIR}/dynamic-layers/qt6-layer/*/*/*.bbappend \
     \
+    browser:${LAYERDIR}/dynamic-layers/browser/*/*/*.bb \
+    browser:${LAYERDIR}/dynamic-layers/browser/*/*/*.bbappend \
+    \
     swupdate:${LAYERDIR}/dynamic-layers/swupdate/*.bb \
     swupdate:${LAYERDIR}/dynamic-layers/swupdate/*.bbappend \
     \
diff --git a/recipes-browser/chromium/chromium-ozone-wayland_%.bbappend b/dynamic-layers/browser/recipes-browser/chromium/chromium-ozone-wayland_%.bbappend
similarity index 100%
rename from recipes-browser/chromium/chromium-ozone-wayland_%.bbappend
rename to dynamic-layers/browser/recipes-browser/chromium/chromium-ozone-wayland_%.bbappend
diff --git a/recipes-browser/chromium/files/0001-Remove-DRI-dependency.patch b/dynamic-layers/browser/recipes-browser/chromium/files/0001-Remove-DRI-dependency.patch
similarity index 100%
rename from recipes-browser/chromium/files/0001-Remove-DRI-dependency.patch
rename to dynamic-layers/browser/recipes-browser/chromium/files/0001-Remove-DRI-dependency.patch
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

No branches or pull requests

1 participant