meta: move some text from oe-setup-builddir to conf-notes.txt
PATCH 1/1 meta: move some text from oe-setup-builddir to conf-notes.txt
From: Ming Liu <[email protected]>
This allows the end users to be able to override the entire notes showing on the shell console. For instance, Our company uses a external conf-notes.txt, and we run bitbake with some extra variables, looks like: F=xxx D=xxx M=xxx bitbake <target>, so we want to show exactly these texts on the shell console, that's why we need this change.
--- meta/conf/conf-notes.txt | 5 +++++ scripts/oe-setup-builddir | 7 ------- 2 files changed, 5 insertions(+), 7 deletions(-)
meta/conf/conf-notes.txt +5 -0
@@ -1,3 +1,8 @@ + +### Shell environment set up for builds. ### + +You can now run 'bitbake <target>' + Common targets are: core-image-minimal core-image-sato
scripts/oe-setup-builddir +0 -7
@@ -133,13 +133,6 @@ EOM # unset SHOWYPDOC fi -cat <<EOM - -### Shell environment set up for builds. ### - -You can now run 'bitbake <target>' - -EOM if [ -z "$OECORENOTESCONF" ]; then OECORENOTESCONF="$OEROOT/meta/conf/conf-notes.txt" fi
Signature · 1 line
2.7.4
Quoted 9 lines · On Mon, 2017-08-21 at 13:45 +0200, [email protected] wrote:
From: Ming Liu <[email protected]>
This allows the end users to be able to override the entire notes showing on the shell console. For instance, Our company uses a external conf-notes.txt, and we run bitbake with some extra variables, looks like: F=xxx D=xxx M=xxx bitbake <target>, so we want to show exactly these texts on the shell console, that's why we need this change.
I do not clearly spot the real gain. oe-setup-buildir just plots the header and you can include what you specific stuff into conf-notes. The header string does not strictly belongs to conf-notes, at least not semantically.
Quoted 40 lines
Signed-off-by Ming Liu <[email protected]>--- meta/conf/conf-notes.txt | 5 +++++ scripts/oe-setup-builddir | 7 ------- 2 files changed, 5 insertions(+), 7 deletions(-)meta/conf/conf-notes.txt +5
-0@@ -1,3 +1,8 @@ + +### Shell environment set up for builds. ### + +You can now run 'bitbake <target>' + Common targets are: core-image-minimal core-image-satoscripts/oe-setup-builddir +0
-7@@ -133,13 +133,6 @@ EOM # unset SHOWYPDOC fi -cat <<EOM - -### Shell environment set up for builds. ### - -You can now run 'bitbake <target>' - -EOM if [ -z "$OECORENOTESCONF" ]; then OECORENOTESCONF="$OEROOT/meta/conf/conf-notes.txt" fiSignature · 1 line
2.7.4
Hi, Leonardo:
I would like to explain our scenario: we want to show our costumers the following tips:
...
### Shell environment set up for AtlasCopco builds. ###
You can now start a build with:
F=<features> D=<distro> M=<machine> bitbake <target> [-c task]
...
and they are duplicated with the header in oe-setup-buildir, I could not find a way to override them without this patch. Or maybe you have any other suggestions?
//Ming Liu
2017-08-21 16:47 GMT+02:00 Leonardo Sandoval <
[email protected]>:
Quoted 60 lines · On Mon, 2017-08-21 at 13:45 +0200, [email protected] wrote:
Quoted 9 lines
From: Ming Liu <[email protected]>
This allows the end users to be able to override the entire notes showing on the shell console. For instance, Our company uses a external conf-notes.txt, and we run bitbake with some extra variables, looks like: F=xxx D=xxx M=xxx bitbake <target>, so we want to show exactly these texts on the shell console, that's why we need this change.
I do not clearly spot the real gain. oe-setup-buildir just plots the header and you can include what you specific stuff into conf-notes. The header string does not strictly belongs to conf-notes, at least not semantically.
Quoted 40 lines
Signed-off-by Ming Liu <[email protected]>--- meta/conf/conf-notes.txt | 5 +++++ scripts/oe-setup-builddir | 7 ------- 2 files changed, 5 insertions(+), 7 deletions(-)meta/conf/conf-notes.txt +5
-0@@ -1,3 +1,8 @@ + +### Shell environment set up for builds. ### + +You can now run 'bitbake <target>' + Common targets are: core-image-minimal core-image-satoscripts/oe-setup-builddir +0
-8@@ -133,13 +133,6 @@ EOM # unset SHOWYPDOC fi -cat <<EOM - -### Shell environment set up for builds. ### - -You can now run 'bitbake <target>' - -EOM if [ -z "$OECORENOTESCONF" ]; then OECORENOTESCONF="$OEROOT/meta/conf/conf-notes.txt" fi --2.7.4