[Fai-commit] r5494 - in trunk: debian lib

Thomas Lange lange at alioth.debian.org
Sat Aug 8 16:36:17 UTC 2009


Author: lange
Date: 2009-08-08 16:36:17 +0000 (Sat, 08 Aug 2009)
New Revision: 5494

Modified:
   trunk/debian/changelog
   trunk/lib/subroutines-linux
Log:
  print warning when setup_harddisks is used

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2009-08-05 09:03:58 UTC (rev 5493)
+++ trunk/debian/changelog	2009-08-08 16:36:17 UTC (rev 5494)
@@ -1,4 +1,4 @@
-fai (3.2.23~beta11) unstable; urgency=low
+fai (3.2.23~beta13) unstable; urgency=low
 
   [ Thomas Lange ]
   * subroutines-linux: fix log message
@@ -6,6 +6,7 @@
     if NEXTTEST is used, define a class for next reboot. Thanks to
     Sebastian Hetze for this patch.
     task_updatebase now writes to software.log
+    print warning when setup_harddisks is used
   * subroutines: do not unset the functions task_$taskname after use
     fill task_tests with code, execute tests before task chboot
     create /var/run/sshd (needed for ubuntu 9.10)

Modified: trunk/lib/subroutines-linux
===================================================================
--- trunk/lib/subroutines-linux	2009-08-05 09:03:58 UTC (rev 5493)
+++ trunk/lib/subroutines-linux	2009-08-08 16:36:17 UTC (rev 5494)
@@ -125,6 +125,8 @@
 	[ ! -s $LOGDIR/disk_var.sh ] && setup-storage -X 2>&1 | tee $LOGDIR/format.log 
     else
 	echo "Partitioning local harddisks using setup_harddisks"
+	echo "WARNING: setup_harddisks is deprecated and will be removed in the future."
+	echo "WARNING: Please use setup-storage(8) instead."
 	[ ! -s $LOGDIR/disk_var.sh ] && setup_harddisks -d -X 2>&1 | tee $LOGDIR/format.log
     fi
 




More information about the Fai-commit mailing list