From 36fa4881acb3708b020ac45dd808798dc97c0b45 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Wed, 20 Dec 2023 20:00:16 +0100 Subject: [PATCH] config.sample: rework some version features --- local.conf.common.inc.sample | 29 +++++++++++++++++++++++------ 1 file changed, 23 insertions(+), 6 deletions(-) diff --git a/local.conf.common.inc.sample b/local.conf.common.inc.sample index 7dc8125..661e967 100644 --- a/local.conf.common.inc.sample +++ b/local.conf.common.inc.sample @@ -63,13 +63,14 @@ PACKAGECONFIG_pn-qemu-native = "sdl" # See: https://docs.yoctoproject.org/ref-manual/classes.html#ref-classes-rm-work INHERIT += "rm_work" # These targets are exluded from rm_work. -RM_WORK_EXCLUDE += "neutrino-image base-files neutrino-webif neutrino-logos neutrino-feed-config" +RM_WORK_EXCLUDE += "neutrino-image neutrino-webif neutrino-logos neutrino-feed-config openssl" ### Source download storage location (read/write) # It's recommended outsourcing the download archive. # See: https://docs.yoctoproject.org/ref-manual/variables.html?highlight=sdkimage_features#term-DL_DIR #DL_DIR ?= "${COREBASE}/yocto-downloads" DL_DIR = "${HOME}/Archive" +#WARN_QA = "fetch" ### Base directory of the OpenEmbedded build system used by build output and intermediate files (other than the shared state cache). # By default, the TMPDIR variable points to tmp within the build directory. @@ -184,6 +185,22 @@ DISTRO = "tuxbox" #IMAGE_BASENAME = "${DISTRO_NAME}" IMAGE_BASENAME = "my-image" +### This variable controls the emission of warnings +# when GITPKGVTAG is used but no Git tags are found in the repository. +# By default, it is set to "0", which means warnings are enabled. +# Set this variable to "1" to suppress these warnings. +#GITPKGVTAG_NO_WARN_ON_NO_TAG = "1" +# Use this for a specific recipe: +#GITPKGVTAG_NO_WARN_ON_NO_TAG:pn-myrecipe = "1" + +### Release distro type string +# Possible types as plain text are "beta", "release", "nightly", all others means what ever you want +DISTRO_TYPE = "beta" +#DISTRO_TYPE = "release" +#DISTRO_TYPE = "nightly" +# ...or what ever you want, e.g." +#DISTRO_TYPE = "private" + ### Distro codename # See: https://docs.yoctoproject.org/ref-manual/variables.html?highlight=distro_codename#term-DISTRO_CODENAME #DISTRO_CODENAME = "" @@ -195,11 +212,6 @@ IMAGE_BASENAME = "my-image" #DISTRO_VERSION_NUMBER_CYCLE = "${DISTRO_VERSION_NUMBER_MAJOR}${DISTRO_VERSION_NUMBER_MINOR}${DISTRO_VERSION_NUMBER_MICRO}" #DISTRO_VERSION = "${DISTRO_VERSION_NUMBER_MAJOR}.${DISTRO_VERSION_NUMBER_MINOR}.${DISTRO_VERSION_NUMBER_MICRO}" -### Release distro type string -# Possible types are beta, release, nightly, all others means what ever you want -DISTRO_TYPE = "beta" -#DISTRO_TYPE = "release" - ### Image name suffixes: # See: https://docs.yoctoproject.org/ref-manual/variables.html#term-IMAGE_NAME #IMAGE_VERSION_SUFFIX="-${DATETIME}" @@ -211,6 +223,11 @@ DISTRO_TYPE = "beta" ### Usage of ${DATE} is possible but not recommended, makes only sense for really once daily build. #IMAGE_VERSION_SUFFIX="-${PR}.${DATE}" #IMAGE_VERSION_SUFFIX="-${PR}.${DATE}-${DISTRO_TYPE}" +### For usage of ${META_VERSION}, uncomment the inherit line and the IMAGE_VERSION_SUFFIX line, to set the current git version of meta layer +# You can define an other meta-layer with variable META_NAME within the COREBASE directory. +#META_NAME = "meta-neutrino" +#inherit metaversion +#IMAGE_VERSION_SUFFIX=".${META_VERSION}" ### Set image name # The name of the output image files minus the extension. This variable is derived using the IMAGE_BASENAME, MACHINE, and IMAGE_VERSION_SUFFIX variables: