From: Jorge Hernandez Date: Wed, 27 Sep 2017 02:22:35 +0000 (-0500) Subject: remove chmod and filesystem syncing X-Git-Tag: v1.1.0~24 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F63%2F15763%2F1;p=policy%2Fdocker.git remove chmod and filesystem syncing drools-apps packaging made it executable to avoid docker issues Change-Id: I0d78432a0d50c2daa0a9a98ce032865d3b917595 Issue-ID: POLICY-162 Signed-off-by: Jorge Hernandez --- diff --git a/policy-drools/docker-install.sh b/policy-drools/docker-install.sh index a1794543..e65329da 100644 --- a/policy-drools/docker-install.sh +++ b/policy-drools/docker-install.sh @@ -881,17 +881,6 @@ function do_install() # base drools installation from the drools apps # is executed here - # sync and sleep is used to make sure file system - # syncronization happens. When running within docker back - # to back operations on the same file such as - # chmod and then script execution, it has been - # seen that the script execution returns "text busy" - # OS error. - - chmod +x ./apps-installer - - sync - sleep 5s ./apps-installer fi