diff options
author | Olivier Blin <oblin@mandriva.com> | 2009-06-26 20:20:04 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2009-06-26 20:20:04 +0000 |
commit | 4e6c73bc390f1d4e2a51c95bb3016d69558c0619 (patch) | |
tree | 565d6d1e5d0b76b3b52c5783b08fcf9adbccd883 | |
parent | 12ffcfabb28cd1d161d97113d508760742d47ef0 (diff) | |
download | draklive-4e6c73bc390f1d4e2a51c95bb3016d69558c0619.tar draklive-4e6c73bc390f1d4e2a51c95bb3016d69558c0619.tar.gz draklive-4e6c73bc390f1d4e2a51c95bb3016d69558c0619.tar.bz2 draklive-4e6c73bc390f1d4e2a51c95bb3016d69558c0619.tar.xz draklive-4e6c73bc390f1d4e2a51c95bb3016d69558c0619.zip |
fill a partitions hash in media
-rw-r--r-- | lib/MDV/Draklive/Config.pm | 1 |
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); |