diff options
Diffstat (limited to 'meta-poky')
-rw-r--r-- | meta-poky/conf/distro/poky.conf | 4 | ||||
-rw-r--r-- | meta-poky/conf/layer.conf | 2 | ||||
-rw-r--r-- | meta-poky/conf/templates/default/local.conf.sample | 4 | ||||
-rw-r--r-- | meta-poky/lib/oeqa/selftest/cases/pokybleeding.py | 32 | ||||
-rw-r--r-- | meta-poky/recipes-core/tiny-init/tiny-init.bb | 3 |
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 @@ | |||
1 | DISTRO = "poky" | 1 | DISTRO = "poky" |
2 | DISTRO_NAME = "Poky (Yocto Project Reference Distro)" | 2 | DISTRO_NAME = "Poky (Yocto Project Reference Distro)" |
3 | DISTRO_VERSION = "5.2" | 3 | DISTRO_VERSION = "5.2.99+snapshot-${METADATA_REVISION}" |
4 | DISTRO_CODENAME = "walnascar" | 4 | DISTRO_CODENAME = "whinlatter" |
5 | SDK_VENDOR = "-pokysdk" | 5 | SDK_VENDOR = "-pokysdk" |
6 | SDK_VERSION = "${@d.getVar('DISTRO_VERSION').replace('snapshot-${METADATA_REVISION}', 'snapshot')}" | 6 | SDK_VERSION = "${@d.getVar('DISTRO_VERSION').replace('snapshot-${METADATA_REVISION}', 'snapshot')}" |
7 | SDK_VERSION[vardepvalue] = "${SDK_VERSION}" | 7 | SDK_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" | |||
9 | BBFILE_PATTERN_yocto = "^${LAYERDIR}/" | 9 | BBFILE_PATTERN_yocto = "^${LAYERDIR}/" |
10 | BBFILE_PRIORITY_yocto = "5" | 10 | BBFILE_PRIORITY_yocto = "5" |
11 | 11 | ||
12 | LAYERSERIES_COMPAT_yocto = "walnascar" | 12 | LAYERSERIES_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 | |||
7 | from oeqa.utils.commands import bitbake, get_bb_var | ||
8 | from oeqa.selftest.case import OESelftestTestCase | ||
9 | |||
10 | class 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 = ''' | ||
24 | INHERIT += "poky-bleeding" | ||
25 | POKY_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 | ||
14 | S = "${WORKDIR}/sources" | 14 | S = "${UNPACKDIR}" |
15 | UNPACKDIR = "${S}" | ||
16 | 15 | ||
17 | do_configure() { | 16 | do_configure() { |
18 | : | 17 | : |