summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-16 16:42:58 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-28 11:31:17 +0000
commit9d5483c37523ff3d334c98cafb848282b54962cd (patch)
treeadb5f8967d92046bbd77d702caf33aeb63d5cccf
parentab3a71833c7f446aeed7e2aebbd3e20d484c71ff (diff)
downloadpoky-9d5483c37523ff3d334c98cafb848282b54962cd.tar.gz
meta-yocto: Rename to meta-poky to better match its purpose
"poky" is the reference distribution for the Yocto Project. This renames the layer within the meta-yocto repository to meta-poky, better matching what that layer contains. A layer.conf file is left behind as this is the only way which allows existing builds to migrate safely to the new name. It will be removed at some future point. This change requires the corresponding OE-Core change to handle the migration and the changes to the infrastructure to support this. (From meta-yocto rev: d0c88df2e14672fca4ebbde93c5efbcd0e4fa9b6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--.templateconf2
-rw-r--r--README2
-rw-r--r--meta-poky/classes/poky-sanity.bbclass12
-rw-r--r--meta-poky/conf/bblayers.conf.sample (renamed from meta-yocto/conf/bblayers.conf.sample)8
-rw-r--r--meta-poky/conf/conf-notes.txt (renamed from meta-yocto/conf/conf-notes.txt)0
-rw-r--r--meta-poky/conf/distro/include/maintainers.inc (renamed from meta-yocto/conf/distro/include/maintainers.inc)0
-rw-r--r--meta-poky/conf/distro/include/poky-floating-revisions.inc (renamed from meta-yocto/conf/distro/include/poky-floating-revisions.inc)0
-rw-r--r--meta-poky/conf/distro/include/poky-world-exclude.inc (renamed from meta-yocto/conf/distro/include/poky-world-exclude.inc)0
-rw-r--r--meta-poky/conf/distro/poky-bleeding.conf (renamed from meta-yocto/conf/distro/poky-bleeding.conf)0
-rw-r--r--meta-poky/conf/distro/poky-lsb.conf (renamed from meta-yocto/conf/distro/poky-lsb.conf)0
-rw-r--r--meta-poky/conf/distro/poky-tiny.conf (renamed from meta-yocto/conf/distro/poky-tiny.conf)0
-rw-r--r--meta-poky/conf/distro/poky.conf (renamed from meta-yocto/conf/distro/poky.conf)0
-rw-r--r--meta-poky/conf/layer.conf18
-rw-r--r--meta-poky/conf/local.conf.sample (renamed from meta-yocto/conf/local.conf.sample)0
-rw-r--r--meta-poky/conf/local.conf.sample.extended (renamed from meta-yocto/conf/local.conf.sample.extended)0
-rw-r--r--meta-poky/conf/site.conf.sample (renamed from meta-yocto/conf/site.conf.sample)0
-rw-r--r--meta-poky/conf/toasterconf.json (renamed from meta-yocto/conf/toasterconf.json)10
-rw-r--r--meta-poky/recipes-core/busybox/busybox/poky-tiny/defconfig (renamed from meta-yocto/recipes-core/busybox/busybox/poky-tiny/defconfig)0
-rw-r--r--meta-poky/recipes-core/busybox/busybox_%.bbappend (renamed from meta-yocto/recipes-core/busybox/busybox_%.bbappend)0
-rw-r--r--meta-poky/recipes-core/psplash/files/psplash-poky-img.h (renamed from meta-yocto/recipes-core/psplash/files/psplash-poky-img.h)0
-rw-r--r--meta-poky/recipes-core/psplash/psplash_git.bbappend (renamed from meta-yocto/recipes-core/psplash/psplash_git.bbappend)0
-rw-r--r--meta-poky/recipes-core/tiny-init/files/init (renamed from meta-yocto/recipes-core/tiny-init/files/init)0
-rw-r--r--meta-poky/recipes-core/tiny-init/files/rc.local.sample (renamed from meta-yocto/recipes-core/tiny-init/files/rc.local.sample)0
-rw-r--r--meta-poky/recipes-core/tiny-init/tiny-init.bb (renamed from meta-yocto/recipes-core/tiny-init/tiny-init.bb)0
-rw-r--r--meta-yocto/classes/poky-sanity.bbclass28
-rw-r--r--meta-yocto/conf/layer.conf18
-rw-r--r--scripts/lib/bsp/help.py2
-rw-r--r--scripts/lib/bsp/substrate/target/arch/layer/README2
28 files changed, 45 insertions, 57 deletions
diff --git a/.templateconf b/.templateconf
index 0650a46625..0fe6f82503 100644
--- a/.templateconf
+++ b/.templateconf
@@ -1,2 +1,2 @@
1# Template settings 1# Template settings
2TEMPLATECONF=${TEMPLATECONF:-meta-yocto/conf} 2TEMPLATECONF=${TEMPLATECONF:-meta-poky/conf}
diff --git a/README b/README
index 2449309446..9a526779ba 100644
--- a/README
+++ b/README
@@ -42,7 +42,7 @@ documentation:
42 Git repository: http://git.yoctoproject.org/cgit/cgit.cgi/yocto-docs/ 42 Git repository: http://git.yoctoproject.org/cgit/cgit.cgi/yocto-docs/
43 Mailing list: yocto@yoctoproject.org 43 Mailing list: yocto@yoctoproject.org
44 44
45meta-yocto(-bsp): 45meta-poky, meta-yocto-bsp:
46 Git repository: http://git.yoctoproject.org/cgit/cgit.cgi/meta-yocto(-bsp) 46 Git repository: http://git.yoctoproject.org/cgit/cgit.cgi/meta-yocto(-bsp)
47 Mailing list: poky@yoctoproject.org 47 Mailing list: poky@yoctoproject.org
48 48
diff --git a/meta-poky/classes/poky-sanity.bbclass b/meta-poky/classes/poky-sanity.bbclass
new file mode 100644
index 0000000000..287a9e37d6
--- /dev/null
+++ b/meta-poky/classes/poky-sanity.bbclass
@@ -0,0 +1,12 @@
1# Provide some extensions to sanity.bbclass to handle poky-specific conf file upgrades
2
3python poky_update_bblayersconf() {
4 current_version = int(d.getVar('POKY_BBLAYERS_CONF_VERSION', True) or -1)
5 latest_version = int(d.getVar('REQUIRED_POKY_BBLAYERS_CONF_VERSION', True) or -1)
6
7 # No version transitions here yet
8 raise NotImplementedError("You need to update bblayers.conf manually for this version transision")
9}
10
11# Prepend to ensure our function runs before the OE-Core one
12BBLAYERS_CONF_UPDATE_FUNCS =+ "conf/bblayers.conf:POKY_BBLAYERS_CONF_VERSION:REQUIRED_POKY_BBLAYERS_CONF_VERSION:poky_update_bblayersconf"
diff --git a/meta-yocto/conf/bblayers.conf.sample b/meta-poky/conf/bblayers.conf.sample
index 0eda565f96..b948df2faf 100644
--- a/meta-yocto/conf/bblayers.conf.sample
+++ b/meta-poky/conf/bblayers.conf.sample
@@ -1,16 +1,16 @@
1# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf 1# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
2# changes incompatibly 2# changes incompatibly
3LCONF_VERSION = "6" 3POKY_BBLAYERS_CONF_VERSION = "1"
4 4
5BBPATH = "${TOPDIR}" 5BBPATH = "${TOPDIR}"
6BBFILES ?= "" 6BBFILES ?= ""
7 7
8BBLAYERS ?= " \ 8BBLAYERS ?= " \
9 ##OEROOT##/meta \ 9 ##OEROOT##/meta \
10 ##OEROOT##/meta-yocto \ 10 ##OEROOT##/meta-poky \
11 ##OEROOT##/meta-yocto-bsp \ 11 ##OEROOT##/meta-yocto-bsp \
12 " 12 "
13BBLAYERS_NON_REMOVABLE ?= " \ 13BBLAYERS_NON_REMOVABLE ?= " \
14 ##OEROOT##/meta \ 14 ##OEROOT##/meta \
15 ##OEROOT##/meta-yocto \ 15 ##OEROOT##/meta-poky \
16 " 16 "
diff --git a/meta-yocto/conf/conf-notes.txt b/meta-poky/conf/conf-notes.txt
index 66e6319e7a..66e6319e7a 100644
--- a/meta-yocto/conf/conf-notes.txt
+++ b/meta-poky/conf/conf-notes.txt
diff --git a/meta-yocto/conf/distro/include/maintainers.inc b/meta-poky/conf/distro/include/maintainers.inc
index 8fe87c83ff..8fe87c83ff 100644
--- a/meta-yocto/conf/distro/include/maintainers.inc
+++ b/meta-poky/conf/distro/include/maintainers.inc
diff --git a/meta-yocto/conf/distro/include/poky-floating-revisions.inc b/meta-poky/conf/distro/include/poky-floating-revisions.inc
index b11f2cda86..b11f2cda86 100644
--- a/meta-yocto/conf/distro/include/poky-floating-revisions.inc
+++ b/meta-poky/conf/distro/include/poky-floating-revisions.inc
diff --git a/meta-yocto/conf/distro/include/poky-world-exclude.inc b/meta-poky/conf/distro/include/poky-world-exclude.inc
index 5194ff1430..5194ff1430 100644
--- a/meta-yocto/conf/distro/include/poky-world-exclude.inc
+++ b/meta-poky/conf/distro/include/poky-world-exclude.inc
diff --git a/meta-yocto/conf/distro/poky-bleeding.conf b/meta-poky/conf/distro/poky-bleeding.conf
index 2d3e046a45..2d3e046a45 100644
--- a/meta-yocto/conf/distro/poky-bleeding.conf
+++ b/meta-poky/conf/distro/poky-bleeding.conf
diff --git a/meta-yocto/conf/distro/poky-lsb.conf b/meta-poky/conf/distro/poky-lsb.conf
index e7d6995a73..e7d6995a73 100644
--- a/meta-yocto/conf/distro/poky-lsb.conf
+++ b/meta-poky/conf/distro/poky-lsb.conf
diff --git a/meta-yocto/conf/distro/poky-tiny.conf b/meta-poky/conf/distro/poky-tiny.conf
index 0ac46ac0b9..0ac46ac0b9 100644
--- a/meta-yocto/conf/distro/poky-tiny.conf
+++ b/meta-poky/conf/distro/poky-tiny.conf
diff --git a/meta-yocto/conf/distro/poky.conf b/meta-poky/conf/distro/poky.conf
index 55bc1908c9..55bc1908c9 100644
--- a/meta-yocto/conf/distro/poky.conf
+++ b/meta-poky/conf/distro/poky.conf
diff --git a/meta-poky/conf/layer.conf b/meta-poky/conf/layer.conf
new file mode 100644
index 0000000000..b5ffd9e686
--- /dev/null
+++ b/meta-poky/conf/layer.conf
@@ -0,0 +1,18 @@
1# We have a conf and classes directory, add to BBPATH
2BBPATH =. "${LAYERDIR}:"
3
4# We have recipes-* directories, add to BBFILES
5BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
6 ${LAYERDIR}/recipes-*/*/*.bbappend"
7
8BBFILE_COLLECTIONS += "yocto"
9BBFILE_PATTERN_yocto = "^${LAYERDIR}/"
10BBFILE_PRIORITY_yocto = "5"
11
12# This should only be incremented on significant changes that will
13# cause compatibility issues with other layers
14LAYERVERSION_yocto = "3"
15
16LAYERDEPENDS_yocto = "core"
17
18REQUIRED_POKY_BBLAYERS_CONF_VERSION = "1"
diff --git a/meta-yocto/conf/local.conf.sample b/meta-poky/conf/local.conf.sample
index 9cb6e95b3d..9cb6e95b3d 100644
--- a/meta-yocto/conf/local.conf.sample
+++ b/meta-poky/conf/local.conf.sample
diff --git a/meta-yocto/conf/local.conf.sample.extended b/meta-poky/conf/local.conf.sample.extended
index aa7b42f828..aa7b42f828 100644
--- a/meta-yocto/conf/local.conf.sample.extended
+++ b/meta-poky/conf/local.conf.sample.extended
diff --git a/meta-yocto/conf/site.conf.sample b/meta-poky/conf/site.conf.sample
index c551e8fb0c..c551e8fb0c 100644
--- a/meta-yocto/conf/site.conf.sample
+++ b/meta-poky/conf/site.conf.sample
diff --git a/meta-yocto/conf/toasterconf.json b/meta-poky/conf/toasterconf.json
index 3f79f426cd..dc592abbdd 100644
--- a/meta-yocto/conf/toasterconf.json
+++ b/meta-poky/conf/toasterconf.json
@@ -20,10 +20,10 @@
20 "dirpath": "meta" 20 "dirpath": "meta"
21 }, 21 },
22 { 22 {
23 "name": "meta-yocto", 23 "name": "meta-poky",
24 "local_path": "meta-yocto", 24 "local_path": "meta-poky",
25 "vcs_url": "remote:origin", 25 "vcs_url": "remote:origin",
26 "dirpath": "meta-yocto" 26 "dirpath": "meta-poky"
27 }, 27 },
28 { 28 {
29 "name": "meta-yocto-bsp", 29 "name": "meta-yocto-bsp",
@@ -83,7 +83,7 @@
83 "description": "Yocto Project master", 83 "description": "Yocto Project master",
84 "bitbake": "master", 84 "bitbake": "master",
85 "branch": "master", 85 "branch": "master",
86 "defaultlayers": [ "openembedded-core", "meta-yocto", "meta-yocto-bsp"], 86 "defaultlayers": [ "openembedded-core", "meta-poky", "meta-yocto-bsp"],
87 "layersourcepriority": { "Imported layers": 99, "Local Yocto Project" : 10, "OpenEmbedded" : 0 }, 87 "layersourcepriority": { "Imported layers": 99, "Local Yocto Project" : 10, "OpenEmbedded" : 0 },
88 "helptext": "Toaster will run your builds using the tip of the <a href=\"http://git.yoctoproject.org/cgit/cgit.cgi/poky/log/\">Yocto Project master branch</a>, where active development takes place. This is not a stable branch, so your builds might not work as expected." 88 "helptext": "Toaster will run your builds using the tip of the <a href=\"http://git.yoctoproject.org/cgit/cgit.cgi/poky/log/\">Yocto Project master branch</a>, where active development takes place. This is not a stable branch, so your builds might not work as expected."
89 }, 89 },
@@ -110,7 +110,7 @@
110 "description": "Local Yocto Project", 110 "description": "Local Yocto Project",
111 "bitbake": "HEAD", 111 "bitbake": "HEAD",
112 "branch": "HEAD", 112 "branch": "HEAD",
113 "defaultlayers": [ "openembedded-core", "meta-yocto", "meta-yocto-bsp"], 113 "defaultlayers": [ "openembedded-core", "meta-poky", "meta-yocto-bsp"],
114 "layersourcepriority": { "Imported layers": 99, "Local Yocto Project" : 10, "OpenEmbedded" : 0 }, 114 "layersourcepriority": { "Imported layers": 99, "Local Yocto Project" : 10, "OpenEmbedded" : 0 },
115 "helptext": "Toaster will run your builds with the version of the Yocto Project you have cloned or downloaded to your computer." 115 "helptext": "Toaster will run your builds with the version of the Yocto Project you have cloned or downloaded to your computer."
116 } 116 }
diff --git a/meta-yocto/recipes-core/busybox/busybox/poky-tiny/defconfig b/meta-poky/recipes-core/busybox/busybox/poky-tiny/defconfig
index 0a5d5c918d..0a5d5c918d 100644
--- a/meta-yocto/recipes-core/busybox/busybox/poky-tiny/defconfig
+++ b/meta-poky/recipes-core/busybox/busybox/poky-tiny/defconfig
diff --git a/meta-yocto/recipes-core/busybox/busybox_%.bbappend b/meta-poky/recipes-core/busybox/busybox_%.bbappend
index 000578744a..000578744a 100644
--- a/meta-yocto/recipes-core/busybox/busybox_%.bbappend
+++ b/meta-poky/recipes-core/busybox/busybox_%.bbappend
diff --git a/meta-yocto/recipes-core/psplash/files/psplash-poky-img.h b/meta-poky/recipes-core/psplash/files/psplash-poky-img.h
index e84dac9334..e84dac9334 100644
--- a/meta-yocto/recipes-core/psplash/files/psplash-poky-img.h
+++ b/meta-poky/recipes-core/psplash/files/psplash-poky-img.h
diff --git a/meta-yocto/recipes-core/psplash/psplash_git.bbappend b/meta-poky/recipes-core/psplash/psplash_git.bbappend
index 433ef66977..433ef66977 100644
--- a/meta-yocto/recipes-core/psplash/psplash_git.bbappend
+++ b/meta-poky/recipes-core/psplash/psplash_git.bbappend
diff --git a/meta-yocto/recipes-core/tiny-init/files/init b/meta-poky/recipes-core/tiny-init/files/init
index 9140e9558e..9140e9558e 100644
--- a/meta-yocto/recipes-core/tiny-init/files/init
+++ b/meta-poky/recipes-core/tiny-init/files/init
diff --git a/meta-yocto/recipes-core/tiny-init/files/rc.local.sample b/meta-poky/recipes-core/tiny-init/files/rc.local.sample
index d9e198a200..d9e198a200 100644
--- a/meta-yocto/recipes-core/tiny-init/files/rc.local.sample
+++ b/meta-poky/recipes-core/tiny-init/files/rc.local.sample
diff --git a/meta-yocto/recipes-core/tiny-init/tiny-init.bb b/meta-poky/recipes-core/tiny-init/tiny-init.bb
index 4d4e34dc8b..4d4e34dc8b 100644
--- a/meta-yocto/recipes-core/tiny-init/tiny-init.bb
+++ b/meta-poky/recipes-core/tiny-init/tiny-init.bb
diff --git a/meta-yocto/classes/poky-sanity.bbclass b/meta-yocto/classes/poky-sanity.bbclass
deleted file mode 100644
index 77c266e946..0000000000
--- a/meta-yocto/classes/poky-sanity.bbclass
+++ /dev/null
@@ -1,28 +0,0 @@
1# Provide some extensions to sanity.bbclass to handle poky-specific conf file upgrades
2
3python poky_update_bblayersconf() {
4 current_version = int(d.getVar('LCONF_VERSION', True) or -1)
5 latest_version = int(d.getVar('LAYER_CONF_VERSION', True) or -1)
6
7 bblayers_fn = bblayers_conf_file(d)
8 lines = sanity_conf_read(bblayers_fn)
9
10 if current_version == 5 and latest_version > 5:
11 # Handle split out of meta-yocto-bsp from meta-yocto
12 if '/meta-yocto-bsp' not in d.getVar('BBLAYERS', True):
13 index, meta_yocto_line = sanity_conf_find_line('meta-yocto\s*\\\\\\n', lines)
14 if meta_yocto_line:
15 lines.insert(index + 1, meta_yocto_line.replace('meta-yocto',
16 'meta-yocto-bsp'))
17 else:
18 sys.exit()
19
20 current_version += 1
21 sanity_conf_update(bblayers_fn, lines, 'LCONF_VERSION', current_version)
22 return
23
24 sys.exit()
25}
26
27# Prepend to ensure our function runs before the OE-Core one
28BBLAYERS_CONF_UPDATE_FUNCS =+ "poky_update_bblayersconf"
diff --git a/meta-yocto/conf/layer.conf b/meta-yocto/conf/layer.conf
index 9942b518ee..9ed30ed1f9 100644
--- a/meta-yocto/conf/layer.conf
+++ b/meta-yocto/conf/layer.conf
@@ -1,16 +1,2 @@
1# We have a conf and classes directory, add to BBPATH 1# Dummy file to allow for meta-yocto -> meta-poky transition
2BBPATH =. "${LAYERDIR}:" 2BBPATH =. "${LAYERDIR}/../meta-poky:"
3
4# We have recipes-* directories, add to BBFILES
5BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
6 ${LAYERDIR}/recipes-*/*/*.bbappend"
7
8BBFILE_COLLECTIONS += "yocto"
9BBFILE_PATTERN_yocto = "^${LAYERDIR}/"
10BBFILE_PRIORITY_yocto = "5"
11
12# This should only be incremented on significant changes that will
13# cause compatibility issues with other layers
14LAYERVERSION_yocto = "2"
15
16LAYERDEPENDS_yocto = "core"
diff --git a/scripts/lib/bsp/help.py b/scripts/lib/bsp/help.py
index 4cce100d16..bbb7b317d7 100644
--- a/scripts/lib/bsp/help.py
+++ b/scripts/lib/bsp/help.py
@@ -173,7 +173,7 @@ DESCRIPTION
173 173
174 BBLAYERS ?= " \\ 174 BBLAYERS ?= " \\
175 /path/to/poky/meta \\ 175 /path/to/poky/meta \\
176 /path/to/poky/meta-yocto \\ 176 /path/to/poky/meta-poky \\
177 /path/to/poky/meta-mybsp \\ 177 /path/to/poky/meta-mybsp \\
178 " 178 "
179""" 179"""
diff --git a/scripts/lib/bsp/substrate/target/arch/layer/README b/scripts/lib/bsp/substrate/target/arch/layer/README
index 943dfc4412..ca6527cd85 100644
--- a/scripts/lib/bsp/substrate/target/arch/layer/README
+++ b/scripts/lib/bsp/substrate/target/arch/layer/README
@@ -52,7 +52,7 @@ other layers needed. e.g.:
52 52
53 BBLAYERS ?= " \ 53 BBLAYERS ?= " \
54 /path/to/yocto/meta \ 54 /path/to/yocto/meta \
55 /path/to/yocto/meta-yocto \ 55 /path/to/yocto/meta-poky \
56 /path/to/yocto/meta-yocto-bsp \ 56 /path/to/yocto/meta-yocto-bsp \
57 /path/to/yocto/meta-{{=layer_name}} \ 57 /path/to/yocto/meta-{{=layer_name}} \
58 " 58 "