Brian Elliott Finley wrote:
> I agree.  As a matter of fact, I have the same patch in my udev branch.
> :-)
> 
> Go for it.
> 
> -Brian

I've removed another interactive point (when a loaded module could not
be found in the module path).. IMO it is better to have no interactive
points here... otherwise some batch commands may not work properly...

Regards,
-Andrea

PS is always the developer trunk the right repository for commits,
right? or I must update also the 3.6.x branch?

-------- Original Message --------
Subject: [Systemimager-commits] r3333 - trunk/lib/SystemImager
Date: Sun, 18 Dec 2005 14:19:18 -0600
From: Andrea Righi <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]

Author: arighi
Date: 2005-12-18 14:19:18 -0600 (Sun, 18 Dec 2005)
New Revision: 3333

Modified:
   trunk/lib/SystemImager/UseYourOwnKernel.pm
Log:
- removed interactive commands

Modified: trunk/lib/SystemImager/UseYourOwnKernel.pm
===================================================================
--- trunk/lib/SystemImager/UseYourOwnKernel.pm  2005-12-18 11:40:53 UTC
(rev 3332)
+++ trunk/lib/SystemImager/UseYourOwnKernel.pm  2005-12-18 20:19:18 UTC
(rev 3333)
@@ -84,9 +84,7 @@

                 } else {

-                        print qq(\nWARNING: Couldn't find module "$_"!\n);
-                        print qq(  Hit <Ctrl>+<C> to cancel, or press
<Enter> to ignore and continue...\n);
-                        <STDIN>;
+                        print STDERR qq(\nWARNING: Couldn't find module
"$_" (skipping it)!\n);
                 }
         }
         close(FILE);
@@ -472,7 +470,7 @@
         run_cmd("$mkfs $staging_dir $new_initrd", $verbose, 1);

         # gzip up
-        run_cmd("gzip -9 -S .img $new_initrd", $verbose);
+        run_cmd("gzip -f -9 -S .img $new_initrd", $verbose);
         run_cmd("ls -l $new_initrd.img", $verbose, 1) if($verbose);

         return 1;
@@ -514,7 +512,7 @@

         # umount and gzip up
         run_cmd("umount $new_initrd_mount_dir", $verbose);
-        run_cmd("gzip -9 -S .img $new_initrd", $verbose);
+        run_cmd("gzip -f -9 -S .img $new_initrd", $verbose);
         run_cmd("ls -l $new_initrd.img", $verbose, 1) if($verbose);

         return 1;
@@ -569,7 +567,7 @@

         # umount and gzip up
         run_cmd("umount $new_initrd_mount_dir", $verbose);
-        run_cmd("gzip -9 -S .img $new_initrd", $verbose);
+        run_cmd("gzip -f -9 -S .img $new_initrd", $verbose);
         run_cmd("ls -l $new_initrd.img", $verbose, 1) if($verbose);

         # cleanup the temporary mount dir
@@ -638,7 +636,7 @@

         # umount and gzip up
         run_cmd("umount $new_initrd_mount_dir", $verbose);
-        run_cmd("gzip -9 -S .img $new_initrd", $verbose);
+        run_cmd("gzip -f -9 -S .img $new_initrd", $verbose);
         run_cmd("ls -l $new_initrd.img", $verbose, 1) if($verbose);

         return 1;


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Sisuite-devel mailing list
Sisuite-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-devel

Reply via email to