[Fai-commit] r5421 - people/michael/experimental/patches
Michael Tautschnig
mt at alioth.debian.org
Sat Jun 13 20:32:52 UTC 2009
Author: mt
Date: 2009-06-13 20:32:51 +0000 (Sat, 13 Jun 2009)
New Revision: 5421
Modified:
people/michael/experimental/patches/setup-storage_udevsettle
Log:
udevsettle-patch for Exec.pm was missing, sorry
Modified: people/michael/experimental/patches/setup-storage_udevsettle
===================================================================
--- people/michael/experimental/patches/setup-storage_udevsettle 2009-06-13 20:22:08 UTC (rev 5420)
+++ people/michael/experimental/patches/setup-storage_udevsettle 2009-06-13 20:32:51 UTC (rev 5421)
@@ -1,7 +1,7 @@
2009-06-13 Michael Tautschnig <mt at debian.org>
- * setup-storage: auto-detect a proper way to tell udev to settle (udevsettle
- is used in etch, udevadm settle for sid; thanks
+ * setup-storage, setup-storage/Exec.pm: auto-detect a proper way to tell udev
+ to settle (udevsettle is used in etch, udevadm settle for sid; thanks
matrix.systems at matrix.msu.edu for a first patch). (closes: #530656)
Index: trunk/bin/setup-storage
===================================================================
@@ -42,3 +42,17 @@
# @brief The lists of disks of the system
#
################################################################################
+Index: trunk/lib/setup-storage/Exec.pm
+===================================================================
+--- trunk.orig/lib/setup-storage/Exec.pm
++++ trunk/lib/setup-storage/Exec.pm
+@@ -246,7 +246,8 @@
+ ################################################################################
+ sub execute_with_udevsettle {
+ my ($command, $stdout, $stderr) = @_;
+- return &execute_command("udevsettle --timeout=10 && $command", $stdout,
++ defined ($FAI::udev_settle) or &FAI::internal_error("udev settle command not defined");
++ return &execute_command("$FAI::udev_settle && $command", $stdout,
+ $stderr);
+ }
+
More information about the Fai-commit
mailing list