[oe-commits] [openembedded-core] 03/47: build-appliance-image: Fix incorrect PATH

git at git.openembedded.org git at git.openembedded.org
Wed Nov 16 10:39:07 UTC 2016


rpurdie pushed a commit to branch morty
in repository openembedded-core.

commit ac2b0413526df46cfdcae2d3f9add1a29fe3c2b5
Author: Juro Bystricky <juro.bystricky at intel.com>
AuthorDate: Fri Oct 28 15:14:56 2016 -0700

    build-appliance-image: Fix incorrect PATH
    
    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]
    
    (From OE-Core rev: 6238faf901956e2a350315a66ca1ce557deaa513)
    
    Signed-off-by: Juro Bystricky <juro.bystricky at intel.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
    Signed-off-by: Armin Kuster <akuster808 at gmail.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 e6ed0f4..633925e 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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list