]> code.ossystems Code Review - openembedded-core.git/commit
build-appliance-image: Fix permissions
authorJuro Bystricky <juro.bystricky@intel.com>
Sun, 27 Mar 2016 19:46:48 +0000 (12:46 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 28 Mar 2016 14:59:51 +0000 (15:59 +0100)
commitfcc558874d1ea533fb6ca488d2ab2223c1e21881
treef6d41eb0f19cd6eb335b4fe3a902b0f759ed2f3c
parentecb56a6ae0c870af680da03db9d39703b525fc98
build-appliance-image: Fix permissions

Explicitly set all permissions.
This fixes various problems such as:

Unable to create '/home/builder/poky/bitbake/lib/bb/pysh/pyshtables.py'
[Errno 22] invalid mode ('w') or filename '/home/builder/poky/bitbake/lib/bb/pysh/pyshtables.py'

and failure to create sub-directories in the directory 'poky':

mkdir: cannot create directory '<dir>': Invalid argument

While in there, added a few non-functional changes:
Added sample proxy settings into .bashrc
Added environmental variable with SRCREV actually used to populate the Build
Appliance into .bashrc (BA_SRCREV)

[YOCTO#9314]

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/images/build-appliance-image_14.0.0.bb