Fini la mise à jour pour répertoire pkg. Stage4 compile OK et driver xorg nouveau OK
[hvlinux.git] / functions-ipkg
index 1058358..23a1e1a 100644 (file)
@@ -11,6 +11,7 @@ function_exists()
     return $?
 }
 
+unset -f hvpatch_pre
 unset -f hvconfig_pre
 unset -f hvconfig_cache
 unset -f hvconfig_post
@@ -127,6 +128,12 @@ ipkg_script()
         source ${PACKAGE_DEF}
     fi
 
+    # Execute pre-patch function if applicable
+    if function_exists hvpatch_pre ; then
+        echo "Running patch pre-script"
+        hvpatch_pre
+    fi
+
     hvpatch
 
     # Execute pre-configure function if applicable