Changes in dreport to accept /tmp/ as a valid dir

In the dreport script there is a condition which checks for
'/tmp' only. When the user passes directory as '/tmp/' this
check fails. As a result the overall operation fails.
This commit fixes this by treating '/tmp/' as a valid directory.

Signed-off-by: Chirag Sharma <chirshar@in.ibm.com>
Change-Id: Ie11f96f0ff71bfb1fa4fedc59c40d8191116c5c6
1 file changed
tree: 8fcd2564a2aadddd8b5e65080e05f5b5a1da6c68
  1. offload-extensions/
  2. tools/
  3. xyz/
  4. .clang-format
  5. .gitignore
  6. bmc_dump_entry.cpp
  7. bmc_dump_entry.hpp
  8. bootstrap.sh
  9. configure.ac
  10. core_manager.cpp
  11. core_manager.hpp
  12. core_manager_main.cpp
  13. dump_entry.cpp
  14. dump_entry.hpp
  15. dump_internal.hpp
  16. dump_manager.cpp
  17. dump_manager.hpp
  18. dump_manager_main.cpp
  19. dump_offload.cpp
  20. dump_offload.hpp
  21. dump_serialize.cpp
  22. dump_serialize.hpp
  23. dump_utils.cpp
  24. dump_utils.hpp
  25. elog_watch.cpp
  26. elog_watch.hpp
  27. errors_map.mako.hpp
  28. errors_map_gen.py
  29. example_errors_watch.yaml
  30. ffdc
  31. LICENSE
  32. MAINTAINERS
  33. Makefile.am
  34. offload-extensions.hpp
  35. README.md
  36. system_dump_entry.cpp
  37. system_dump_entry.hpp
  38. watch.cpp
  39. watch.hpp
README.md

phosphor-debug-collector

Phosphor Debug Collector provides mechanisms to collect various log files and system parameters. Used to troubleshoot problems in OpenBMC based systems.

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`.