All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/7] core-image-weston: add sdk/ptest images
@ 2021-04-23 18:02 Alexander Kanavin
  2021-04-23 18:02 ` [PATCH 2/7] oeqa/buildperf: use weston image instead of sato Alexander Kanavin
                   ` (5 more replies)
  0 siblings, 6 replies; 16+ messages in thread
From: Alexander Kanavin @ 2021-04-23 18:02 UTC (permalink / raw)
  To: openembedded-core; +Cc: Alexander Kanavin

This is the first step towards rebasing the AB matrix from sato to
weston; the eventual goal is to keep sato only in core-image-sato
image.

The broader rationale is that X11 is effectively deprecated technology
at this point with only minimal maintenance; standalone X server will not
be developed any further, and all attention currently is towards making
it work well under Wayland.

I believe YP should be defaulting to Wayland and not X11.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
 meta/conf/distro/include/maintainers.inc      |  3 +++
 .../images/core-image-weston-ptest-all.bb     | 21 +++++++++++++++++++
 .../images/core-image-weston-ptest-fast.bb    | 20 ++++++++++++++++++
 .../images/core-image-weston-sdk.bb           | 11 ++++++++++
 4 files changed, 55 insertions(+)
 create mode 100644 meta/recipes-graphics/images/core-image-weston-ptest-all.bb
 create mode 100644 meta/recipes-graphics/images/core-image-weston-ptest-fast.bb
 create mode 100644 meta/recipes-graphics/images/core-image-weston-sdk.bb

diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc
index 0973633f58..ead3384561 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -117,6 +117,9 @@ RECIPE_MAINTAINER_pn-core-image-testmaster-initramfs = "Richard Purdie <richard.
 RECIPE_MAINTAINER_pn-core-image-testmaster = "Richard Purdie <richard.purdie@linuxfoundation.org>"
 RECIPE_MAINTAINER_pn-core-image-clutter = "Richard Purdie <richard.purdie@linuxfoundation.org>"
 RECIPE_MAINTAINER_pn-core-image-weston = "Richard Purdie <richard.purdie@linuxfoundation.org>"
+RECIPE_MAINTAINER_pn-core-image-weston-ptest-all = "Richard Purdie <richard.purdie@linuxfoundation.org>"
+RECIPE_MAINTAINER_pn-core-image-weston-ptest-fast = "Richard Purdie <richard.purdie@linuxfoundation.org>"
+RECIPE_MAINTAINER_pn-core-image-weston-sdk = "Richard Purdie <richard.purdie@linuxfoundation.org>"
 RECIPE_MAINTAINER_pn-core-image-x11 = "Richard Purdie <richard.purdie@linuxfoundation.org>"
 RECIPE_MAINTAINER_pn-core-image-sato-dev = "Richard Purdie <richard.purdie@linuxfoundation.org>"
 RECIPE_MAINTAINER_pn-core-image-sato-ptest-fast = "Richard Purdie <richard.purdie@linuxfoundation.org>"
diff --git a/meta/recipes-graphics/images/core-image-weston-ptest-all.bb b/meta/recipes-graphics/images/core-image-weston-ptest-all.bb
new file mode 100644
index 0000000000..a622779e6a
--- /dev/null
+++ b/meta/recipes-graphics/images/core-image-weston-ptest-all.bb
@@ -0,0 +1,21 @@
+require core-image-weston-sdk.bb
+require conf/distro/include/ptest-packagelists.inc
+
+DESCRIPTION += "Also includes ptest packages."
+
+# Include the full set of ptests
+IMAGE_INSTALL += "${PTESTS_FAST} ${PTESTS_SLOW}"
+
+# This image is sufficiently large (~1.8GB) that we need to be careful that it fits in a live
+# image (which has a 4GB limit), so nullify the overhead factor (1.3x out of the
+# box) and explicitly add just 1100MB.
+# strace-ptest in particular needs more than 500MB
+IMAGE_OVERHEAD_FACTOR = "1.0"
+IMAGE_ROOTFS_EXTRA_SPACE = "1124288"
+
+# ptests need more memory than standard to avoid the OOM killer
+# also lttng-tools needs /tmp that has at least 1G
+QB_MEM = "-m 2048"
+
+# Sadly at the moment the full set of ptests is not robust enough and sporadically fails in random places
+PTEST_EXPECT_FAILURE = "1"
diff --git a/meta/recipes-graphics/images/core-image-weston-ptest-fast.bb b/meta/recipes-graphics/images/core-image-weston-ptest-fast.bb
new file mode 100644
index 0000000000..df02befb66
--- /dev/null
+++ b/meta/recipes-graphics/images/core-image-weston-ptest-fast.bb
@@ -0,0 +1,20 @@
+require core-image-weston-sdk.bb
+require conf/distro/include/ptest-packagelists.inc
+
+# Include only fast (< 30 sec) ptests
+IMAGE_INSTALL += "${PTESTS_FAST}"
+
+DESCRIPTION += "Also includes ptest packages with fast execution times to allow for more automated QA."
+
+# This image is sufficiently large (~1.8GB) that it can't actually fit in a live
+# image (which has a 4GB limit), so nullify the overhead factor (1.3x out of the
+# box) and explicitly add just 1500MB.
+# strace-ptest in particular needs more than 500MB
+IMAGE_OVERHEAD_FACTOR = "1.0"
+IMAGE_ROOTFS_EXTRA_SPACE = "1524288"
+
+# ptests need more memory than standard to avoid the OOM killer
+QB_MEM = "-m 1024"
+
+# Sadly at the moment the fast set of ptests is not robust enough and sporadically fails in a couple of places
+PTEST_EXPECT_FAILURE = "1"
diff --git a/meta/recipes-graphics/images/core-image-weston-sdk.bb b/meta/recipes-graphics/images/core-image-weston-sdk.bb
new file mode 100644
index 0000000000..f5f7dade54
--- /dev/null
+++ b/meta/recipes-graphics/images/core-image-weston-sdk.bb
@@ -0,0 +1,11 @@
+require core-image-weston.bb
+
+DESCRIPTION = "Image with Weston support that includes everything within \
+core-image-weston plus meta-toolchain, development headers and libraries to \
+form a standalone SDK."
+
+IMAGE_FEATURES += "dev-pkgs tools-sdk \
+	tools-debug eclipse-debug tools-profile tools-testapps debug-tweaks ssh-server-openssh"
+
+IMAGE_INSTALL += "kernel-devsrc"
+
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH 2/7] oeqa/buildperf: use weston image instead of sato
  2021-04-23 18:02 [PATCH 1/7] core-image-weston: add sdk/ptest images Alexander Kanavin
@ 2021-04-23 18:02 ` Alexander Kanavin
  2021-04-23 18:02 ` [PATCH 3/7] oeqa/core/tests/test_data.py: " Alexander Kanavin
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 16+ messages in thread
From: Alexander Kanavin @ 2021-04-23 18:02 UTC (permalink / raw)
  To: openembedded-core; +Cc: Alexander Kanavin

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
 meta/lib/oeqa/buildperf/test_basic.py | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/meta/lib/oeqa/buildperf/test_basic.py b/meta/lib/oeqa/buildperf/test_basic.py
index 2104617ba3..0fe7d3c8dc 100644
--- a/meta/lib/oeqa/buildperf/test_basic.py
+++ b/meta/lib/oeqa/buildperf/test_basic.py
@@ -11,10 +11,10 @@ from oeqa.buildperf import BuildPerfTestCase
 from oeqa.utils.commands import get_bb_var, get_bb_vars
 
 class Test1P1(BuildPerfTestCase):
-    build_target = 'core-image-sato'
+    build_target = 'core-image-weston'
 
     def test1(self):
-        """Build core-image-sato"""
+        """Build core-image-weston"""
         self.rm_tmp()
         self.rm_sstate()
         self.rm_cache()
@@ -40,10 +40,10 @@ class Test1P2(BuildPerfTestCase):
 
 
 class Test1P3(BuildPerfTestCase):
-    build_target = 'core-image-sato'
+    build_target = 'core-image-weston'
 
     def test13(self):
-        """Build core-image-sato with rm_work enabled"""
+        """Build core-image-weston with rm_work enabled"""
         postfile = os.path.join(self.tmp_dir, 'postfile.conf')
         with open(postfile, 'w') as fobj:
             fobj.write('INHERIT += "rm_work"\n')
@@ -60,10 +60,10 @@ class Test1P3(BuildPerfTestCase):
 
 
 class Test2(BuildPerfTestCase):
-    build_target = 'core-image-sato'
+    build_target = 'core-image-weston'
 
     def test2(self):
-        """Run core-image-sato do_rootfs with sstate"""
+        """Run core-image-weston do_rootfs with sstate"""
         # Build once in order to populate sstate cache
         self.run_cmd(['bitbake', self.build_target])
 
@@ -93,7 +93,7 @@ class Test3(BuildPerfTestCase):
 
 
 class Test4(BuildPerfTestCase):
-    build_target = 'core-image-sato'
+    build_target = 'core-image-weston'
 
     def test4(self):
         """eSDK metrics"""
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH 3/7] oeqa/core/tests/test_data.py: use weston image instead of sato
  2021-04-23 18:02 [PATCH 1/7] core-image-weston: add sdk/ptest images Alexander Kanavin
  2021-04-23 18:02 ` [PATCH 2/7] oeqa/buildperf: use weston image instead of sato Alexander Kanavin
@ 2021-04-23 18:02 ` Alexander Kanavin
  2021-04-23 18:02 ` [PATCH 4/7] oeqa/selftest: transition to weston images Alexander Kanavin
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 16+ messages in thread
From: Alexander Kanavin @ 2021-04-23 18:02 UTC (permalink / raw)
  To: openembedded-core; +Cc: Alexander Kanavin

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
 meta/lib/oeqa/core/tests/test_data.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/lib/oeqa/core/tests/test_data.py b/meta/lib/oeqa/core/tests/test_data.py
index ac74098b78..acd726f3a0 100755
--- a/meta/lib/oeqa/core/tests/test_data.py
+++ b/meta/lib/oeqa/core/tests/test_data.py
@@ -33,7 +33,7 @@ class TestData(TestBase):
 
     def test_data_fail_wrong_variable(self):
         expectedError = 'AssertionError'
-        d = {'IMAGE' : 'core-image-sato', 'ARCH' : 'arm'}
+        d = {'IMAGE' : 'core-image-weston', 'ARCH' : 'arm'}
 
         tc = self._testLoader(d=d, modules=self.modules)
         results = tc.runTests()
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH 4/7] oeqa/selftest: transition to weston images
  2021-04-23 18:02 [PATCH 1/7] core-image-weston: add sdk/ptest images Alexander Kanavin
  2021-04-23 18:02 ` [PATCH 2/7] oeqa/buildperf: use weston image instead of sato Alexander Kanavin
  2021-04-23 18:02 ` [PATCH 3/7] oeqa/core/tests/test_data.py: " Alexander Kanavin
@ 2021-04-23 18:02 ` Alexander Kanavin
  2021-05-04 17:01   ` [OE-core] " Ross Burton
  2021-04-23 18:02 ` [PATCH 5/7] core-image-multilib-example: base on weston, and not sato Alexander Kanavin
                   ` (2 subsequent siblings)
  5 siblings, 1 reply; 16+ messages in thread
From: Alexander Kanavin @ 2021-04-23 18:02 UTC (permalink / raw)
  To: openembedded-core; +Cc: Alexander Kanavin

For readonly rootfs tests core-image-weston
is appended; everywhere else it replaces core-image-sato.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
 meta/lib/oeqa/selftest/cases/_sstatetests_noauto.py |  4 ++--
 meta/lib/oeqa/selftest/cases/buildoptions.py        |  4 ++--
 meta/lib/oeqa/selftest/cases/imagefeatures.py       |  6 +++---
 meta/lib/oeqa/selftest/cases/runtime_test.py        |  2 --
 meta/lib/oeqa/selftest/cases/sstatetests.py         | 10 +++++-----
 5 files changed, 12 insertions(+), 14 deletions(-)

diff --git a/meta/lib/oeqa/selftest/cases/_sstatetests_noauto.py b/meta/lib/oeqa/selftest/cases/_sstatetests_noauto.py
index f7c356ad09..7ac03f0cec 100644
--- a/meta/lib/oeqa/selftest/cases/_sstatetests_noauto.py
+++ b/meta/lib/oeqa/selftest/cases/_sstatetests_noauto.py
@@ -90,7 +90,7 @@ class RebuildFromSState(SStateBase):
         self.assertFalse(failed_cleansstate, msg="The following recipes have failed cleansstate(all others have passed both cleansstate and rebuild from sstate tests): %s" % ' '.join(map(str, failed_cleansstate)))
 
     def test_sstate_relocation(self):
-        self.run_test_sstate_rebuild(['core-image-sato-sdk'], relocate=True, rebuild_dependencies=True)
+        self.run_test_sstate_rebuild(['core-image-weston-sdk'], relocate=True, rebuild_dependencies=True)
 
     def test_sstate_rebuild(self):
-        self.run_test_sstate_rebuild(['core-image-sato-sdk'], relocate=False, rebuild_dependencies=True)
+        self.run_test_sstate_rebuild(['core-image-weston-sdk'], relocate=False, rebuild_dependencies=True)
diff --git a/meta/lib/oeqa/selftest/cases/buildoptions.py b/meta/lib/oeqa/selftest/cases/buildoptions.py
index 1859d3222a..754b77defd 100644
--- a/meta/lib/oeqa/selftest/cases/buildoptions.py
+++ b/meta/lib/oeqa/selftest/cases/buildoptions.py
@@ -50,9 +50,9 @@ class ImageOptionsTests(OESelftestTestCase):
     def test_read_only_image(self):
         distro_features = get_bb_var('DISTRO_FEATURES')
         if not ('x11' in distro_features and 'opengl' in distro_features):
-            self.skipTest('core-image-sato requires x11 and opengl in distro features')
+            self.skipTest('core-image-sato/weston requires x11 and opengl in distro features')
         self.write_config('IMAGE_FEATURES += "read-only-rootfs"')
-        bitbake("core-image-sato")
+        bitbake("core-image-sato core-image-weston")
         # do_image will fail if there are any pending postinsts
 
 class DiskMonTest(OESelftestTestCase):
diff --git a/meta/lib/oeqa/selftest/cases/imagefeatures.py b/meta/lib/oeqa/selftest/cases/imagefeatures.py
index 6723a8198f..5d4330b48f 100644
--- a/meta/lib/oeqa/selftest/cases/imagefeatures.py
+++ b/meta/lib/oeqa/selftest/cases/imagefeatures.py
@@ -240,8 +240,8 @@ USERADD_GID_TABLES += "files/static-group"
 
     def test_no_busybox_base_utils(self):
         config = """
-# Enable x11
-DISTRO_FEATURES_append += "x11"
+# Enable wayland
+DISTRO_FEATURES_append += "pam opengl wayland"
 
 # Switch to systemd
 DISTRO_FEATURES += "systemd"
@@ -262,7 +262,7 @@ PNBLACKLIST[busybox] = "Don't build this"
 """
         self.write_config(config)
 
-        bitbake("--graphviz core-image-sato")
+        bitbake("--graphviz core-image-weston")
 
     def test_image_gen_debugfs(self):
         """
diff --git a/meta/lib/oeqa/selftest/cases/runtime_test.py b/meta/lib/oeqa/selftest/cases/runtime_test.py
index b20c5b427b..84c2cb77e8 100644
--- a/meta/lib/oeqa/selftest/cases/runtime_test.py
+++ b/meta/lib/oeqa/selftest/cases/runtime_test.py
@@ -128,7 +128,6 @@ class TestImage(OESelftestTestCase):
         features += 'TEST_SUITES = "ping ssh selftest"\n'
         self.write_config(features)
 
-        # Build core-image-sato and testimage
         bitbake('core-image-full-cmdline socat')
         bitbake('-c testimage core-image-full-cmdline')
 
@@ -164,7 +163,6 @@ class TestImage(OESelftestTestCase):
         features += 'PSEUDO_IGNORE_PATHS .= ",%s"\n' % self.gpg_home
         self.write_config(features)
 
-        # Build core-image-sato and testimage
         bitbake('core-image-full-cmdline socat')
         bitbake('-c testimage core-image-full-cmdline')
 
diff --git a/meta/lib/oeqa/selftest/cases/sstatetests.py b/meta/lib/oeqa/selftest/cases/sstatetests.py
index c46e8ba489..9db2a0bb44 100644
--- a/meta/lib/oeqa/selftest/cases/sstatetests.py
+++ b/meta/lib/oeqa/selftest/cases/sstatetests.py
@@ -261,7 +261,7 @@ PACKAGE_CLASSES = "package_rpm package_ipk package_deb"
 BB_SIGNATURE_HANDLER = "OEBasicHash"
 """)
         self.track_for_cleanup(self.topdir + "/tmp-sstatesamehash")
-        bitbake("core-image-sato -S none")
+        bitbake("core-image-weston -S none")
         self.write_config("""
 MACHINE = "qemux86"
 TMPDIR = "${TOPDIR}/tmp-sstatesamehash2"
@@ -273,12 +273,12 @@ PACKAGE_CLASSES = "package_rpm package_ipk package_deb"
 BB_SIGNATURE_HANDLER = "OEBasicHash"
 """)
         self.track_for_cleanup(self.topdir + "/tmp-sstatesamehash2")
-        bitbake("core-image-sato -S none")
+        bitbake("core-image-weston -S none")
 
         def get_files(d):
             f = []
             for root, dirs, files in os.walk(d):
-                if "core-image-sato" in root:
+                if "core-image-weston" in root:
                     # SDKMACHINE changing will change
                     # do_rootfs/do_testimage/do_build stamps of images which
                     # is safe to ignore.
@@ -306,7 +306,7 @@ NATIVELSBSTRING = \"DistroA\"
 BB_SIGNATURE_HANDLER = "OEBasicHash"
 """)
         self.track_for_cleanup(self.topdir + "/tmp-sstatesamehash")
-        bitbake("core-image-sato -S none")
+        bitbake("core-image-weston -S none")
         self.write_config("""
 TMPDIR = \"${TOPDIR}/tmp-sstatesamehash2\"
 TCLIBCAPPEND = \"\"
@@ -314,7 +314,7 @@ NATIVELSBSTRING = \"DistroB\"
 BB_SIGNATURE_HANDLER = "OEBasicHash"
 """)
         self.track_for_cleanup(self.topdir + "/tmp-sstatesamehash2")
-        bitbake("core-image-sato -S none")
+        bitbake("core-image-weston -S none")
 
         def get_files(d):
             f = []
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH 5/7] core-image-multilib-example: base on weston, and not sato
  2021-04-23 18:02 [PATCH 1/7] core-image-weston: add sdk/ptest images Alexander Kanavin
                   ` (2 preceding siblings ...)
  2021-04-23 18:02 ` [PATCH 4/7] oeqa/selftest: transition to weston images Alexander Kanavin
@ 2021-04-23 18:02 ` Alexander Kanavin
  2021-04-23 18:02 ` [PATCH 6/7] default-distrovars.inc: add wayland/opengl to default distro features Alexander Kanavin
  2021-04-23 18:02 ` [PATCH 7/7] poky.conf: remove wayland/opengl from distro features, as it is now oe-core default Alexander Kanavin
  5 siblings, 0 replies; 16+ messages in thread
From: Alexander Kanavin @ 2021-04-23 18:02 UTC (permalink / raw)
  To: openembedded-core; +Cc: Alexander Kanavin

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
 .../recipes-multilib/images/core-image-multilib-example.bb      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-skeleton/recipes-multilib/images/core-image-multilib-example.bb b/meta-skeleton/recipes-multilib/images/core-image-multilib-example.bb
index e7d50aefda..1290968b9d 100644
--- a/meta-skeleton/recipes-multilib/images/core-image-multilib-example.bb
+++ b/meta-skeleton/recipes-multilib/images/core-image-multilib-example.bb
@@ -6,7 +6,7 @@ SUMMARY = "An example of a multilib image"
 #
 
 # First include a base image to base things off
-require recipes-sato/images/core-image-sato.bb
+require recipes-graphics/images/core-image-weston.bb
 
 # Now add the multilib packages we want to install
 IMAGE_INSTALL += "lib32-bash"
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH 6/7] default-distrovars.inc: add wayland/opengl to default distro features
  2021-04-23 18:02 [PATCH 1/7] core-image-weston: add sdk/ptest images Alexander Kanavin
                   ` (3 preceding siblings ...)
  2021-04-23 18:02 ` [PATCH 5/7] core-image-multilib-example: base on weston, and not sato Alexander Kanavin
@ 2021-04-23 18:02 ` Alexander Kanavin
  2021-04-27 16:09   ` [OE-core] " Randy MacLeod
  2021-04-23 18:02 ` [PATCH 7/7] poky.conf: remove wayland/opengl from distro features, as it is now oe-core default Alexander Kanavin
  5 siblings, 1 reply; 16+ messages in thread
From: Alexander Kanavin @ 2021-04-23 18:02 UTC (permalink / raw)
  To: openembedded-core; +Cc: Alexander Kanavin

This puts them on equal terms with x11 distro feature
(which I think is due).

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
 meta/conf/distro/include/default-distrovars.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/conf/distro/include/default-distrovars.inc b/meta/conf/distro/include/default-distrovars.inc
index 9fcc10f83a..384ee7fc98 100644
--- a/meta/conf/distro/include/default-distrovars.inc
+++ b/meta/conf/distro/include/default-distrovars.inc
@@ -10,7 +10,7 @@ LOCALE_UTF8_ONLY ?= "0"
 LOCALE_UTF8_IS_DEFAULT ?= "1"
 LOCALE_UTF8_IS_DEFAULT_class-nativesdk = "0"
 
-DISTRO_FEATURES_DEFAULT ?= "acl alsa argp bluetooth debuginfod ext2 ipv4 ipv6 largefile pcmcia usbgadget usbhost wifi xattr nfs zeroconf pci 3g nfc x11 vfat"
+DISTRO_FEATURES_DEFAULT ?= "acl alsa argp bluetooth debuginfod ext2 ipv4 ipv6 largefile pcmcia usbgadget usbhost wifi xattr nfs zeroconf pci 3g nfc x11 vfat wayland opengl"
 DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT}"
 IMAGE_FEATURES ?= ""
 
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH 7/7] poky.conf: remove wayland/opengl from distro features, as it is now oe-core default
  2021-04-23 18:02 [PATCH 1/7] core-image-weston: add sdk/ptest images Alexander Kanavin
                   ` (4 preceding siblings ...)
  2021-04-23 18:02 ` [PATCH 6/7] default-distrovars.inc: add wayland/opengl to default distro features Alexander Kanavin
@ 2021-04-23 18:02 ` Alexander Kanavin
  5 siblings, 0 replies; 16+ messages in thread
From: Alexander Kanavin @ 2021-04-23 18:02 UTC (permalink / raw)
  To: openembedded-core; +Cc: Alexander Kanavin

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
 meta-poky/conf/distro/poky.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-poky/conf/distro/poky.conf b/meta-poky/conf/distro/poky.conf
index 522cc92f74..f65241f71e 100644
--- a/meta-poky/conf/distro/poky.conf
+++ b/meta-poky/conf/distro/poky.conf
@@ -13,7 +13,7 @@ TARGET_VENDOR = "-poky"
 LOCALCONF_VERSION = "1"
 
 # Override these in poky based distros
-POKY_DEFAULT_DISTRO_FEATURES = "largefile opengl ptest multiarch wayland vulkan"
+POKY_DEFAULT_DISTRO_FEATURES = "largefile ptest multiarch vulkan"
 POKY_DEFAULT_EXTRA_RDEPENDS = "packagegroup-core-boot"
 POKY_DEFAULT_EXTRA_RRECOMMENDS = "kernel-module-af-packet"
 
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* Re: [OE-core] [PATCH 6/7] default-distrovars.inc: add wayland/opengl to default distro features
  2021-04-23 18:02 ` [PATCH 6/7] default-distrovars.inc: add wayland/opengl to default distro features Alexander Kanavin
@ 2021-04-27 16:09   ` Randy MacLeod
  2021-04-27 17:09     ` Otavio Salvador
                       ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Randy MacLeod @ 2021-04-27 16:09 UTC (permalink / raw)
  To: Alexander Kanavin, openembedded-core, Wei, Yunguo (Bryan),
	Kevin Hao, Yocto discussion list

Cross-posting to yocto since this is of general interest.

On 2021-04-23 2:02 p.m., Alexander Kanavin wrote:
> This puts them on equal terms with x11 distro feature
> (which I think is due).
> 
> Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
> ---
>   meta/conf/distro/include/default-distrovars.inc | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/conf/distro/include/default-distrovars.inc b/meta/conf/distro/include/default-distrovars.inc
> index 9fcc10f83a..384ee7fc98 100644
> --- a/meta/conf/distro/include/default-distrovars.inc
> +++ b/meta/conf/distro/include/default-distrovars.inc
> @@ -10,7 +10,7 @@ LOCALE_UTF8_ONLY ?= "0"
>   LOCALE_UTF8_IS_DEFAULT ?= "1"
>   LOCALE_UTF8_IS_DEFAULT_class-nativesdk = "0"
>   
> -DISTRO_FEATURES_DEFAULT ?= "acl alsa argp bluetooth debuginfod ext2 ipv4 ipv6 largefile pcmcia usbgadget usbhost wifi xattr nfs zeroconf pci 3g nfc x11 vfat"
> +DISTRO_FEATURES_DEFAULT ?= "acl alsa argp bluetooth debuginfod ext2 ipv4 ipv6 largefile pcmcia usbgadget usbhost wifi xattr nfs zeroconf pci 3g nfc x11 vfat wayland opengl"
>   DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT}"
>   IMAGE_FEATURES ?= ""
>   
> 

We (Wind River) already drop the x11 DF from some of our distros and
we'd likely do the same for wayland and opengl so while this seems
like the wrong change for headless systems it is one we could deal with.

There was some discussion about this topic on the tech call today and
people were concerned about BSP support for opengl since the software
rendering in mesa is horridly slow.

Kevin, Bryan,
Can you comment if you think we'd have any show-stopper problems
with opengl support for BSPs?

Joshua said that weston has a usable RDP (remote desktop backend) but
I'm not sure how usable it is especially for single application sharing.
This contrasts with x11 where you can use X11 forwarding over
ssh trivially for whole desktops or an application.

In conclusion, I see the value in pushing yocto forward but we may need
to wait for agreement from BSP folks so let's see what they say.

../Randy


> 
> 
> 
> 


-- 
# Randy MacLeod
# Wind River Linux

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [OE-core] [PATCH 6/7] default-distrovars.inc: add wayland/opengl to default distro features
  2021-04-27 16:09   ` [OE-core] " Randy MacLeod
@ 2021-04-27 17:09     ` Otavio Salvador
  2021-04-27 18:28       ` Alexander Kanavin
  2021-04-27 20:36     ` Armin Kuster
  2021-04-28  3:42     ` Kevin Hao
  2 siblings, 1 reply; 16+ messages in thread
From: Otavio Salvador @ 2021-04-27 17:09 UTC (permalink / raw)
  To: Randy MacLeod
  Cc: Alexander Kanavin,
	Patches and discussions about the oe-core layer, Wei,
	Yunguo (Bryan),
	Kevin Hao, Yocto discussion list

Em ter., 27 de abr. de 2021 às 13:10, Randy MacLeod
<randy.macleod@windriver.com> escreveu:
>
> Cross-posting to yocto since this is of general interest.
>
> On 2021-04-23 2:02 p.m., Alexander Kanavin wrote:
> > This puts them on equal terms with x11 distro feature
> > (which I think is due).
> >
> > Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
> > ---
> >   meta/conf/distro/include/default-distrovars.inc | 2 +-
> >   1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/meta/conf/distro/include/default-distrovars.inc b/meta/conf/distro/include/default-distrovars.inc
> > index 9fcc10f83a..384ee7fc98 100644
> > --- a/meta/conf/distro/include/default-distrovars.inc
> > +++ b/meta/conf/distro/include/default-distrovars.inc
> > @@ -10,7 +10,7 @@ LOCALE_UTF8_ONLY ?= "0"
> >   LOCALE_UTF8_IS_DEFAULT ?= "1"
> >   LOCALE_UTF8_IS_DEFAULT_class-nativesdk = "0"
> >
> > -DISTRO_FEATURES_DEFAULT ?= "acl alsa argp bluetooth debuginfod ext2 ipv4 ipv6 largefile pcmcia usbgadget usbhost wifi xattr nfs zeroconf pci 3g nfc x11 vfat"
> > +DISTRO_FEATURES_DEFAULT ?= "acl alsa argp bluetooth debuginfod ext2 ipv4 ipv6 largefile pcmcia usbgadget usbhost wifi xattr nfs zeroconf pci 3g nfc x11 vfat wayland opengl"
> >   DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT}"
> >   IMAGE_FEATURES ?= ""
> >
> >
>
> We (Wind River) already drop the x11 DF from some of our distros and
> we'd likely do the same for wayland and opengl so while this seems
> like the wrong change for headless systems it is one we could deal with.

Adding wayland seems Ok but forcing the opengl support doesn't seems a
good default. Especially because we just also ensure software
rendering is also wrong (slow or not).

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854          Mobile: +1 (347) 903-9750

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [OE-core] [PATCH 6/7] default-distrovars.inc: add wayland/opengl to default distro features
  2021-04-27 17:09     ` Otavio Salvador
@ 2021-04-27 18:28       ` Alexander Kanavin
  0 siblings, 0 replies; 16+ messages in thread
From: Alexander Kanavin @ 2021-04-27 18:28 UTC (permalink / raw)
  To: Otavio Salvador
  Cc: Randy MacLeod, Patches and discussions about the oe-core layer,
	Wei, Yunguo (Bryan),
	Kevin Hao, Yocto discussion list

[-- Attachment #1: Type: text/plain, Size: 2368 bytes --]

Wait a moment, I am not sure I understand the argument about software
rendering. Can you please elaborate?

What is the scenario where enabling opengl would regress from something
hw-accelerated to software rendering?

Alex

On Tue, 27 Apr 2021 at 19:09, Otavio Salvador <
otavio.salvador@ossystems.com.br> wrote:

> Em ter., 27 de abr. de 2021 às 13:10, Randy MacLeod
> <randy.macleod@windriver.com> escreveu:
> >
> > Cross-posting to yocto since this is of general interest.
> >
> > On 2021-04-23 2:02 p.m., Alexander Kanavin wrote:
> > > This puts them on equal terms with x11 distro feature
> > > (which I think is due).
> > >
> > > Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
> > > ---
> > >   meta/conf/distro/include/default-distrovars.inc | 2 +-
> > >   1 file changed, 1 insertion(+), 1 deletion(-)
> > >
> > > diff --git a/meta/conf/distro/include/default-distrovars.inc
> b/meta/conf/distro/include/default-distrovars.inc
> > > index 9fcc10f83a..384ee7fc98 100644
> > > --- a/meta/conf/distro/include/default-distrovars.inc
> > > +++ b/meta/conf/distro/include/default-distrovars.inc
> > > @@ -10,7 +10,7 @@ LOCALE_UTF8_ONLY ?= "0"
> > >   LOCALE_UTF8_IS_DEFAULT ?= "1"
> > >   LOCALE_UTF8_IS_DEFAULT_class-nativesdk = "0"
> > >
> > > -DISTRO_FEATURES_DEFAULT ?= "acl alsa argp bluetooth debuginfod ext2
> ipv4 ipv6 largefile pcmcia usbgadget usbhost wifi xattr nfs zeroconf pci 3g
> nfc x11 vfat"
> > > +DISTRO_FEATURES_DEFAULT ?= "acl alsa argp bluetooth debuginfod ext2
> ipv4 ipv6 largefile pcmcia usbgadget usbhost wifi xattr nfs zeroconf pci 3g
> nfc x11 vfat wayland opengl"
> > >   DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT}"
> > >   IMAGE_FEATURES ?= ""
> > >
> > >
> >
> > We (Wind River) already drop the x11 DF from some of our distros and
> > we'd likely do the same for wayland and opengl so while this seems
> > like the wrong change for headless systems it is one we could deal with.
>
> Adding wayland seems Ok but forcing the opengl support doesn't seems a
> good default. Especially because we just also ensure software
> rendering is also wrong (slow or not).
>
> --
> Otavio Salvador                             O.S. Systems
> http://www.ossystems.com.br        http://code.ossystems.com.br
> Mobile: +55 (53) 9 9981-7854          Mobile: +1 (347) 903-9750
>

[-- Attachment #2: Type: text/html, Size: 3340 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [OE-core] [PATCH 6/7] default-distrovars.inc: add wayland/opengl to default distro features
  2021-04-27 16:09   ` [OE-core] " Randy MacLeod
  2021-04-27 17:09     ` Otavio Salvador
@ 2021-04-27 20:36     ` Armin Kuster
  2021-04-28  3:42     ` Kevin Hao
  2 siblings, 0 replies; 16+ messages in thread
From: Armin Kuster @ 2021-04-27 20:36 UTC (permalink / raw)
  To: Randy MacLeod, Alexander Kanavin, openembedded-core, Wei,
	Yunguo (Bryan),
	Kevin Hao, Yocto discussion list



On 4/27/21 9:09 AM, Randy MacLeod wrote:
> Cross-posting to yocto since this is of general interest.
>
> On 2021-04-23 2:02 p.m., Alexander Kanavin wrote:
>> This puts them on equal terms with x11 distro feature
>> (which I think is due).
>>
>> Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
>> ---
>>   meta/conf/distro/include/default-distrovars.inc | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/meta/conf/distro/include/default-distrovars.inc
>> b/meta/conf/distro/include/default-distrovars.inc
>> index 9fcc10f83a..384ee7fc98 100644
>> --- a/meta/conf/distro/include/default-distrovars.inc
>> +++ b/meta/conf/distro/include/default-distrovars.inc
>> @@ -10,7 +10,7 @@ LOCALE_UTF8_ONLY ?= "0"
>>   LOCALE_UTF8_IS_DEFAULT ?= "1"
>>   LOCALE_UTF8_IS_DEFAULT_class-nativesdk = "0"
>>   -DISTRO_FEATURES_DEFAULT ?= "acl alsa argp bluetooth debuginfod
>> ext2 ipv4 ipv6 largefile pcmcia usbgadget usbhost wifi xattr nfs
>> zeroconf pci 3g nfc x11 vfat"
>> +DISTRO_FEATURES_DEFAULT ?= "acl alsa argp bluetooth debuginfod ext2
>> ipv4 ipv6 largefile pcmcia usbgadget usbhost wifi xattr nfs zeroconf
>> pci 3g nfc x11 vfat wayland opengl"
>>   DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT}"
>>   IMAGE_FEATURES ?= ""
>>  
>
Randy,


> We (Wind River) already drop the x11 DF from some of our distros and
> we'd likely do the same for wayland and opengl so while this seems
> like the wrong change for headless systems it is one we could deal with.
>
> There was some discussion about this topic on the tech call today and
> people were concerned about BSP support for opengl since the software
> rendering in mesa is horridly slow.

Thanks for bring this issue up.

>
> Kevin, Bryan,
> Can you comment if you think we'd have any show-stopper problems
> with opengl support for BSPs?

Err, are they going to check my BSP ; )

>
> Joshua said that weston has a usable RDP (remote desktop backend) but
> I'm not sure how usable it is especially for single application sharing.
> This contrasts with x11 where you can use X11 forwarding over
> ssh trivially for whole desktops or an application.
>
> In conclusion, I see the value in pushing yocto forward but we may need
> to wait for agreement from BSP folks so let's see what they say.
The layer index  BSP list is long so waiting for feedback may not be
practical.  I think it may be  more of an awareness and how can the BSP
maintainers work around the default if there are issues rather than 
stopping this progress  in core.

I personal would rather see my layer break so that I will be forced to
take action.  I see this as being  no different than when we update
u-boot or the kernel.

- armin

> ../Randy
>
>
>>
>>
>>
>>
>
>
>
> 
>



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [OE-core] [PATCH 6/7] default-distrovars.inc: add wayland/opengl to default distro features
  2021-04-27 16:09   ` [OE-core] " Randy MacLeod
  2021-04-27 17:09     ` Otavio Salvador
  2021-04-27 20:36     ` Armin Kuster
@ 2021-04-28  3:42     ` Kevin Hao
  2 siblings, 0 replies; 16+ messages in thread
From: Kevin Hao @ 2021-04-28  3:42 UTC (permalink / raw)
  To: Randy MacLeod
  Cc: Alexander Kanavin, openembedded-core, Wei, Yunguo (Bryan),
	Yocto discussion list

[-- Attachment #1: Type: text/plain, Size: 2687 bytes --]

On Tue, Apr 27, 2021 at 12:09:51PM -0400, Randy MacLeod wrote:
> Cross-posting to yocto since this is of general interest.
> 
> On 2021-04-23 2:02 p.m., Alexander Kanavin wrote:
> > This puts them on equal terms with x11 distro feature
> > (which I think is due).
> > 
> > Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
> > ---
> >   meta/conf/distro/include/default-distrovars.inc | 2 +-
> >   1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/meta/conf/distro/include/default-distrovars.inc b/meta/conf/distro/include/default-distrovars.inc
> > index 9fcc10f83a..384ee7fc98 100644
> > --- a/meta/conf/distro/include/default-distrovars.inc
> > +++ b/meta/conf/distro/include/default-distrovars.inc
> > @@ -10,7 +10,7 @@ LOCALE_UTF8_ONLY ?= "0"
> >   LOCALE_UTF8_IS_DEFAULT ?= "1"
> >   LOCALE_UTF8_IS_DEFAULT_class-nativesdk = "0"
> > -DISTRO_FEATURES_DEFAULT ?= "acl alsa argp bluetooth debuginfod ext2 ipv4 ipv6 largefile pcmcia usbgadget usbhost wifi xattr nfs zeroconf pci 3g nfc x11 vfat"
> > +DISTRO_FEATURES_DEFAULT ?= "acl alsa argp bluetooth debuginfod ext2 ipv4 ipv6 largefile pcmcia usbgadget usbhost wifi xattr nfs zeroconf pci 3g nfc x11 vfat wayland opengl"
> >   DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT}"
> >   IMAGE_FEATURES ?= ""
> > 
> 
> We (Wind River) already drop the x11 DF from some of our distros and
> we'd likely do the same for wayland and opengl so while this seems
> like the wrong change for headless systems it is one we could deal with.
> 
> There was some discussion about this topic on the tech call today and
> people were concerned about BSP support for opengl since the software
> rendering in mesa is horridly slow.
> 
> Kevin, Bryan,
> Can you comment if you think we'd have any show-stopper problems
> with opengl support for BSPs?

Thanks for the notice. Hmm, it seems that we have done little validation
for the weston image on the Yocto BSPs, I got a boot failure with the
weston image on my beaglebone black board. I will try to figure out what is
wrong there. But I don't think it should block the change in this patch.

Thanks,
Kevin

> 
> Joshua said that weston has a usable RDP (remote desktop backend) but
> I'm not sure how usable it is especially for single application sharing.
> This contrasts with x11 where you can use X11 forwarding over
> ssh trivially for whole desktops or an application.
> 
> In conclusion, I see the value in pushing yocto forward but we may need
> to wait for agreement from BSP folks so let's see what they say.
> 
> ../Randy
> 
> 
> > 
> > 
> > 
> > 
> 
> 
> -- 
> # Randy MacLeod
> # Wind River Linux

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 499 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [OE-core] [PATCH 4/7] oeqa/selftest: transition to weston images
  2021-04-23 18:02 ` [PATCH 4/7] oeqa/selftest: transition to weston images Alexander Kanavin
@ 2021-05-04 17:01   ` Ross Burton
  2021-05-04 18:04     ` Alexander Kanavin
  0 siblings, 1 reply; 16+ messages in thread
From: Ross Burton @ 2021-05-04 17:01 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: OE-core

Hi Alex,

First, I love to see this. :)

However, using this as a convenient starting point: if both nodistro
and Poky have OpenGL enabled then there's no test cases for the non-GL
configuration anymore, which is important for headless systems, of
which there are many.  Whilst I agree that graphical systems that
don't support modern rendering in some way are on the way out, this
trend isn't across all of our target platforms.

Can you add a configuration to the autobuilder along the like of
poky-altconfig that does at least one build without GL?
core-image-base as a *minimum* but a core-image-sato should continue
to work.

Ross

On Fri, 23 Apr 2021 at 19:03, Alexander Kanavin <alex.kanavin@gmail.com> wrote:
>
> For readonly rootfs tests core-image-weston
> is appended; everywhere else it replaces core-image-sato.
>
> Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
> ---
>  meta/lib/oeqa/selftest/cases/_sstatetests_noauto.py |  4 ++--
>  meta/lib/oeqa/selftest/cases/buildoptions.py        |  4 ++--
>  meta/lib/oeqa/selftest/cases/imagefeatures.py       |  6 +++---
>  meta/lib/oeqa/selftest/cases/runtime_test.py        |  2 --
>  meta/lib/oeqa/selftest/cases/sstatetests.py         | 10 +++++-----
>  5 files changed, 12 insertions(+), 14 deletions(-)
>
> diff --git a/meta/lib/oeqa/selftest/cases/_sstatetests_noauto.py b/meta/lib/oeqa/selftest/cases/_sstatetests_noauto.py
> index f7c356ad09..7ac03f0cec 100644
> --- a/meta/lib/oeqa/selftest/cases/_sstatetests_noauto.py
> +++ b/meta/lib/oeqa/selftest/cases/_sstatetests_noauto.py
> @@ -90,7 +90,7 @@ class RebuildFromSState(SStateBase):
>          self.assertFalse(failed_cleansstate, msg="The following recipes have failed cleansstate(all others have passed both cleansstate and rebuild from sstate tests): %s" % ' '.join(map(str, failed_cleansstate)))
>
>      def test_sstate_relocation(self):
> -        self.run_test_sstate_rebuild(['core-image-sato-sdk'], relocate=True, rebuild_dependencies=True)
> +        self.run_test_sstate_rebuild(['core-image-weston-sdk'], relocate=True, rebuild_dependencies=True)
>
>      def test_sstate_rebuild(self):
> -        self.run_test_sstate_rebuild(['core-image-sato-sdk'], relocate=False, rebuild_dependencies=True)
> +        self.run_test_sstate_rebuild(['core-image-weston-sdk'], relocate=False, rebuild_dependencies=True)
> diff --git a/meta/lib/oeqa/selftest/cases/buildoptions.py b/meta/lib/oeqa/selftest/cases/buildoptions.py
> index 1859d3222a..754b77defd 100644
> --- a/meta/lib/oeqa/selftest/cases/buildoptions.py
> +++ b/meta/lib/oeqa/selftest/cases/buildoptions.py
> @@ -50,9 +50,9 @@ class ImageOptionsTests(OESelftestTestCase):
>      def test_read_only_image(self):
>          distro_features = get_bb_var('DISTRO_FEATURES')
>          if not ('x11' in distro_features and 'opengl' in distro_features):
> -            self.skipTest('core-image-sato requires x11 and opengl in distro features')
> +            self.skipTest('core-image-sato/weston requires x11 and opengl in distro features')
>          self.write_config('IMAGE_FEATURES += "read-only-rootfs"')
> -        bitbake("core-image-sato")
> +        bitbake("core-image-sato core-image-weston")
>          # do_image will fail if there are any pending postinsts
>
>  class DiskMonTest(OESelftestTestCase):
> diff --git a/meta/lib/oeqa/selftest/cases/imagefeatures.py b/meta/lib/oeqa/selftest/cases/imagefeatures.py
> index 6723a8198f..5d4330b48f 100644
> --- a/meta/lib/oeqa/selftest/cases/imagefeatures.py
> +++ b/meta/lib/oeqa/selftest/cases/imagefeatures.py
> @@ -240,8 +240,8 @@ USERADD_GID_TABLES += "files/static-group"
>
>      def test_no_busybox_base_utils(self):
>          config = """
> -# Enable x11
> -DISTRO_FEATURES_append += "x11"
> +# Enable wayland
> +DISTRO_FEATURES_append += "pam opengl wayland"
>
>  # Switch to systemd
>  DISTRO_FEATURES += "systemd"
> @@ -262,7 +262,7 @@ PNBLACKLIST[busybox] = "Don't build this"
>  """
>          self.write_config(config)
>
> -        bitbake("--graphviz core-image-sato")
> +        bitbake("--graphviz core-image-weston")
>
>      def test_image_gen_debugfs(self):
>          """
> diff --git a/meta/lib/oeqa/selftest/cases/runtime_test.py b/meta/lib/oeqa/selftest/cases/runtime_test.py
> index b20c5b427b..84c2cb77e8 100644
> --- a/meta/lib/oeqa/selftest/cases/runtime_test.py
> +++ b/meta/lib/oeqa/selftest/cases/runtime_test.py
> @@ -128,7 +128,6 @@ class TestImage(OESelftestTestCase):
>          features += 'TEST_SUITES = "ping ssh selftest"\n'
>          self.write_config(features)
>
> -        # Build core-image-sato and testimage
>          bitbake('core-image-full-cmdline socat')
>          bitbake('-c testimage core-image-full-cmdline')
>
> @@ -164,7 +163,6 @@ class TestImage(OESelftestTestCase):
>          features += 'PSEUDO_IGNORE_PATHS .= ",%s"\n' % self.gpg_home
>          self.write_config(features)
>
> -        # Build core-image-sato and testimage
>          bitbake('core-image-full-cmdline socat')
>          bitbake('-c testimage core-image-full-cmdline')
>
> diff --git a/meta/lib/oeqa/selftest/cases/sstatetests.py b/meta/lib/oeqa/selftest/cases/sstatetests.py
> index c46e8ba489..9db2a0bb44 100644
> --- a/meta/lib/oeqa/selftest/cases/sstatetests.py
> +++ b/meta/lib/oeqa/selftest/cases/sstatetests.py
> @@ -261,7 +261,7 @@ PACKAGE_CLASSES = "package_rpm package_ipk package_deb"
>  BB_SIGNATURE_HANDLER = "OEBasicHash"
>  """)
>          self.track_for_cleanup(self.topdir + "/tmp-sstatesamehash")
> -        bitbake("core-image-sato -S none")
> +        bitbake("core-image-weston -S none")
>          self.write_config("""
>  MACHINE = "qemux86"
>  TMPDIR = "${TOPDIR}/tmp-sstatesamehash2"
> @@ -273,12 +273,12 @@ PACKAGE_CLASSES = "package_rpm package_ipk package_deb"
>  BB_SIGNATURE_HANDLER = "OEBasicHash"
>  """)
>          self.track_for_cleanup(self.topdir + "/tmp-sstatesamehash2")
> -        bitbake("core-image-sato -S none")
> +        bitbake("core-image-weston -S none")
>
>          def get_files(d):
>              f = []
>              for root, dirs, files in os.walk(d):
> -                if "core-image-sato" in root:
> +                if "core-image-weston" in root:
>                      # SDKMACHINE changing will change
>                      # do_rootfs/do_testimage/do_build stamps of images which
>                      # is safe to ignore.
> @@ -306,7 +306,7 @@ NATIVELSBSTRING = \"DistroA\"
>  BB_SIGNATURE_HANDLER = "OEBasicHash"
>  """)
>          self.track_for_cleanup(self.topdir + "/tmp-sstatesamehash")
> -        bitbake("core-image-sato -S none")
> +        bitbake("core-image-weston -S none")
>          self.write_config("""
>  TMPDIR = \"${TOPDIR}/tmp-sstatesamehash2\"
>  TCLIBCAPPEND = \"\"
> @@ -314,7 +314,7 @@ NATIVELSBSTRING = \"DistroB\"
>  BB_SIGNATURE_HANDLER = "OEBasicHash"
>  """)
>          self.track_for_cleanup(self.topdir + "/tmp-sstatesamehash2")
> -        bitbake("core-image-sato -S none")
> +        bitbake("core-image-weston -S none")
>
>          def get_files(d):
>              f = []
> --
> 2.30.2
>
>
> 
>

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [OE-core] [PATCH 4/7] oeqa/selftest: transition to weston images
  2021-05-04 17:01   ` [OE-core] " Ross Burton
@ 2021-05-04 18:04     ` Alexander Kanavin
  2021-05-10 11:08       ` Ross Burton
  0 siblings, 1 reply; 16+ messages in thread
From: Alexander Kanavin @ 2021-05-04 18:04 UTC (permalink / raw)
  To: Ross Burton; +Cc: OE-core

[-- Attachment #1: Type: text/plain, Size: 1142 bytes --]

On Tue, 4 May 2021 at 19:01, Ross Burton <ross@burtonini.com> wrote:

> Hi Alex,
>
> First, I love to see this. :)
>
> However, using this as a convenient starting point: if both nodistro
> and Poky have OpenGL enabled then there's no test cases for the non-GL
> configuration anymore, which is important for headless systems, of
> which there are many.  Whilst I agree that graphical systems that
> don't support modern rendering in some way are on the way out, this
> trend isn't across all of our target platforms.
>
> Can you add a configuration to the autobuilder along the like of
> poky-altconfig that does at least one build without GL?
> core-image-base as a *minimum* but a core-image-sato should continue
> to work.
>

I already have a companion patchset for the autobuilder:
http://git.yoctoproject.org/cgit/cgit.cgi/yocto-autobuilder-helper/log/?h=contrib/akanavin/transition-to-weston

I don't think it has the non-opengl build yet, but I could easily add that.
Can you take a look at the patches and maybe propose something specific to
add? I can simply add a patch to my set if you write one.

Alex

[-- Attachment #2: Type: text/html, Size: 1721 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [OE-core] [PATCH 4/7] oeqa/selftest: transition to weston images
  2021-05-04 18:04     ` Alexander Kanavin
@ 2021-05-10 11:08       ` Ross Burton
  2021-05-10 13:13         ` Alexander Kanavin
  0 siblings, 1 reply; 16+ messages in thread
From: Ross Burton @ 2021-05-10 11:08 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: OE-core

The only-x11 target is close but it should drop the opengl distro feature too.

Ross

On Tue, 4 May 2021 at 19:04, Alexander Kanavin <alex.kanavin@gmail.com> wrote:
>
> On Tue, 4 May 2021 at 19:01, Ross Burton <ross@burtonini.com> wrote:
>>
>> Hi Alex,
>>
>> First, I love to see this. :)
>>
>> However, using this as a convenient starting point: if both nodistro
>> and Poky have OpenGL enabled then there's no test cases for the non-GL
>> configuration anymore, which is important for headless systems, of
>> which there are many.  Whilst I agree that graphical systems that
>> don't support modern rendering in some way are on the way out, this
>> trend isn't across all of our target platforms.
>>
>> Can you add a configuration to the autobuilder along the like of
>> poky-altconfig that does at least one build without GL?
>> core-image-base as a *minimum* but a core-image-sato should continue
>> to work.
>
>
> I already have a companion patchset for the autobuilder:
> http://git.yoctoproject.org/cgit/cgit.cgi/yocto-autobuilder-helper/log/?h=contrib/akanavin/transition-to-weston
>
> I don't think it has the non-opengl build yet, but I could easily add that. Can you take a look at the patches and maybe propose something specific to add? I can simply add a patch to my set if you write one.
>
> Alex
>
>
>

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [OE-core] [PATCH 4/7] oeqa/selftest: transition to weston images
  2021-05-10 11:08       ` Ross Burton
@ 2021-05-10 13:13         ` Alexander Kanavin
  0 siblings, 0 replies; 16+ messages in thread
From: Alexander Kanavin @ 2021-05-10 13:13 UTC (permalink / raw)
  To: Ross Burton; +Cc: OE-core

[-- Attachment #1: Type: text/plain, Size: 1697 bytes --]

How about now?

http://git.yoctoproject.org/cgit/cgit.cgi/yocto-autobuilder-helper/commit/?h=contrib/akanavin/transition-to-weston&id=1cd449267db015fb89f6c3f2c85fe855fd845015

Alex

On Mon, 10 May 2021 at 13:08, Ross Burton <ross@burtonini.com> wrote:

> The only-x11 target is close but it should drop the opengl distro feature
> too.
>
> Ross
>
> On Tue, 4 May 2021 at 19:04, Alexander Kanavin <alex.kanavin@gmail.com>
> wrote:
> >
> > On Tue, 4 May 2021 at 19:01, Ross Burton <ross@burtonini.com> wrote:
> >>
> >> Hi Alex,
> >>
> >> First, I love to see this. :)
> >>
> >> However, using this as a convenient starting point: if both nodistro
> >> and Poky have OpenGL enabled then there's no test cases for the non-GL
> >> configuration anymore, which is important for headless systems, of
> >> which there are many.  Whilst I agree that graphical systems that
> >> don't support modern rendering in some way are on the way out, this
> >> trend isn't across all of our target platforms.
> >>
> >> Can you add a configuration to the autobuilder along the like of
> >> poky-altconfig that does at least one build without GL?
> >> core-image-base as a *minimum* but a core-image-sato should continue
> >> to work.
> >
> >
> > I already have a companion patchset for the autobuilder:
> >
> http://git.yoctoproject.org/cgit/cgit.cgi/yocto-autobuilder-helper/log/?h=contrib/akanavin/transition-to-weston
> >
> > I don't think it has the non-opengl build yet, but I could easily add
> that. Can you take a look at the patches and maybe propose something
> specific to add? I can simply add a patch to my set if you write one.
> >
> > Alex
> >
> >
> >
>

[-- Attachment #2: Type: text/html, Size: 2702 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2021-05-10 13:13 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-23 18:02 [PATCH 1/7] core-image-weston: add sdk/ptest images Alexander Kanavin
2021-04-23 18:02 ` [PATCH 2/7] oeqa/buildperf: use weston image instead of sato Alexander Kanavin
2021-04-23 18:02 ` [PATCH 3/7] oeqa/core/tests/test_data.py: " Alexander Kanavin
2021-04-23 18:02 ` [PATCH 4/7] oeqa/selftest: transition to weston images Alexander Kanavin
2021-05-04 17:01   ` [OE-core] " Ross Burton
2021-05-04 18:04     ` Alexander Kanavin
2021-05-10 11:08       ` Ross Burton
2021-05-10 13:13         ` Alexander Kanavin
2021-04-23 18:02 ` [PATCH 5/7] core-image-multilib-example: base on weston, and not sato Alexander Kanavin
2021-04-23 18:02 ` [PATCH 6/7] default-distrovars.inc: add wayland/opengl to default distro features Alexander Kanavin
2021-04-27 16:09   ` [OE-core] " Randy MacLeod
2021-04-27 17:09     ` Otavio Salvador
2021-04-27 18:28       ` Alexander Kanavin
2021-04-27 20:36     ` Armin Kuster
2021-04-28  3:42     ` Kevin Hao
2021-04-23 18:02 ` [PATCH 7/7] poky.conf: remove wayland/opengl from distro features, as it is now oe-core default Alexander Kanavin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.