toaster: change TOASTER_CONF to meta-poky
PATCH 1/1 toaster: change TOASTER_CONF to meta-poky
From: Belen Barros Pena <[email protected]>
Patch 9d5483c37523ff3d334c98cafb848282b54962cd renames the layer within the meta-yocto repository to meta-poky. This patch changes the value of TOASTER_CONF in the toaster set up script to get Toaster to import the meta-poky/conf/toasterconf.json file.
--- bitbake/bin/toaster | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
bitbake/bin/toaster +1 -1
@@ -248,7 +248,7 @@ fi # in the local layers that currently prevent using an arbitrary # toasterconf.json if [ "$TOASTER_CONF" = "" ]; then - TOASTER_CONF="$(dirname $TOASTER)/../../meta-yocto/conf/toasterconf.json" + TOASTER_CONF="$(dirname $TOASTER)/../../meta-poky/conf/toasterconf.json" export TOASTER_CONF=$(python -c "import os; print os.path.realpath('$TOASTER_CONF')") fi if [ ! -f $TOASTER_CONF ]; then
Signature · 1 line
2.5.4 (Apple Git-61)
Quoted 28 lines · Belen Barros Pena
From: Belen Barros Pena <[email protected]>
Patch
9d5483c37523ff3d334c98cafb848282b54962cdrenames the layer within
the meta-yocto repository to meta-poky. This patch changes the value ofTOASTER_CONFin the toaster set up script to get Toaster to import themeta-poky/conf/toasterconf.jsonfile.Signed-off-by Belen Barros Pena <[email protected]>--- bitbake/bin/toaster | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)bitbake/bin/toaster +1
-3@@ -248,7 +248,7 @@ fi # in the local layers that currently prevent using an arbitrary # toasterconf.json if [ "$TOASTER_CONF" = "" ]; then - TOASTER_CONF="$(dirname $TOASTER)/../../meta -yocto/conf/toasterconf.json" + TOASTER_CONF="$(dirname $TOASTER)/../../meta -poky/conf/toasterconf.json" export TOASTER_CONF=$(python -c "import os; print
Quoted 3 lines
os.path.realpath('$TOASTER_CONF')")
fi
if [ ! -f $TOASTER_CONF ]; then
Do we still need this or can this be removed given the TEMPLATECONF code above it in this file? bitbake really shouldn't have OE/Yocto knowledge ideally.
Cheers,
Richard
Quoted 27 lines · On 29/02/2016 15:59, "[email protected] on behalf of Richard…
Quoted 26 lines · Belen Barros Pena
From: Belen Barros Pena <[email protected]>
Patch
9d5483c37523ff3d334c98cafb848282b54962cdrenames the layer within
the meta-yocto repository to meta-poky. This patch changes the value ofTOASTER_CONFin the toaster set up script to get Toaster to import themeta-poky/conf/toasterconf.jsonfile.Signed-off-by Belen Barros Pena <[email protected]>--- bitbake/bin/toaster | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)bitbake/bin/toaster +1
-2@@ -248,7 +248,7 @@ fi # in the local layers that currently prevent using an arbitrary # toasterconf.json if [ "$TOASTER_CONF" = "" ]; then - TOASTER_CONF="$(dirname $TOASTER)/../../meta -yocto/conf/toasterconf.json" + TOASTER_CONF="$(dirname $TOASTER)/../../meta
Quoted 8 lines
Quoted 5 lines
bitbake/bin/toaster +0
-1-poky/conf/toasterconf.json" export TOASTER_CONF=$(python -c "import os; print
os.path.realpath('$TOASTER_CONF')")
fi
if [ ! -f $TOASTER_CONF ]; thenDo we still need this or can this be removed given the TEMPLATECONF code above it in this file?
No idea. But fwiw, I commented out lines 250 to 258 of the script, and started Toaster from scratch. Everything seemed to work the same.
Quoted 12 lines
bitbake really shouldn't have OE/Yocto
knowledge ideally.Cheers,
Richard
Signature · 4 lines
_______________________________________________ toaster mailing list [email protected] https://lists.yoctoproject.org/listinfo/toaster
I pushed a patch to clean up bin/toaster that fixes this among a few other issues.
-b
Quoted 63 lines · Belen
Quoted 27 lines · On 29/02/2016 15:59, "[email protected] on behalf of Richard…
Quoted 26 lines · Belen Barros Pena
From: Belen Barros Pena <[email protected]>
Patch
9d5483c37523ff3d334c98cafb848282b54962cdrenames the layer within
the meta-yocto repository to meta-poky. This patch changes the value ofTOASTER_CONFin the toaster set up script to get Toaster to import themeta-poky/conf/toasterconf.jsonfile.Signed-off-by Belen Barros Pena <[email protected]>--- bitbake/bin/toaster | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)bitbake/bin/toaster +1
-2@@ -248,7 +248,7 @@ fi # in the local layers that currently prevent using an arbitrary # toasterconf.json if [ "$TOASTER_CONF" = "" ]; then - TOASTER_CONF="$(dirname $TOASTER)/../../meta -yocto/conf/toasterconf.json" + TOASTER_CONF="$(dirname $TOASTER)/../../metaQuoted 8 lines
Quoted 5 lines
bitbake/bin/toaster +0
-1-poky/conf/toasterconf.json" export TOASTER_CONF=$(python -c "import os; print
os.path.realpath('$TOASTER_CONF')")
fi
if [ ! -f $TOASTER_CONF ]; thenDo we still need this or can this be removed given the TEMPLATECONF code above it in this file?
No idea. But fwiw, I commented out lines 250 to 258 of the script, and started Toaster from scratch. Everything seemed to work the same.
Quoted 5 lines
bitbake really shouldn't have OE/Yocto
knowledge ideally.Cheers,
Quoted 7 lines
Richard
--
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster--
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster