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

mt at alioth.debian.org mt at alioth.debian.org
Tue Sep 30 16:21:20 UTC 2008


Author: mt
Date: 2008-09-30 16:21:20 +0000 (Tue, 30 Sep 2008)
New Revision: 5181

Modified:
   people/michael/experimental/patches/setup-storage_parted-error-msgs
Log:
added missing part of patch for Volumes.pm


Modified: people/michael/experimental/patches/setup-storage_parted-error-msgs
===================================================================
--- people/michael/experimental/patches/setup-storage_parted-error-msgs	2008-09-30 16:03:51 UTC (rev 5180)
+++ people/michael/experimental/patches/setup-storage_parted-error-msgs	2008-09-30 16:21:20 UTC (rev 5181)
@@ -147,3 +147,16 @@
      response     => "die",
    },
    {
+Index: trunk/lib/setup-storage/Volumes.pm
+===================================================================
+--- trunk.orig/lib/setup-storage/Volumes.pm
++++ trunk/lib/setup-storage/Volumes.pm	
+@@ -66,7 +66,7 @@
+ 
+     # parted_2 happens when the disk has no disk label, because parted then
+     # provides no information about the disk
+-    if ($error eq "parted_2") {
++    if ($error eq "parted_2" || $error eq "parted_2_new") {
+       $FAI::no_dry_run or die 
+         "Can't run on test-only mode on this system because there is no disklabel on $disk\n";
+ 




More information about the Fai-commit mailing list