Add support for customizing help text when running oe-init-build-env.
cover Add support for customizing help text when running oe-init-build-env.
From: Anders Roxell <[email protected]>
This patch set makes it possible to customize the help text that gets presented to the user when running the oe-init-build-env (using the $TEMPLATECONF variable).
Patch 2:
conf-notes.txt: add the cusomized text file. needs to be applied to meta-yocto/conf directory in poky.
Anders Roxell (2):
oe-setup-builddir: Possibility to customize text. conf-notes.txt: add the customized text file.
meta/conf/conf-notes.txt | 9 +++++++++ scripts/oe-setup-builddir | 16 ++++++---------- 2 files changed, 15 insertions(+), 10 deletions(-) create mode 100644 meta/conf/conf-notes.txt
Signature · 1 line
1.7.5.4
PATCH 1/2 oe-setup-builddir: Possibility to customize text.
From: Anders Roxell <[email protected]>
Possibility to customize the text that is presented to the user when they execute the script.
--- scripts/oe-setup-builddir | 16 ++++++---------- 1 files changed, 6 insertions(+), 10 deletions(-)
scripts/oe-setup-builddir +6 -10
@@ -55,6 +55,7 @@ if [ "x" != "x$TEMPLATECONF" ]; then fi OECORELAYERCONF="$TEMPLATECONF/bblayers.conf.sample" OECORELOCALCONF="$TEMPLATECONF/local.conf.sample" + OECORENOTESCONF="$TEMPLATECONF/conf-notes.txt" fi if [ "x" = "x$OECORELOCALCONF" ]; then
@@ -113,14 +114,9 @@ cat <<EOM You can now run 'bitbake <target>' -Common targets are: - core-image-minimal - core-image-sato - meta-toolchain - meta-toolchain-sdk - adt-installer - meta-ide-support - -You can also run generated qemu images with a command like 'runqemu qemux86' - EOM +if [ "x" = "x$OECORENOTESCONF" ]; then + OECORENOTESCONF="$OEROOT/meta/conf/conf-notes.txt" +fi +cat $OECORENOTESCONF +unset OECORENOTESCONF
Signature · 1 line
1.7.5.4
PATCH 2/2 conf-notes.txt: add the customized text file.
In reply to [email protected]From: Anders Roxell <[email protected]>
--- meta/conf/conf-notes.txt | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) create mode 100644 meta/conf/conf-notes.txt
meta/conf/conf-notes.txt new file +9 -0
@@ -0,0 +1,9 @@ +Common targets are: + core-image-minimal + core-image-sato + meta-toolchain + meta-toolchain-sdk + adt-installer + meta-ide-support + +You can also run generated qemu images with a command like 'runqemu qemux86'
Signature · 1 line
1.7.5.4