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

Thomas Lange lange at alioth.debian.org
Mon May 4 16:41:52 UTC 2009


Author: lange
Date: 2009-05-04 16:41:51 +0000 (Mon, 04 May 2009)
New Revision: 5407

Modified:
   trunk/debian/changelog
   trunk/lib/subroutines-linux
Log:
  remove yes pipe when calling debootstrap

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2009-05-04 15:11:04 UTC (rev 5406)
+++ trunk/debian/changelog	2009-05-04 16:41:51 UTC (rev 5407)
@@ -2,8 +2,9 @@
 
   [ Thomas Lange ]
   * subroutines-linux: fix log message
+    remove yes pipe when calling debootstrap
 
- -- Thomas Lange <lange at debian.org>  Mon, 04 May 2009 17:10:29 +0200
+ -- Thomas Lange <lange at debian.org>  Mon, 04 May 2009 18:41:32 +0200
 
 fai (3.2.20) unstable; urgency=low
 

Modified: trunk/lib/subroutines-linux
===================================================================
--- trunk/lib/subroutines-linux	2009-05-04 15:11:04 UTC (rev 5406)
+++ trunk/lib/subroutines-linux	2009-05-04 16:41:51 UTC (rev 5407)
@@ -5,7 +5,7 @@
 # subroutine definitions for linux
 #
 # This script is part of FAI (Fully Automatic Installation)
-# (c) 2005-2008 by Thomas Lange, lange at informatik.uni-koeln.de
+# (c) 2005-2009 by Thomas Lange, lange at informatik.uni-koeln.de
 # Universitaet zu Koeln
 # (c) 2001-2005 by Henning Glawe, glaweh at physik.fu-berlin.de
 # Freie Universitaet Berlin
@@ -143,7 +143,7 @@
     local dversion=$(dpkg -l debootstrap | grep debootstrap | cut -f7 -d' ')
     echo "Creating base system using debootstrap version $dversion"
     echo "Calling debootstrap $FAI_DEBOOTSTRAP_OPTS $1 $FAI_ROOT $2"
-    yes '' | LC_ALL=C debootstrap $FAI_DEBOOTSTRAP_OPTS $1 $FAI_ROOT $2
+    LC_ALL=C debootstrap $FAI_DEBOOTSTRAP_OPTS $1 $FAI_ROOT $2
 }
 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 ### BEGIN SUBROUTINE INFO




More information about the Fai-commit mailing list