[Fai-commit] r4610 - people/michael/features/setup_harddisks_2/implementation
andreas at alioth.debian.org
andreas at alioth.debian.org
Tue Oct 9 13:18:02 UTC 2007
Author: andreas
Date: 2007-10-09 13:18:01 +0000 (Tue, 09 Oct 2007)
New Revision: 4610
Modified:
people/michael/features/setup_harddisks_2/implementation/shdd2-fstab
Log:
change ROOT_PARTITION entry to handle uuid to handle changing disk discovery by the kernel
Modified: people/michael/features/setup_harddisks_2/implementation/shdd2-fstab
===================================================================
--- people/michael/features/setup_harddisks_2/implementation/shdd2-fstab 2007-10-09 13:17:49 UTC (rev 4609)
+++ people/michael/features/setup_harddisks_2/implementation/shdd2-fstab 2007-10-09 13:18:01 UTC (rev 4610)
@@ -121,8 +121,9 @@
push @fstab, join( "\t", @fstab_line );
# set the ROOT_PARTITION variable, if this is the mountpoint for /
- $FAI::disk_var{ "ROOT_PARTITION" } = $device . $p_ref->{"number"}
- if ( $p_ref->{"mountpoint"} eq "/" );
+# $FAI::disk_var{ "ROOT_PARTITION" } = $device . $p_ref->{"number"}
+ $FAI::disk_var{ "ROOT_PARTITION" } = $fstab_line[0]
+ if ( $p_ref->{"mountpoint"} eq "/" );
# add to the swaplist, if the filesystem is swap
$FAI::disk_var{ "SWAPLIST" } .= " " . $device . $p_ref->{"number"} if (
$p_ref->{"filesystem"} eq "swap" );
More information about the Fai-commit
mailing list