[Fai-commit] r4849 - people/michael/features/setup_harddisks_2/implementation/lib
mt at alioth.debian.org
mt at alioth.debian.org
Wed Mar 12 15:56:57 UTC 2008
Author: mt
Date: 2008-03-12 15:56:56 +0000 (Wed, 12 Mar 2008)
New Revision: 4849
Modified:
people/michael/features/setup_harddisks_2/implementation/lib/parser.pm
Log:
initialize hash used for extended partitions
Modified: people/michael/features/setup_harddisks_2/implementation/lib/parser.pm
===================================================================
--- people/michael/features/setup_harddisks_2/implementation/lib/parser.pm 2008-02-28 15:27:12 UTC (rev 4848)
+++ people/michael/features/setup_harddisks_2/implementation/lib/parser.pm 2008-03-12 15:56:56 UTC (rev 4849)
@@ -218,7 +218,12 @@
# msdos disk labels don't allow for more than 4 primary partitions
($extended < 5)
or die "Too many primary partitions while creating extended\n";
-
+
+ # initialize the entry
+ (\%FAI::configs)->{$FAI::device}->{partitions}->{$extended} = {
+ size => {}
+ };
+
my $part_size =
(\%FAI::configs)->{$FAI::device}->{partitions}->{$extended}->{size};
More information about the Fai-commit
mailing list