Skip to contentSkip to conversation

meta-poky: remove the default template

PATCH New Alexander Kanavin 1 participant 1 message Nov 18, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 meta-poky: remove the default template

It is largely duplicating oe-core's template (with addition of some poky-specific items [1]), and has issues such as assuming a particular layer layout. Rather than continuing to maintain both, let's transition to oe-core template as a starting point (when not using bitbake-setup).

To get poky one would need to initialize with oe-init-build-env, then add the two meta-yocto layers, and set a DISTRO.

[1] https://lists.yoctoproject.org/g/poky/message/13798

---
 .templateconf                                 |   2 -
 .../templates/default/bblayers.conf.sample    |  12 -
 .../conf/templates/default/conf-notes.txt     |  19 -
 .../conf/templates/default/conf-summary.txt   |   1 -
 .../conf/templates/default/local.conf.sample  | 283 -------------
 .../default/local.conf.sample.extended        | 388 ------------------
 .../conf/templates/default/site.conf.sample   |  33 --
 7 files changed, 738 deletions(-)
 delete mode 100644 .templateconf
 delete mode 100644 meta-poky/conf/templates/default/bblayers.conf.sample
 delete mode 100644 meta-poky/conf/templates/default/conf-notes.txt
 delete mode 100644 meta-poky/conf/templates/default/conf-summary.txt
 delete mode 100644 meta-poky/conf/templates/default/local.conf.sample
 delete mode 100644 meta-poky/conf/templates/default/local.conf.sample.extended
 delete mode 100644 meta-poky/conf/templates/default/site.conf.sample
.templateconf deleted +0 -2
deleted file mode 100644
index faf0348..0000000
@@ -1,2 +0,0 @@
-# Template settings
-TEMPLATECONF=${TEMPLATECONF:-meta-poky/conf/templates/default}
meta-poky/conf/templates/default/bblayers.conf.sample deleted +0 -12
deleted file mode 100644
index 8b1cbdf..0000000
@@ -1,12 +0,0 @@
-# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
-# changes incompatibly
-POKY_BBLAYERS_CONF_VERSION = "2"
-
-BBPATH = "${TOPDIR}"
-BBFILES ?= ""
-
-BBLAYERS ?= " \
-  ##OEROOT##/meta \
-  ##OEROOT##/meta-poky \
-  ##OEROOT##/meta-yocto-bsp \
-  "
meta-poky/conf/templates/default/conf-notes.txt deleted +0 -19
deleted file mode 100644
index cfd1f19..0000000
@@ -1,19 +0,0 @@
-
-### Shell environment set up for builds. ###
-
-You can now run 'bitbake <target>'
-
-Common targets are:
-    core-image-minimal
-    core-image-full-cmdline
-    core-image-sato
-    core-image-weston
-    meta-toolchain
-    meta-ide-support
-
-You can also run generated qemu images with a command like 'runqemu qemux86-64'.
-
-Other commonly useful commands are:
- - 'devtool' and 'recipetool' handle common recipe tasks
- - 'bitbake-layers' handles common layer tasks
- - 'oe-pkgdata-util' handles common target package tasks
meta-poky/conf/templates/default/conf-summary.txt deleted +0 -1
deleted file mode 100644
index 8fc0303..0000000
@@ -1 +0,0 @@
-This is the default build configuration for the Poky reference distribution.
meta-poky/conf/templates/default/local.conf.sample deleted +0 -283

283 lines not on this page · raw message

meta-poky/conf/templates/default/local.conf.sample.extended deleted +0 -388

388 lines not on this page · raw message

meta-poky/conf/templates/default/site.conf.sample deleted +0 -33
deleted file mode 100644
index 5164fed..0000000
@@ -1,33 +0,0 @@
-#
-# local.conf covers user settings, site.conf covers site specific information
-# such as proxy server addresses and optionally any shared download location
-#
-# SITE_CONF_VERSION is increased each time build/conf/site.conf
-# changes incompatibly
-SCONF_VERSION = "1"
-
-# Uncomment to cause CVS to use the proxy host specified
-#CVS_PROXY_HOST = "proxy.example.com"
-#CVS_PROXY_PORT = "81"
-
-# For svn, you need to create ~/.subversion/servers containing:
-#[global]
-#http-proxy-host = proxy.example.com
-#http-proxy-port = 81
-#
-
-# To use git with a proxy, you must use an external git proxy command, such as
-# the one provided by scripts/oe-git-proxy. To use this script, copy it to
-# your PATH and uncomment the following:
-#GIT_PROXY_COMMAND ?= "oe-git-proxy"
-#ALL_PROXY ?= "socks://socks.example.com:1080"
-#or
-#ALL_PROXY ?= "https://proxy.example.com:8080"
-# If you wish to use certain hosts without the proxy, specify them in NO_PROXY.
-# See the script for details on syntax. The script oe-git-proxy uses some tools
-# that may not be included on HOSTTOOLS, thus  add them manually through
-# HOSTTOOLS += "getent"
-
-# Uncomment this to use a shared download directory
-#DL_DIR = "/some/shared/download/directory/"
-
Signature · 1 line
2.39.5