From 4e6c73bc390f1d4e2a51c95bb3016d69558c0619 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Fri, 26 Jun 2009 20:20:04 +0000 Subject: fill a partitions hash in media --- lib/MDV/Draklive/Config.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/MDV/Draklive/Config.pm b/lib/MDV/Draklive/Config.pm index 5fba167..92e78af 100644 --- a/lib/MDV/Draklive/Config.pm +++ b/lib/MDV/Draklive/Config.pm @@ -79,6 +79,7 @@ sub complete_config { foreach ($live->{media}, if_($live->{replicator}{media}, $live->{replicator}{media})) { bless $_, 'MDV::Draklive::Media'; + $_->{partitions} ||= [ { mntpoint => '/' } ]; } mkdir_p($live->get_builddir); -- cgit v1.2.1