mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00
oe-setup-builddir: Keep templateconf.cfg relative if $TEMPLATECONF is
Before commit 7b96dc80 (scripts/oe-setup-builddir: write to conf/templateconf.cfg after the build is set up), the path written to templateconf.cfg was relative if $TEMPLATECONF was relative, but afterwards it became absolute. Restore the original behavior of saving the relative path to templateconf.cfg. (From OE-Core rev: 49e75009780a09873dc3987ae1c40f2ac95bc667) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
5db679c917
commit
821cf70f09
|
@ -46,6 +46,9 @@ fi
|
|||
|
||||
. "$OEROOT/.templateconf"
|
||||
|
||||
# Keep the original TEMPLATECONF before possibly prefixing it with $OEROOT below.
|
||||
ORG_TEMPLATECONF=$TEMPLATECONF
|
||||
|
||||
#
|
||||
# $TEMPLATECONF can point to a directory for the template local.conf & bblayers.conf
|
||||
#
|
||||
|
@ -131,5 +134,5 @@ fi
|
|||
unset OECORENOTESCONF
|
||||
|
||||
if [ ! -f "$BUILDDIR/conf/templateconf.cfg" ]; then
|
||||
echo "$TEMPLATECONF" >"$BUILDDIR/conf/templateconf.cfg"
|
||||
echo "$ORG_TEMPLATECONF" >"$BUILDDIR/conf/templateconf.cfg"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue
Block a user