diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2022-08-01 11:33:12 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-08-02 11:30:00 +0100 |
commit | eefe7a1cd1bffb18557c82f58a20b36c61d904bf (patch) | |
tree | 30289a2761a3be8a19216d25fd94df194be05d5f /scripts | |
parent | 71d0913599930aa19b493164d09f9019d1c28fec (diff) | |
download | poky-eefe7a1cd1bffb18557c82f58a20b36c61d904bf.tar.gz |
scripts/oe-setup-builddir: make it known where configurations come from
"with some default values" isn't clear; if the user wants to change or
inspect the default values and their history, we should help them find
where they are. This becomes especially important when using template
configs other than poky's.
(From OE-Core rev: ec34783ffc34eb9e9697f1b192c5a0043f1ca2c6)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/oe-setup-builddir | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/scripts/oe-setup-builddir b/scripts/oe-setup-builddir index 54048e62ec..5d644168cb 100755 --- a/scripts/oe-setup-builddir +++ b/scripts/oe-setup-builddir | |||
@@ -74,9 +74,10 @@ fi | |||
74 | if [ ! -r "$BUILDDIR/conf/local.conf" ]; then | 74 | if [ ! -r "$BUILDDIR/conf/local.conf" ]; then |
75 | cat <<EOM | 75 | cat <<EOM |
76 | You had no conf/local.conf file. This configuration file has therefore been | 76 | You had no conf/local.conf file. This configuration file has therefore been |
77 | created for you with some default values. You may wish to edit it to, for | 77 | created for you from $OECORELOCALCONF |
78 | example, select a different MACHINE (target hardware). See conf/local.conf | 78 | You may wish to edit it to, for example, select a different MACHINE (target |
79 | for more information as common configuration options are commented. | 79 | hardware). See conf/local.conf for more information as common configuration |
80 | options are commented. | ||
80 | 81 | ||
81 | EOM | 82 | EOM |
82 | cp -f "$OECORELOCALCONF" "$BUILDDIR/conf/local.conf" | 83 | cp -f "$OECORELOCALCONF" "$BUILDDIR/conf/local.conf" |
@@ -89,8 +90,9 @@ fi | |||
89 | if [ ! -r "$BUILDDIR/conf/bblayers.conf" ]; then | 90 | if [ ! -r "$BUILDDIR/conf/bblayers.conf" ]; then |
90 | cat <<EOM | 91 | cat <<EOM |
91 | You had no conf/bblayers.conf file. This configuration file has therefore been | 92 | You had no conf/bblayers.conf file. This configuration file has therefore been |
92 | created for you with some default values. To add additional metadata layers | 93 | created for you from $OECORELAYERCONF |
93 | into your configuration please add entries to conf/bblayers.conf. | 94 | To add additional metadata layers into your configuration please add entries |
95 | to conf/bblayers.conf. | ||
94 | 96 | ||
95 | EOM | 97 | EOM |
96 | 98 | ||