[Pkg-uml-commit] r205 - trunk/src/rootstrap/modules

Mattia Dongili malattia at costa.debian.org
Mon Sep 18 19:16:34 UTC 2006


Author: malattia
Date: 2006-09-18 19:16:26 +0000 (Mon, 18 Sep 2006)
New Revision: 205

Modified:
   trunk/src/rootstrap/modules/uml
Log:
correctly write the timezone file, use /dev/ubda, not /dev/ubd0 - Closes 388121 and 388055

Modified: trunk/src/rootstrap/modules/uml
===================================================================
--- trunk/src/rootstrap/modules/uml	2006-09-08 17:29:06 UTC (rev 204)
+++ trunk/src/rootstrap/modules/uml	2006-09-18 19:16:26 UTC (rev 205)
@@ -10,7 +10,7 @@
 
 # generate a new fstab
 cat <<EOF > $TARGET/etc/fstab
-/dev/ubd0 / 	$fstype defaults 			0 1
+/dev/ubda / 	$fstype defaults 			0 1
 proc 	/proc 	proc 	defaults 			0 0
 tmpfs  	/tmp    tmpfs   defaults,size=768M 	0 0
 EOF
@@ -20,7 +20,7 @@
 
 if [ -e "$TARGET/usr/share/zoneinfo/$TARGET_TIMEZONE" ] ; then
 	chroot $TARGET cp /usr/share/zoneinfo/$TARGET_TIMEZONE /etc/localtime
-	chroot $TARGET echo $TARGET_TIMEZONE > /etc/timezone
+	echo "$TARGET_TIMEZONE" > $TARGET/etc/timezone
 fi 
 
 # kernel modules




More information about the Pkg-uml-commit mailing list