[Devel] [PATCH] vz-rst: temove spfs scripts from criu restore	parameters
    Stanislav Kinsburskiy 
    skinsbursky at virtuozzo.com
       
    Wed Aug  3 04:14:21 PDT 2016
    
    
  
These scripts are obsolete, and their logic is integrated to the source code
starting from version 2.4.0.3.
This means, that libvzctl wtih this patch applied has to depend on criu
2.4.0.3
Signed-off-by: Stanislav Kinsburskiy <skinsbursky at virtuozzo.com>
---
 scripts/vz-rst.in |    8 --------
 1 file changed, 8 deletions(-)
diff --git a/scripts/vz-rst.in b/scripts/vz-rst.in
index e467624..5795acc 100755
--- a/scripts/vz-rst.in
+++ b/scripts/vz-rst.in
@@ -98,13 +98,6 @@ if [ -f "$autofs_actions_path" ]; then
 	autofs_actions="--action-script $autofs_actions_path"
 fi
 
-# SPFS actions
-spfs_scripts="/usr/libexec/criu/scripts/spfs-change-mode.sh		\
-		/usr/libexec/criu/scripts/spfs-release-replace.sh"
-for script in $spfs_scripts; do
-	[ -f "$script" ] && spfs_actions=$spfs_actions"--action-script $script "
-done
-
 CRIU_LOGLEVEL=4
 criu restore -v$CRIU_LOGLEVEL				\
 		--file-locks				\
@@ -122,7 +115,6 @@ criu restore -v$CRIU_LOGLEVEL				\
 		$cgroup_root				\
 		$ext_mount_map				\
 		$autofs_actions				\
-		$spfs_actions				\
 		$veth_args				\
 		$external
 
    
    
More information about the Devel
mailing list