summaryrefslogtreecommitdiffstats
path: root/meta-poky
diff options
context:
space:
mode:
Diffstat (limited to 'meta-poky')
-rw-r--r--meta-poky/conf/distro/poky.conf4
-rw-r--r--meta-poky/conf/layer.conf2
-rw-r--r--meta-poky/conf/templates/default/local.conf.sample4
-rw-r--r--meta-poky/lib/oeqa/selftest/cases/pokybleeding.py32
-rw-r--r--meta-poky/recipes-core/tiny-init/tiny-init.bb3
5 files changed, 37 insertions, 8 deletions
diff --git a/meta-poky/conf/distro/poky.conf b/meta-poky/conf/distro/poky.conf
index 56817450a6..483684ccdf 100644
--- a/meta-poky/conf/distro/poky.conf
+++ b/meta-poky/conf/distro/poky.conf
@@ -1,7 +1,7 @@
1DISTRO = "poky" 1DISTRO = "poky"
2DISTRO_NAME = "Poky (Yocto Project Reference Distro)" 2DISTRO_NAME = "Poky (Yocto Project Reference Distro)"
3DISTRO_VERSION = "5.2" 3DISTRO_VERSION = "5.2.99+snapshot-${METADATA_REVISION}"
4DISTRO_CODENAME = "walnascar" 4DISTRO_CODENAME = "whinlatter"
5SDK_VENDOR = "-pokysdk" 5SDK_VENDOR = "-pokysdk"
6SDK_VERSION = "${@d.getVar('DISTRO_VERSION').replace('snapshot-${METADATA_REVISION}', 'snapshot')}" 6SDK_VERSION = "${@d.getVar('DISTRO_VERSION').replace('snapshot-${METADATA_REVISION}', 'snapshot')}"
7SDK_VERSION[vardepvalue] = "${SDK_VERSION}" 7SDK_VERSION[vardepvalue] = "${SDK_VERSION}"
diff --git a/meta-poky/conf/layer.conf b/meta-poky/conf/layer.conf
index 483046b6d3..9057670088 100644
--- a/meta-poky/conf/layer.conf
+++ b/meta-poky/conf/layer.conf
@@ -9,7 +9,7 @@ BBFILE_COLLECTIONS += "yocto"
9BBFILE_PATTERN_yocto = "^${LAYERDIR}/" 9BBFILE_PATTERN_yocto = "^${LAYERDIR}/"
10BBFILE_PRIORITY_yocto = "5" 10BBFILE_PRIORITY_yocto = "5"
11 11
12LAYERSERIES_COMPAT_yocto = "walnascar" 12LAYERSERIES_COMPAT_yocto = "whinlatter"
13 13
14# This should only be incremented on significant changes that will 14# This should only be incremented on significant changes that will
15# cause compatibility issues with other layers 15# cause compatibility issues with other layers
diff --git a/meta-poky/conf/templates/default/local.conf.sample b/meta-poky/conf/templates/default/local.conf.sample
index 0a33288cf0..3d830d5b76 100644
--- a/meta-poky/conf/templates/default/local.conf.sample
+++ b/meta-poky/conf/templates/default/local.conf.sample
@@ -21,9 +21,7 @@
21# 21#
22#MACHINE ?= "qemuarm" 22#MACHINE ?= "qemuarm"
23#MACHINE ?= "qemuarm64" 23#MACHINE ?= "qemuarm64"
24#MACHINE ?= "qemumips" 24#MACHINE ?= "qemuriscv64"
25#MACHINE ?= "qemumips64"
26#MACHINE ?= "qemuppc"
27#MACHINE ?= "qemux86" 25#MACHINE ?= "qemux86"
28#MACHINE ?= "qemux86-64" 26#MACHINE ?= "qemux86-64"
29# 27#
diff --git a/meta-poky/lib/oeqa/selftest/cases/pokybleeding.py b/meta-poky/lib/oeqa/selftest/cases/pokybleeding.py
new file mode 100644
index 0000000000..d0940d680d
--- /dev/null
+++ b/meta-poky/lib/oeqa/selftest/cases/pokybleeding.py
@@ -0,0 +1,32 @@
1#
2# Copyright OpenEmbedded Contributors
3#
4# SPDX-License-Identifier: MIT
5#
6
7from oeqa.utils.commands import bitbake, get_bb_var
8from oeqa.selftest.case import OESelftestTestCase
9
10class PokyBleeding(OESelftestTestCase):
11
12 def test_poky_bleeding_autorev(self):
13 """
14 Test that poky-bleeding.bbclass sets SRCREV to "AUTOINC" for recipe
15 with a single scm in SRC_URI and for recipe with two scm's in SRC_URI.
16 """
17
18 self.assertNotEqual( get_bb_var('SRCREV', 'pseudo'), "AUTOINC")
19
20 self.assertNotEqual( get_bb_var('SRCREV', 'hello-rs'), "AUTOINC")
21 self.assertNotEqual( get_bb_var('SRCREV_hello-lib', 'hello-rs'), "AUTOINC")
22
23 features = '''
24INHERIT += "poky-bleeding"
25POKY_AUTOREV_RECIPES = "hello-rs pseudo"
26'''
27 self.write_config(features)
28
29 self.assertEqual( get_bb_var('SRCREV', 'pseudo'), "AUTOINC")
30
31 self.assertEqual( get_bb_var('SRCREV', 'hello-rs'), "AUTOINC")
32 self.assertEqual( get_bb_var('SRCREV_hello-lib', 'hello-rs'), "AUTOINC")
diff --git a/meta-poky/recipes-core/tiny-init/tiny-init.bb b/meta-poky/recipes-core/tiny-init/tiny-init.bb
index 586596259b..3a774fecc4 100644
--- a/meta-poky/recipes-core/tiny-init/tiny-init.bb
+++ b/meta-poky/recipes-core/tiny-init/tiny-init.bb
@@ -11,8 +11,7 @@ SRC_URI = "file://init \
11 file://rc.local.sample \ 11 file://rc.local.sample \
12 " 12 "
13 13
14S = "${WORKDIR}/sources" 14S = "${UNPACKDIR}"
15UNPACKDIR = "${S}"
16 15
17do_configure() { 16do_configure() {
18 : 17 :