mcf: Fix setting tracking branch (v4.0.5)

:Release Notes:
When local branch doesn't track any remote, then
  git rev-parse --abbrev-ref HEAD@{upstream}
call fails and mcf --command update cannot continue, fix it by using
git config to detect remote tracking branch.

:Detailed Notes:

:Testing Performed:
Only build tested.

:QA Notes:
No change to image.

:Issues Addressed:
[ES-520] mcf fails to detect tracking branch when there isn't any

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Change-Id: Iff7b08db36fb2cf8f75f0b1b3435aed1d67bdd3b
Reviewed-on: https://g2g.palm.com/4993
Reviewed-by: DCO Verification
Build: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Martin Jansa <Martin.Jansa@lge.com>
Tested-by: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
mcf: Add sanity check for git mirrors, premirrors and sstatemirrors (v4.0.6)

:Release Notes:
Show warning when:
 * .gitmirror isn't used
 * one of sstatemirror options points to non-existent or empty dir
 * premirror points to non-existent or empty dir

:Detailed Notes:

:Testing Performed:
Only build tested.

:QA Notes:
No change to image.

:Issues Addressed:
[ES-441] mcf needs to check that --premirror and --sstatemirror
         arguments are mounted
[ES-497] mcf should add (or offer to add, or warn if missing) the
         git-mirror settings

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Change-Id: I5cb6f24d140ea6680875e3a336c6b1c7bcb3a921
Reviewed-on: https://g2g.palm.com/4992
Reviewed-by: DCO Verification
Build: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Martin Jansa <Martin.Jansa@lge.com>
Tested-by: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
mcf: Read weboslayers.py just once and verify MACHINE values (v4.0.7)

:Release Notes:
We already have a lot of global variables, having 2 more doesn't make
it worse and it's better than checking weboslayers.py multiple times.

:Detailed Notes:

:Testing Performed:
Only build tested.

:QA Notes:
No change to image.

:Issues Addressed:
[ES-468] Support checking mcf MACHINE arguments for validity

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Change-Id: Ie9fca2b070cb04111370d33caa81bc391cfbecaf
Reviewed-on: https://g2g.palm.com/5445
Reviewed-by: DCO Verification
Build: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Martin Jansa <Martin.Jansa@lge.com>
Tested-by: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
mcf: Don't unnecessary call git remote update (v4.0.8)

:Release Notes:
Don't call "git remote update" in every layer everytime someone calls
mcf --command update, it's unnecessary fetching upstream layers which
are updated every day, but all we're using from them is couple months
old revision.

:Detailed Notes:

:Testing Performed:
Only build tested.

:QA Notes:
No change to image.

:Issues Addressed:
[ES-515] mcf: Fix problem with local repository is out-of-sync with
         remote

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Change-Id: Ie2cc68d71251bec59ad45675aadc46b346e49962
Reviewed-on: https://g2g.palm.com/5446
Reviewed-by: DCO Verification
Build: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Martin Jansa <Martin.Jansa@lge.com>
Tested-by: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
mcf: Remove update parameter from downloadrepo function (v4.0.9)

:Release Notes:
downloadrepo function called with update parameter set to True just
calls updaterepo, let the caller to call right function directly.

:Detailed Notes:

:Testing Performed:
Only build tested.

:QA Notes:
No change to image.

:Issues Addressed:
[ES-515] mcf: Fix problem with local repository is out-of-sync with
         remote

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Change-Id: If7ebbb5d8b26aed0755bac93a50e63067edc4b3d
Reviewed-on: https://g2g.palm.com/5447
Reviewed-by: DCO Verification
Build: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Martin Jansa <Martin.Jansa@lge.com>
Tested-by: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
mcf: Simplify updaterepo function (v4.0.10)

:Release Notes:
Use only one for loop to download, sanitycheck and update all layers.

:Detailed Notes:

:Testing Performed:
Only build tested.

:QA Notes:
No change to image.

:Issues Addressed:
[ES-515] mcf: Fix problem with local repository is out-of-sync with
         remote

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Change-Id: Idcb5a6a191c2c811296466e3cb37898546160758
Reviewed-on: https://g2g.palm.com/5448
Reviewed-by: DCO Verification
Build: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Martin Jansa <Martin.Jansa@lge.com>
Tested-by: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
weboslayers.py: Comment newly added MACHINE-s list

:Release Notes:
List of valid MACHINE-s was added in https://gpro.palm.com/46208/
This change adds comments as suggested by Herb Kuta in that review.

:Detailed Notes:

:Testing Performed:
Only build tested

:QA Notes:
No change to image.

:Issues Addressed:
[ES-468] Support checking mcf MACHINE arguments for validity

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Change-Id: I6a6557a99dce4706e966b7cc5d5b7b47334a61ba
Reviewed-on: https://g2g.palm.com/6154
Reviewed-by: DCO Verification
Build: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Martin Jansa <Martin.Jansa@lge.com>
Tested-by: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
mcf: Change error message for unsupported MACHINEs (v4.0.11)

:Release Notes:
Improve error message.

:Detailed Notes:

:Testing Performed:
Only build tested.

:QA Notes:
No change to image.

:Issues Addressed:
[ES-468] Support checking mcf MACHINE arguments for validity

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Change-Id: Id9b9c8ea208130848c959c656261a2b4e9bc8c6f
Reviewed-on: https://g2g.palm.com/6155
Reviewed-by: DCO Verification
Build: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Martin Jansa <Martin.Jansa@lge.com>
Tested-by: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
webos-image: Update upstream layer pins for 2014-04-10

bitbake as of 2014-04-04 15:06:09 +0100

0f7b6a0 hob: disable layer drag and drop outside the containing widget

meta as of 2014-04-11 14:17:19 +0100

c50da4a openssl: bump PR
bebed95 openssl: backport fix for CVE-2014-0160
0d3d2d7 Security Advisory - openssl - CVE-2013-6449
80263dc Security Advisory - openssl - CVE-2013-6450
e36aff4 Security Advisory - openssl - CVE-2013-4353
58b479f packagegroup-self-hosted: Add missing python code
30d3f06 sstate: Drop 'SafeDep' code from setscene validation function
c3f1bed rpm: Enable compatibility with older RPM packages that have invalid platforms
abf46d0 lsbtest: fix comparison bashism
c45acfa init-install-efi.sh: Remove unnecessary udev rules file to avoid errors
8f3ecfd runqemu: Use correct kvm CPU options for qemux86* with kvm
35555a6 python-2.7-manifest: Add missing python-ctypes dependency to python-multiprocessing

[BHV-4457] OpenSSL CVE-2014-0160 serious security vulnerability
[BHV-4676] CCC: Small update of upstream layers to fix openssl
           vulnerabilities

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Change-Id: Icc7b8697a9c69ef878a21047f6ec445717b366c4
Reviewed-on: https://g2g.palm.com/6156
Reviewed-by: DCO Verification
Build: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Martin Jansa <Martin.Jansa@lge.com>
Tested-by: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
webos-image: Update upstream layer pins for 2014-06-17

meta as of 2014-06-17 11:17:20 +0300

bf2d538 openssl: fix for CVE-2010-5298
299de5e openssl: fix CVE-2014-3470
50050c9 openssl: fix CVE-2014-0224
2a9e46a openssl: fix CVE-2014-0221
26a6e23 openssl: use upstream fix for CVE-2014-0198
aac6d15 openssl: fix CVE-2014-0195
7ff1924 gnutls: patch for CVE-2014-3466 backported
b2d96a9 build-appliance-image: Update to  head revision
b111824 eglibc_2.17.bb: accept make versions 4.0 and greater
d367c33 build-appliance-image: Update to  head revision
5913e6b build-appliance-image: Update to  head revision
ffe6bdc openssl: fix CVE-2014-0198

meta-oe as of 2014-06-17 11:21:15 +0300

70ebe86 cloud9: update repository for sass.js
e92f51b cloud9: Fix branch param
9750f3b php: update SRC_URI for new download location

:Testing Performed:
miniBAT, BAT

:Issues Addressed:
[BHV-10693] Move layers pins of meta and meta-oe to upstream
[BHV-9940]  [Security Issue] gnutls - CVE-2014-3466
[BHV-10701] CCC: Update upstream layer pins for 2014-06-17

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Change-Id: Ic19c69972983181b5ed112ecc90cd9c915ab08ed
Reviewed-on: https://g2g.palm.com/6157
Reviewed-by: DCO Verification
Build: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Martin Jansa <Martin.Jansa@lge.com>
Tested-by: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Susan Montooth <susan.montooth@lge.com>