Modules/InitRD - Silence creation script
authorJohn Hodge <[email protected]>
Wed, 21 May 2014 15:23:36 +0000 (23:23 +0800)
committerJohn Hodge <[email protected]>
Wed, 21 May 2014 15:23:36 +0000 (23:23 +0800)
KernelLand/Modules/Filesystems/InitRD/GenerateInitRD.php

index 5034b4b..52377e6 100644 (file)
@@ -12,6 +12,8 @@ $gOutput = <<<EOF
 
 EOF;
 
+define("DEBUG_ENABLED", false);
+
 $ACESSDIR = getenv("ACESSDIR");
 $ARCH = getenv("ARCH");
 
@@ -143,7 +145,8 @@ EOF;
                {
                        $path = $item[1];
                        
-                       echo $path,"\n";
+                       if( DEBUG_ENABLED )
+                               echo $path,"\n";
                        $size = filesize($path);
        
                        $_sym = "_binary_".str_replace(array("/","-",".","+"), "_", $path)."_start";

UCC git Repository :: git.ucc.asn.au