summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-06-26 20:20:04 +0000
committerOlivier Blin <oblin@mandriva.com>2009-06-26 20:20:04 +0000
commit4e6c73bc390f1d4e2a51c95bb3016d69558c0619 (patch)
tree565d6d1e5d0b76b3b52c5783b08fcf9adbccd883 /lib
parent12ffcfabb28cd1d161d97113d508760742d47ef0 (diff)
downloaddrakiso-4e6c73bc390f1d4e2a51c95bb3016d69558c0619.tar
drakiso-4e6c73bc390f1d4e2a51c95bb3016d69558c0619.tar.gz
drakiso-4e6c73bc390f1d4e2a51c95bb3016d69558c0619.tar.bz2
drakiso-4e6c73bc390f1d4e2a51c95bb3016d69558c0619.tar.xz
drakiso-4e6c73bc390f1d4e2a51c95bb3016d69558c0619.zip
fill a partitions hash in media
Diffstat (limited to 'lib')
-rw-r--r--lib/MDV/Draklive/Config.pm1
1 files changed, 1 insertions, 0 deletions
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);