diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2022-08-31 13:11:49 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-02-16 17:11:11 +0000 |
commit | d369a45ae7c6b82f7ae337a56a673eed5afc461b (patch) | |
tree | 0c055c9a747592b76e9d60f66387937f0676a71b /scripts/oe-setup-builddir | |
parent | 44311c454d0b0856f58cfa6fa60669903b2ba3af (diff) | |
download | poky-d369a45ae7c6b82f7ae337a56a673eed5afc461b.tar.gz |
meta/conf: move default configuration templates into meta/conf/templates/default
This sets the ground for standardizing (and enforcing) the location of
configuration templates: let's start with the default one.
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/oe-setup-builddir')
-rwxr-xr-x | scripts/oe-setup-builddir | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/oe-setup-builddir b/scripts/oe-setup-builddir index a13860c7d9..89ae30f609 100755 --- a/scripts/oe-setup-builddir +++ b/scripts/oe-setup-builddir | |||
@@ -62,7 +62,7 @@ fi | |||
62 | 62 | ||
63 | unset SHOWYPDOC | 63 | unset SHOWYPDOC |
64 | if [ -z "$OECORELOCALCONF" ]; then | 64 | if [ -z "$OECORELOCALCONF" ]; then |
65 | OECORELOCALCONF="$OEROOT/meta/conf/local.conf.sample" | 65 | OECORELOCALCONF="$OEROOT/meta/conf/templates/default/local.conf.sample" |
66 | fi | 66 | fi |
67 | if [ ! -r "$BUILDDIR/conf/local.conf" ]; then | 67 | if [ ! -r "$BUILDDIR/conf/local.conf" ]; then |
68 | cat <<EOM | 68 | cat <<EOM |
@@ -77,7 +77,7 @@ EOM | |||
77 | fi | 77 | fi |
78 | 78 | ||
79 | if [ -z "$OECORELAYERCONF" ]; then | 79 | if [ -z "$OECORELAYERCONF" ]; then |
80 | OECORELAYERCONF="$OEROOT/meta/conf/bblayers.conf.sample" | 80 | OECORELAYERCONF="$OEROOT/meta/conf/templates/default/bblayers.conf.sample" |
81 | fi | 81 | fi |
82 | if [ ! -r "$BUILDDIR/conf/bblayers.conf" ]; then | 82 | if [ ! -r "$BUILDDIR/conf/bblayers.conf" ]; then |
83 | cat <<EOM | 83 | cat <<EOM |
@@ -117,7 +117,7 @@ EOM | |||
117 | fi | 117 | fi |
118 | 118 | ||
119 | if [ -z "$OECORENOTESCONF" ]; then | 119 | if [ -z "$OECORENOTESCONF" ]; then |
120 | OECORENOTESCONF="$OEROOT/meta/conf/conf-notes.txt" | 120 | OECORENOTESCONF="$OEROOT/meta/conf/templates/default/conf-notes.txt" |
121 | fi | 121 | fi |
122 | [ ! -r "$OECORENOTESCONF" ] || cat "$OECORENOTESCONF" | 122 | [ ! -r "$OECORENOTESCONF" ] || cat "$OECORENOTESCONF" |
123 | unset OECORENOTESCONF | 123 | unset OECORENOTESCONF |