Add a v3 config for master (and future) branches
PATCH 1/1 Add a v3 config for master (and future) branches
The master branch of oe-core just removed "debug-tweaks" and requires that you set the individual flags directly. So create a v3 version of the local.conf file and document the new change.
Signed-off-by Ryan Eatmon <[email protected]>
---
configs/arago-master-chromium-config.txt | 3 +-
configs/arago-master-config.txt | 3 +-
configs/arago-master-next-config.txt | 4 ++-
configs/arago-master-wip-config.txt | 3 +-
configs/distroless-master-config.txt | 4 ++-
configs/poky-master-config.txt | 2 +-
configs/poky-master-wip-config.txt | 2 +-
...nf.sample => local-arago64-v3.conf.sample} | 32 ++++++++++---------
....conf.sample => local-poky-v3.conf.sample} | 18 ++++++-----
...al-v2.conf.sample => local-v3.conf.sample} | 18 ++++++-----
10 files changed, 51 insertions(+), 38 deletions(-)
copy sample-files/{local-arago64-v2.conf.sample => local-arago64-v3.conf.sample} (84%)
copy sample-files/{local-poky-v2.conf.sample => local-poky-v3.conf.sample} (92%)
copy sample-files/{local-v2.conf.sample => local-v3.conf.sample} (92%)configs/arago-master-chromium-config.txt +2 -1
@@ -11,6 +11,7 @@ meta-ti,https://git.yoctoproject.org/meta-ti,master,HEAD,layers=meta-ti-extras:m meta-arm,https://git.yoctoproject.org/meta-arm,master,HEAD,layers=meta-arm:meta-arm-toolchain meta-clang,https://github.com/kraj/meta-clang,master,HEAD,layers= oe-core,https://git.openembedded.org/openembedded-core,master,HEAD,layers=meta + OECORELAYERCONF=./sample-files/bblayers.conf.sample -OECORELOCALCONF=./sample-files/local-arago64-v2.conf.sample +OECORELOCALCONF=./sample-files/local-arago64-v3.conf.sample BITBAKE_INCLUSIVE_VARS=yes
configs/arago-master-config.txt +2 -1
@@ -11,6 +11,7 @@ meta-ti,https://git.yoctoproject.org/meta-ti,master,HEAD,layers=meta-ti-extras:m meta-arm,https://git.yoctoproject.org/meta-arm,master,HEAD,layers=meta-arm:meta-arm-toolchain meta-clang,https://github.com/kraj/meta-clang,master,HEAD,layers= oe-core,https://git.openembedded.org/openembedded-core,master,HEAD,layers=meta + OECORELAYERCONF=./sample-files/bblayers.conf.sample -OECORELOCALCONF=./sample-files/local-arago64-v2.conf.sample +OECORELOCALCONF=./sample-files/local-arago64-v3.conf.sample BITBAKE_INCLUSIVE_VARS=yes
configs/arago-master-next-config.txt +3 -1
@@ -19,7 +19,9 @@ meta-ti,https://git.yoctoproject.org/meta-ti,master-next,HEAD,layers=meta-ti-ext meta-arm,https://git.yoctoproject.org/meta-arm,master,HEAD,layers=meta-arm:meta-arm-toolchain meta-clang,https://github.com/kraj/meta-clang,master,HEAD,layers= oe-core,https://git.openembedded.org/openembedded-core,master,HEAD,layers=meta + OECORELAYERCONF=./sample-files/bblayers.conf.sample -OECORELOCALCONF=./sample-files/local-arago64-v2.conf.sample +OECORELOCALCONF=./sample-files/local-arago64-v3.conf.sample BITBAKE_INCLUSIVE_VARS=yes + LOCALCONF:OVERRIDES:append = ":recipe-${@os.path.basename(d.getVar('FILE'))}"
configs/arago-master-wip-config.txt +2 -1
@@ -11,6 +11,7 @@ meta-ti,https://git.yoctoproject.org/meta-ti,master-wip,HEAD,layers=meta-ti-extr meta-arm,https://git.yoctoproject.org/meta-arm,master,HEAD,layers=meta-arm:meta-arm-toolchain meta-clang,https://github.com/kraj/meta-clang,master,HEAD,layers= oe-core,https://git.openembedded.org/openembedded-core,master,HEAD,layers=meta + OECORELAYERCONF=./sample-files/bblayers.conf.sample -OECORELOCALCONF=./sample-files/local-arago64-v2.conf.sample +OECORELOCALCONF=./sample-files/local-arago64-v3.conf.sample BITBAKE_INCLUSIVE_VARS=yes
configs/distroless-master-config.txt +3 -1
@@ -1,9 +1,11 @@ # This file takes repo entries in the format # repo name,repo uri,repo branch,repo commit[,layers=layer1:layer2...:layern] + bitbake,https://git.openembedded.org/bitbake,master,HEAD meta-ti,https://git.yoctoproject.org/meta-ti,master,HEAD,layers=meta-ti-extras:meta-ti-bsp meta-arm,https://git.yoctoproject.org/meta-arm,master,HEAD,layers=meta-arm:meta-arm-toolchain oe-core,https://git.openembedded.org/openembedded-core,master,HEAD,layers=meta + OECORELAYERCONF=./sample-files/bblayers.conf.sample -OECORELOCALCONF=./sample-files/local-v2.conf.sample +OECORELOCALCONF=./sample-files/local-v3.conf.sample BITBAKE_INCLUSIVE_VARS=yes
configs/poky-master-config.txt +1 -1
@@ -10,5 +10,5 @@ oe-core,https://git.openembedded.org/openembedded-core,master,HEAD,layers=meta meta-arago,https://git.yoctoproject.org/meta-arago,master,HEAD,layers=meta-arago-extras:meta-arago-test OECORELAYERCONF=./sample-files/bblayers.conf.sample -OECORELOCALCONF=./sample-files/local-poky-v2.conf.sample +OECORELOCALCONF=./sample-files/local-poky-v3.conf.sample BITBAKE_INCLUSIVE_VARS=yes
configs/poky-master-wip-config.txt +1 -1
@@ -10,5 +10,5 @@ oe-core,https://git.openembedded.org/openembedded-core,master,HEAD,layers=meta meta-arago,https://git.yoctoproject.org/meta-arago,master-wip,HEAD,layers=meta-arago-extras:meta-arago-test OECORELAYERCONF=./sample-files/bblayers.conf.sample -OECORELOCALCONF=./sample-files/local-poky-v2.conf.sample +OECORELOCALCONF=./sample-files/local-poky-v3.conf.sample BITBAKE_INCLUSIVE_VARS=yes
sample-files/local-arago64-v3.conf.sample renamed from sample-files/local-arago64-v2.conf.sample +17 -15
@@ -10,7 +10,7 @@ CONF_VERSION = "2" # wiping and rebuilding you can preserve this directory to speed up this part # of subsequent builds. This directory is safe to share between multiple builds # on the same machine too. -DL_DIR = "${OEBASE}/downloads" +DL_DIR = "${TOPDIR}/downloads" # # Where to place shared-state files
@@ -23,7 +23,7 @@ DL_DIR = "${OEBASE}/downloads" # regenerate from these files if no changes were made to the configuration. # If changes were made to the configuration, only shared state files where the # state was still valid would be used (done using checksums). -SSTATE_DIR = "${OEBASE}/build/sstate-cache" +SSTATE_DIR = "${TOPDIR}/build/sstate-cache" # # Shared-state files from other locations
@@ -59,7 +59,7 @@ TMPDIR = "${TOPDIR}/arago-tmp" # You need to select a specific machine to target the build with. There are a selection # of emulated machines available which can boot and run in the QEMU emulator: # -MACHINE ?= "arago" +#MACHINE ?= "arago" # # Package Management configuration
@@ -90,20 +90,22 @@ SDKMACHINE ?= "x86_64" # The EXTRA_IMAGE_FEATURES variable allows extra packages to be added to the generated # images. Some of these options are added to certain image types automatically. The # variable can contain the following options: -# "dbg-pkgs" - add -dbg packages for all installed packages -# (adds symbol information for debugging/profiling) -# "dev-pkgs" - add -dev packages for all installed packages -# (useful if you want to develop against libs in the image) -# "tools-sdk" - add development tools (gcc, make, pkgconfig etc.) -# "tools-debug" - add debugging tools (gdb, strace) -# "tools-profile" - add profiling tools (oprofile, exmap, lttng valgrind (x86 only)) -# "tools-testapps" - add useful testing tools (ts_print, aplay, arecord etc.) -# "debug-tweaks" - make an image suitable for development -# e.g. ssh root access has a blank password +# "dbg-pkgs" - add -dbg packages for all installed packages +# (adds symbol information for debugging/profiling) +# "dev-pkgs" - add -dev packages for all installed packages +# (useful if you want to develop against libs in the image) +# "tools-sdk" - add development tools (gcc, make, pkgconfig etc.) +# "tools-debug" - add debugging tools (gdb, strace) +# "tools-profile" - add profiling tools (oprofile, exmap, lttng valgrind (x86 only)) +# "tools-testapps" - add useful testing tools (ts_print, aplay, arecord etc.) +# "empty-root-password" - the root user has no password set +# "allow-empty-password" - users can have an empty password +# "allow-root-login" - the root user can login +# "post-install-logging" - log the output of postinstall scriptlets # There are other application targets that can be used here too, see # meta/classes/image.bbclass and meta/classes/core-image.bbclass for more details. -# We default to enabling the debugging tweaks. -EXTRA_IMAGE_FEATURES = "debug-tweaks" +# We default to enabling the empty root login settings for debugging/testing. +EXTRA_IMAGE_FEATURES = "empty-root-password allow-empty-password allow-root-login post-install-logging" # # Additional image features
sample-files/local-poky-v3.conf.sample renamed from sample-files/local-poky-v2.conf.sample +10 -8
@@ -10,7 +10,7 @@ CONF_VERSION = "2" # wiping and rebuilding you can preserve this directory to speed up this part # of subsequent builds. This directory is safe to share between multiple builds # on the same machine too. -DL_DIR = "${OEBASE}/downloads" +DL_DIR = "${TOPDIR}/downloads" # # Where to place shared-state files
@@ -23,7 +23,7 @@ DL_DIR = "${OEBASE}/downloads" # regenerate from these files if no changes were made to the configuration. # If changes were made to the configuration, only shared state files where the # state was still valid would be used (done using checksums). -SSTATE_DIR = "${OEBASE}/build/sstate-cache" +SSTATE_DIR = "${TOPDIR}/build/sstate-cache" # # Shared-state files from other locations
@@ -48,7 +48,7 @@ SSTATE_DIR = "${OEBASE}/build/sstate-cache" # where BitBake should place its temporary files and output. Keep in mind that # this includes the extraction and compilation of many applications and the toolchain # which can use Gigabytes of hard disk space. -TMPDIR = "${OEBASE}/build/poky-tmp" +TMPDIR = "${TOPDIR}/build/poky-tmp" # # Machine Selection
@@ -56,7 +56,7 @@ TMPDIR = "${OEBASE}/build/poky-tmp" # You need to select a specific machine to target the build with. There are a selection # of emulated machines available which can boot and run in the QEMU emulator: # -MACHINE ?= "arago" +#MACHINE ?= "arago" # # Package Management configuration
@@ -95,12 +95,14 @@ SDKMACHINE ?= "x86_64" # "tools-debug" - add debugging tools (gdb, strace) # "tools-profile" - add profiling tools (oprofile, exmap, lttng valgrind (x86 only)) # "tools-testapps" - add useful testing tools (ts_print, aplay, arecord etc.) -# "debug-tweaks" - make an image suitable for development -# e.g. ssh root access has a blank password +# "empty-root-password" - the root user has no password set +# "allow-empty-password" - users can have an empty password +# "allow-root-login" - the root user can login +# "post-install-logging" - log the output of postinstall scriptlets # There are other application targets that can be used here too, see # meta/classes/image.bbclass and meta/classes/core-image.bbclass for more details. -# We default to enabling the debugging tweaks. -EXTRA_IMAGE_FEATURES = "debug-tweaks" +# We default to enabling the empty root login settings for debugging/testing. +EXTRA_IMAGE_FEATURES = "empty-root-password allow-empty-password allow-root-login post-install-logging" # # Additional image features
sample-files/local-v3.conf.sample renamed from sample-files/local-v2.conf.sample +10 -8
@@ -10,7 +10,7 @@ CONF_VERSION = "2" # wiping and rebuilding you can preserve this directory to speed up this part # of subsequent builds. This directory is safe to share between multiple builds # on the same machine too. -DL_DIR = "${OEBASE}/downloads" +DL_DIR = "${TOPDIR}/downloads" # # Where to place shared-state files
@@ -23,7 +23,7 @@ DL_DIR = "${OEBASE}/downloads" # regenerate from these files if no changes were made to the configuration. # If changes were made to the configuration, only shared state files where the # state was still valid would be used (done using checksums). -SSTATE_DIR = "${OEBASE}/build/sstate-cache" +SSTATE_DIR = "${TOPDIR}/build/sstate-cache" # # Shared-state files from other locations
@@ -48,7 +48,7 @@ SSTATE_DIR = "${OEBASE}/build/sstate-cache" # where BitBake should place its temporary files and output. Keep in mind that # this includes the extraction and compilation of many applications and the toolchain # which can use Gigabytes of hard disk space. -TMPDIR = "${OEBASE}/build/arago-tmp" +TMPDIR = "${TOPDIR}/build/arago-tmp" # # Machine Selection
@@ -56,7 +56,7 @@ TMPDIR = "${OEBASE}/build/arago-tmp" # You need to select a specific machine to target the build with. There are a selection # of emulated machines available which can boot and run in the QEMU emulator: # -MACHINE ?= "arago" +#MACHINE ?= "arago" # # Package Management configuration
@@ -95,12 +95,14 @@ SDKMACHINE ?= "i686" # "tools-debug" - add debugging tools (gdb, strace) # "tools-profile" - add profiling tools (oprofile, exmap, lttng valgrind (x86 only)) # "tools-testapps" - add useful testing tools (ts_print, aplay, arecord etc.) -# "debug-tweaks" - make an image suitable for development -# e.g. ssh root access has a blank password +# "empty-root-password" - the root user has no password set +# "allow-empty-password" - users can have an empty password +# "allow-root-login" - the root user can login +# "post-install-logging" - log the output of postinstall scriptlets # There are other application targets that can be used here too, see # meta/classes/image.bbclass and meta/classes/core-image.bbclass for more details. -# We default to enabling the debugging tweaks. -EXTRA_IMAGE_FEATURES = "debug-tweaks" +# We default to enabling the empty root login settings for debugging/testing. +EXTRA_IMAGE_FEATURES = "empty-root-password allow-empty-password allow-root-login post-install-logging" # # Additional image features
Signature · 1 line
2.17.1