Change inotify to look at IN_CLOSE_WRITE flag

The inotify is triggering before the image is done
downloading. This leads to a corrupted tar.
Look at the IN_CLOSE_WRITE flag instead.

Change-Id: Ib9d3f97ae3c48960a0bdf84250a66d1f8254a7f5
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
1 file changed
tree: c4118843a9075837716761ddd66373efc30d1bb4
  1. .gitignore
  2. bootstrap.sh
  3. configure.ac
  4. download_manager.cpp
  5. download_manager.hpp
  6. download_manager_main.cpp
  7. image_manager_main.cpp
  8. LICENSE
  9. Makefile.am
  10. README.md
  11. version.cpp
  12. version.hpp
  13. version_software_manager.cpp
  14. version_software_manager.hpp
  15. watch.cpp
  16. watch.hpp
README.md

To Build

To build this package, do the following steps:

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

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