summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/images
diff options
context:
space:
mode:
authorJuro Bystricky <juro.bystricky@intel.com>2016-10-28 15:14:56 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-11-16 10:37:56 +0000
commita628a17a446855c9700e63d1094cc215ec6521f5 (patch)
tree7ff0a77bb11426f384d0ae51cb24e00c5cd62ddb /meta/recipes-core/images
parent4d30681e8b5deda849c6be10c04cca4f196a6e87 (diff)
downloadpoky-a628a17a446855c9700e63d1094cc215ec6521f5.tar.gz
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) (From OE-Core rev: ac2b0413526df46cfdcae2d3f9add1a29fe3c2b5) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/images')
-rw-r--r--meta/recipes-core/images/build-appliance-image_15.0.0.bb2
1 files changed, 1 insertions, 1 deletions
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 e6ed0f4828..633925ed6b 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 () {
63 # Also save (for reference only) the actual SRCREV used to create this image 63 # Also save (for reference only) the actual SRCREV used to create this image
64 echo "export BA_SRCREV=${SRCREV}" >> ${IMAGE_ROOTFS}/home/builder/.bashrc 64 echo "export BA_SRCREV=${SRCREV}" >> ${IMAGE_ROOTFS}/home/builder/.bashrc
65 echo "" >> ${IMAGE_ROOTFS}/home/builder/.bashrc 65 echo "" >> ${IMAGE_ROOTFS}/home/builder/.bashrc
66 echo "export PATH=$PATH:/sbin" >> ${IMAGE_ROOTFS}/home/builder/.bashrc 66 echo 'export PATH=$PATH:/sbin' >> ${IMAGE_ROOTFS}/home/builder/.bashrc
67 echo "" >> ${IMAGE_ROOTFS}/home/builder/.bashrc 67 echo "" >> ${IMAGE_ROOTFS}/home/builder/.bashrc
68 68
69 echo "# If working behind a proxy and using the provided oe-git-proxy script" >> ${IMAGE_ROOTFS}/home/builder/.bashrc 69 echo "# If working behind a proxy and using the provided oe-git-proxy script" >> ${IMAGE_ROOTFS}/home/builder/.bashrc