When modifying the PATH variable in .bashrc, double quote characters
were used, resulting in expanding the variable $PATH with the value of
PATH of the system building the Build Appliance.

The original intent was to enter an un-expanded (literal) $PATH.
In order to that, one must use single quotes instead of double quotes.

[YOCTO#10434] [YOCTO#10504]

Signed-off-by: Juro Bystricky <juro.bystri...@intel.com>
---
 meta/recipes-core/images/build-appliance-image_15.0.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/images/build-appliance-image_15.0.0.bb 
b/meta/recipes-core/images/build-appliance-image_15.0.0.bb
index 9d898b4..5bb6555 100644
--- a/meta/recipes-core/images/build-appliance-image_15.0.0.bb
+++ b/meta/recipes-core/images/build-appliance-image_15.0.0.bb
@@ -63,7 +63,7 @@ fakeroot do_populate_poky_src () {
        # Also save (for reference only) the actual SRCREV used to create this 
image
        echo "export BA_SRCREV=${SRCREV}" >> 
${IMAGE_ROOTFS}/home/builder/.bashrc
        echo "" >> ${IMAGE_ROOTFS}/home/builder/.bashrc
-       echo "export PATH=$PATH:/sbin" >> ${IMAGE_ROOTFS}/home/builder/.bashrc
+       echo 'export PATH=$PATH:/sbin' >> ${IMAGE_ROOTFS}/home/builder/.bashrc
        echo "" >> ${IMAGE_ROOTFS}/home/builder/.bashrc
 
        echo "# If working behind a proxy and using the provided oe-git-proxy 
script" >> ${IMAGE_ROOTFS}/home/builder/.bashrc
-- 
2.7.4

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to