Fixed journal flooding of SSL messages

The problem was that when a curl command
was given without any options, several error
messages would be thrown that can flood the
journal.  To fix this I had to use a 'try
catch' statment to catch the error.  I
modified the current 'try catch' statement
to catch and pass on the ssl error so no
error messages of that kind could flood the
journal.  After implementation no more ssl
error messages were flooding the journal,
however a new error was thrown so I had to
create an additional exception and pass on
it as well.  This fixes issue number 583.

Resolves openbmc/openbmc#583

Change-Id: I4857861f3c0ff103e2bccf9f5a5821c8219aefe6
Signed-off-by: Josh King <jdking@us.ibm.com>
2 files changed
tree: 2b5db95af254f3117651c8a43feca83d7f9feea1
  1. import-layers/
  2. meta-openbmc-bsp/
  3. meta-openbmc-machines/
  4. meta-phosphor/
  5. .gitignore
  6. .gitreview
  7. .templateconf
  8. openbmc-env
  9. README.md
README.md

OpenBMC

Build Status

Building

OpenBMC uses Yocto/Open-Embedded for a build system, which supports an out-of-tree build. It is recommended that you create an empty directory somewhere to hold the build. This directory will get big.

On Ubuntu 14.04 the following packages are required to build the default target

sudo apt-get install -y git build-essential libsdl1.2-dev texinfo gawk chrpath diffstat

On Fedora 23 the following packages are required to build the default target:

sudo dnf install -y git patch diffstat texinfo chrpath SDL-devel bitbake
sudo dnf groupinstall "C Development Tools and Libraries"

To start a build:

cd <builddir>
. <repodir>/openbmc-env
bitbake obmc-phosphor-image