summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/oe-setup-builddir14
1 files changed, 9 insertions, 5 deletions
diff --git a/scripts/oe-setup-builddir b/scripts/oe-setup-builddir
index 89ae30f609..678aeac4be 100755
--- a/scripts/oe-setup-builddir
+++ b/scripts/oe-setup-builddir
@@ -98,9 +98,17 @@ EOM
98 SHOWYPDOC=yes 98 SHOWYPDOC=yes
99fi 99fi
100 100
101if [ -z "$OECORENOTESCONF" ]; then
102 OECORENOTESCONF="$OEROOT/meta/conf/templates/default/conf-notes.txt"
103fi
104if [ ! -r "$BUILDDIR/conf/conf-notes.txt" ]; then
105 [ ! -r "$OECORENOTESCONF" ] || cp "$OECORENOTESCONF" "$BUILDDIR/conf/conf-notes.txt"
106fi
107
101# Prevent disturbing a new GIT clone in same console 108# Prevent disturbing a new GIT clone in same console
102unset OECORELOCALCONF 109unset OECORELOCALCONF
103unset OECORELAYERCONF 110unset OECORELAYERCONF
111unset OECORENOTESCONF
104 112
105# Ending the first-time run message. Show the YP Documentation banner. 113# Ending the first-time run message. Show the YP Documentation banner.
106if [ -n "$SHOWYPDOC" ]; then 114if [ -n "$SHOWYPDOC" ]; then
@@ -116,11 +124,7 @@ EOM
116# unset SHOWYPDOC 124# unset SHOWYPDOC
117fi 125fi
118 126
119if [ -z "$OECORENOTESCONF" ]; then 127[ ! -r "$BUILDDIR/conf/conf-notes.txt" ] || cat "$BUILDDIR/conf/conf-notes.txt"
120 OECORENOTESCONF="$OEROOT/meta/conf/templates/default/conf-notes.txt"
121fi
122[ ! -r "$OECORENOTESCONF" ] || cat "$OECORENOTESCONF"
123unset OECORENOTESCONF
124 128
125if [ ! -f "$BUILDDIR/conf/templateconf.cfg" ]; then 129if [ ! -f "$BUILDDIR/conf/templateconf.cfg" ]; then
126 echo "$ORG_TEMPLATECONF" >"$BUILDDIR/conf/templateconf.cfg" 130 echo "$ORG_TEMPLATECONF" >"$BUILDDIR/conf/templateconf.cfg"