Support non-ubifs layout

Add ubifs_layout as config argument, so a build could select if it
needs ubifs_layout feature or not.

Add code to update non-ubifs layout image by
1. Putting the bmc image in /run/initramfs;
2. Set its state as Active when it is ready to update
3. Let user to initiate the reboot request

Tested: Generate a tarball with Romulus bmc image and manifest,
        update it with REST API (image upload, activation, and reboot)
        Verify the code update works well in WebUI.

Change-Id: I5b122211fafb7cb9d96ee67317db139ed0b7d0a7
Signed-off-by: Lei YU <mine260309@gmail.com>
6 files changed
tree: a240cf5fc401a40d8afd603c8e92840988c69a11
  1. org/
  2. static/
  3. test/
  4. ubi/
  5. xyz/
  6. .clang-format
  7. .gitignore
  8. activation.cpp
  9. activation.hpp
  10. bootstrap.sh
  11. configure.ac
  12. download_manager.cpp
  13. download_manager.hpp
  14. download_manager_main.cpp
  15. elog-errors.hpp
  16. flash.hpp
  17. image_manager.cpp
  18. image_manager.hpp
  19. image_manager_main.cpp
  20. image_verify.cpp
  21. image_verify.hpp
  22. item_updater.cpp
  23. item_updater.hpp
  24. item_updater_main.cpp
  25. LICENSE
  26. MAINTAINERS
  27. Makefile.am
  28. README.md
  29. serialize.cpp
  30. serialize.hpp
  31. sync_manager.cpp
  32. sync_manager.hpp
  33. sync_manager_main.cpp
  34. sync_watch.cpp
  35. sync_watch.hpp
  36. version.cpp
  37. version.hpp
  38. watch.cpp
  39. watch.hpp
README.md

phosphor-bmc-code-mgmt

Phosphor BMC Code Management provides a set of system software management applications. More information can be found at Software Architecture

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