[Fai-commit] r6759 - trunk/lib/setup-storage
Michael Tautschnig
mt at alioth.debian.org
Sun Oct 23 09:59:37 UTC 2011
Author: mt
Date: 2011-10-23 09:59:37 +0000 (Sun, 23 Oct 2011)
New Revision: 6759
Modified:
trunk/lib/setup-storage/Sizes.pm
Log:
setup-storage: add gpt-bios partition with size 1MB initially
make_range will later convert this to bytes. Spotted by Andreas Schuldei.
Modified: trunk/lib/setup-storage/Sizes.pm
===================================================================
--- trunk/lib/setup-storage/Sizes.pm 2011-10-23 09:52:54 UTC (rev 6758)
+++ trunk/lib/setup-storage/Sizes.pm 2011-10-23 09:59:37 UTC (rev 6759)
@@ -647,9 +647,9 @@
$FAI::configs{$config}{gpt_bios_part} =
(&FAI::phys_dev($FAI::partition_pointer_dev_name))[2];
# enter the range into the hash
+ $FAI::partition_pointer->{size}->{range} = "1-1";
+ # retain the free space at the beginning and fix the position
my $s = 1024 * 1024;
- $FAI::partition_pointer->{size}->{range} = "$s-$s";
- # retain the free space at the beginning and fix the position
if ($FAI::configs{$config}{partitions}{1}{size}{preserve})
{
# try to squeeze it in before first partition
More information about the Fai-commit
mailing list