]> git.openfabrics.org - compat-rdma/docs.git/commitdiff
ofed_patch: Removed userlevel patches support.
authorTziporet Koren <tziporet@mellanox.co.il>
Tue, 15 Jan 2008 14:20:07 +0000 (16:20 +0200)
committerTziporet Koren <tziporet@mellanox.co.il>
Tue, 15 Jan 2008 14:20:07 +0000 (16:20 +0200)
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.co.il>
ofed_patch.sh

index 6ebcc5eb3403b3130c1cae6f661fd086248c3a6f..1f87d324e753145f780acf9c47cead3a140b49f1 100755 (executable)
@@ -38,13 +38,13 @@ cat << EOF
                 `basename $0`   --add
                                 --ofed|-o <path_to_ofed> 
                                 --patch|-p <path_to_patch>
-                                --type|-t <user|kernel|backport <kernel tag>|addons <kernel tag>>
+                                --type|-t <kernel|backport <kernel tag>|addons <kernel tag>>
 
             Remove patch from OFED:
                 `basename $0`   --remove
                                 --ofed|-o <path_to_ofed> 
                                 --patch|-p <patch name>
-                                --type|-t <user|kernel|backport <kernel tag>|addons <kernel tag>>
+                                --type|-t <kernel|backport <kernel tag>|addons <kernel tag>>
 
         Example:
                 `basename $0` --add --ofed /tmp/OFED-1.3/ --patch /tmp/cma_establish.patch --type kernel
@@ -184,9 +184,6 @@ main()
                 kernel|backport|addons)
                 set_rpm_info ofa_kernel
                 ;;
-                user)
-                set_rpm_info ofa_user
-                ;;
                 *)
                 echo "Unknown type $type"
                 exit 1
@@ -218,13 +215,6 @@ main()
                         remove_patch $patch ${package}/kernel_patches/fixes
                 fi
                 ;;
-                user)
-                if [ "$action" == "add" ]; then
-                        add_patch $patch ${package}/user_patches/fixes
-                else
-                        remove_patch $patch ${package}/user_patches/fixes
-                fi
-                ;;
                 backport)
                 if [ "$action" == "add" ]; then
                         if [ ! -d ${package}/kernel_patches/backport/$tag ]; then