[Fai-commit] r5408 - people/michael/experimental/patches

Michael Tautschnig mt at alioth.debian.org
Tue May 5 17:09:16 UTC 2009


Author: mt
Date: 2009-05-05 17:09:16 +0000 (Tue, 05 May 2009)
New Revision: 5408

Added:
   people/michael/experimental/patches/setup-storage_ignore-gpt-warning
Modified:
   people/michael/experimental/patches/series
Log:
Added patch to ignore a parted warning about the disk not being used in an
optimal way


Modified: people/michael/experimental/patches/series
===================================================================
--- people/michael/experimental/patches/series	2009-05-04 16:41:51 UTC (rev 5407)
+++ people/michael/experimental/patches/series	2009-05-05 17:09:16 UTC (rev 5408)
@@ -1,3 +1,4 @@
+setup-storage_ignore-gpt-warning
 logtail
 grub-pc
 bugfix-506459

Added: people/michael/experimental/patches/setup-storage_ignore-gpt-warning
===================================================================
--- people/michael/experimental/patches/setup-storage_ignore-gpt-warning	                        (rev 0)
+++ people/michael/experimental/patches/setup-storage_ignore-gpt-warning	2009-05-05 17:09:16 UTC (rev 5408)
@@ -0,0 +1,18 @@
+2009-05-04  Michael Tautschnig  <mt at debian.org>
+
+	* setup-storage/Volumes.pm: Ignore another line of output from parted
+		(GPT-related warning). Thanks Andreas Schuldei for noticing this.
+Index: trunk/lib/setup-storage/Volumes.pm
+===================================================================
+--- trunk.orig/lib/setup-storage/Volumes.pm
++++ trunk/lib/setup-storage/Volumes.pm	
+@@ -146,7 +146,8 @@
+ 
+       # now we test line by line - some of them may be ignored
+       next if ($line =~ /^Disk / || $line =~ /^Model: / || $line =~ /^\s*$/
+-        || $line =~ /^WARNING: You are not superuser/);
++        || $line =~ /^WARNING: You are not superuser/
++        || $line =~ /^Warning: Not all of the space available to/);
+ 
+       # determine the logical sector size
+       if ($line =~ /^Sector size \(logical\/physical\): (\d+)B\/\d+B$/) {




More information about the Fai-commit mailing list