Add script to condense the policy table JSON

The policy table is delivered to us in JSON format,
and it contains several fields that we don't need
to use.  This script will pull out just the fields
needed by the code and will output them into a JSON
format that lends itself to being searched based
on the error message and a modifier.

This will run during the bitbake build as the full
policy table file will be checked into the machine
layer it applies to.

Change-Id: I03a0f04dfa1d31902832fd3bd7dadc13b49aa00d
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
1 file changed
tree: b3cfff9d09f8e6bac847c579266d72b8e5bdaed0
  1. test/
  2. .gitignore
  3. bootstrap.sh
  4. condense_policy.py
  5. configure.ac
  6. dbus.cpp
  7. dbus.hpp
  8. interfaces.hpp
  9. LICENSE
  10. main.cpp
  11. Makefile.am
  12. manager.cpp
  13. manager.hpp
  14. policy_find.cpp
  15. policy_find.hpp
  16. policy_table.cpp
  17. policy_table.hpp
  18. README.md
README.md

Provides IBM specific error logging functionality.

To Build

To build this package, do the following steps:

    1. ./bootstrap.sh
    2. ./configure ${CONFIGURE_FLAGS}
    3. make

To clean the repository run `./bootstrap.sh clean`.