Message ID | 20250603113558.3104618-1-alex.kanavin@gmail.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [1/4] meta/conf/templates: add a blank template | expand |
This set needs to go to oe-core, pls ignore. (but the 3-patch set I sent just prior is indeed for poky). Alex On Tue, 3 Jun 2025 at 13:36, Alexander Kanavin <alex.kanavin@gmail.com> wrote: > > From: Alexander Kanavin <alex@linutronix.de> > > The default oe-core/poky templates have a number of settings > (such as distro and machine) and are thus unsuitable for > building up configurations from fragments. This adds a template > with an empty local.conf, so that it can be used as the starting > point for fragment-driven configuration. > > There will also be a blank template in poky; the difference is > that this one includes only oe-core and the poky one > adds poky layers. > > Signed-off-by: Alexander Kanavin <alex@linutronix.de> > --- > .../conf/templates/blank/bblayers.conf.sample | 10 ++++++++++ > meta/conf/templates/blank/conf-notes.txt | 19 +++++++++++++++++++ > meta/conf/templates/blank/conf-summary.txt | 1 + > meta/conf/templates/blank/local.conf.sample | 10 ++++++++++ > 4 files changed, 40 insertions(+) > create mode 100644 meta/conf/templates/blank/bblayers.conf.sample > create mode 100644 meta/conf/templates/blank/conf-notes.txt > create mode 100644 meta/conf/templates/blank/conf-summary.txt > create mode 100644 meta/conf/templates/blank/local.conf.sample > > diff --git a/meta/conf/templates/blank/bblayers.conf.sample b/meta/conf/templates/blank/bblayers.conf.sample > new file mode 100644 > index 00000000000..c985f4f2420 > --- /dev/null > +++ b/meta/conf/templates/blank/bblayers.conf.sample > @@ -0,0 +1,10 @@ > +# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf > +# changes incompatibly > +LCONF_VERSION = "7" > + > +BBPATH = "${TOPDIR}" > +BBFILES ?= "" > + > +BBLAYERS ?= " \ > + ##OEROOT##/meta \ > + " > diff --git a/meta/conf/templates/blank/conf-notes.txt b/meta/conf/templates/blank/conf-notes.txt > new file mode 100644 > index 00000000000..cfd1f1977bf > --- /dev/null > +++ b/meta/conf/templates/blank/conf-notes.txt > @@ -0,0 +1,19 @@ > + > +### 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 > diff --git a/meta/conf/templates/blank/conf-summary.txt b/meta/conf/templates/blank/conf-summary.txt > new file mode 100644 > index 00000000000..7528c297947 > --- /dev/null > +++ b/meta/conf/templates/blank/conf-summary.txt > @@ -0,0 +1 @@ > +This configuration is empty and is intended as a starting point for adding configuration fragments. > diff --git a/meta/conf/templates/blank/local.conf.sample b/meta/conf/templates/blank/local.conf.sample > new file mode 100644 > index 00000000000..41eea8506df > --- /dev/null > +++ b/meta/conf/templates/blank/local.conf.sample > @@ -0,0 +1,10 @@ > +# > +# This file is intended for local configuration tweaks. It is intentionally > +# set up empty, so that configuration can be constructed from fragments > +# using bitbake-config-build tool and by setting MACHINE and DISTRO here. > +# > +# If you would like to publish this file (for example as a bitbake > +# configuration template), it is recommended to create fragments > +# from changes made here; the only settings that can remain are > +# MACHINE and DISTRO. > +# > -- > 2.39.5 >
diff --git a/meta/conf/templates/blank/bblayers.conf.sample b/meta/conf/templates/blank/bblayers.conf.sample new file mode 100644 index 00000000000..c985f4f2420 --- /dev/null +++ b/meta/conf/templates/blank/bblayers.conf.sample @@ -0,0 +1,10 @@ +# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf +# changes incompatibly +LCONF_VERSION = "7" + +BBPATH = "${TOPDIR}" +BBFILES ?= "" + +BBLAYERS ?= " \ + ##OEROOT##/meta \ + " diff --git a/meta/conf/templates/blank/conf-notes.txt b/meta/conf/templates/blank/conf-notes.txt new file mode 100644 index 00000000000..cfd1f1977bf --- /dev/null +++ b/meta/conf/templates/blank/conf-notes.txt @@ -0,0 +1,19 @@ + +### 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 diff --git a/meta/conf/templates/blank/conf-summary.txt b/meta/conf/templates/blank/conf-summary.txt new file mode 100644 index 00000000000..7528c297947 --- /dev/null +++ b/meta/conf/templates/blank/conf-summary.txt @@ -0,0 +1 @@ +This configuration is empty and is intended as a starting point for adding configuration fragments. diff --git a/meta/conf/templates/blank/local.conf.sample b/meta/conf/templates/blank/local.conf.sample new file mode 100644 index 00000000000..41eea8506df --- /dev/null +++ b/meta/conf/templates/blank/local.conf.sample @@ -0,0 +1,10 @@ +# +# This file is intended for local configuration tweaks. It is intentionally +# set up empty, so that configuration can be constructed from fragments +# using bitbake-config-build tool and by setting MACHINE and DISTRO here. +# +# If you would like to publish this file (for example as a bitbake +# configuration template), it is recommended to create fragments +# from changes made here; the only settings that can remain are +# MACHINE and DISTRO. +#