diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2015-05-22 22:13:46 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2015-05-22 22:17:10 +0200 |
commit | 786171ebb7723a74b841f7c1c1457bd825783a16 (patch) | |
tree | 459ba49d5b26ecfe2d63a19eefeaee2fadb9bba7 /lib/MDV/Draklive/Mounts.pm | |
parent | 3f5f93364ec62e6384780d993d7ae24f27a43bda (diff) | |
download | drakiso-786171ebb7723a74b841f7c1c1457bd825783a16.tar drakiso-786171ebb7723a74b841f7c1c1457bd825783a16.tar.gz drakiso-786171ebb7723a74b841f7c1c1457bd825783a16.tar.bz2 drakiso-786171ebb7723a74b841f7c1c1457bd825783a16.tar.xz drakiso-786171ebb7723a74b841f7c1c1457bd825783a16.zip |
perl_checker cleanups
Diffstat (limited to 'lib/MDV/Draklive/Mounts.pm')
-rw-r--r-- | lib/MDV/Draklive/Mounts.pm | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/MDV/Draklive/Mounts.pm b/lib/MDV/Draklive/Mounts.pm index 5bdacd7..7aea117 100644 --- a/lib/MDV/Draklive/Mounts.pm +++ b/lib/MDV/Draklive/Mounts.pm @@ -2,7 +2,7 @@ package MDV::Draklive::Mounts; use MDK::Common; -my $_dir_distrib_sqfs = { +my $dir_distrib_sqfs = { mountpoint => '/distrib', type => 'squashfs', path => '/distrib', @@ -10,13 +10,13 @@ my $_dir_distrib_sqfs = { sort => "config/distrib.sort", build_from => '/', }; -my $_dir_memory = { +my $dir_memory = { mountpoint => '/memory', type => 'tmpfs', mount_opts => 'mode=755', }; -my $_dir_modules = { +my $dir_modules = { mountpoint => '/modules', type => 'modules', path => '/modules', @@ -36,7 +36,7 @@ our $simple_union = { mountpoint => '/media', type => 'plain', }, - $_dir_memory, + $dir_memory, ], }; @@ -44,7 +44,7 @@ our $squash_rw_union = { root => '/union', overlay => 'unionfs', dirs => [ - $_dir_distrib_sqfs, + $dir_distrib_sqfs, { mountpoint => '/media/system', type => 'plain', @@ -58,9 +58,9 @@ sub volatile_squash_union { root => '/union', overlay => 'unionfs', dirs => [ - $_dir_distrib_sqfs, - if_($o_modules, $_dir_modules), - $_dir_memory, + $dir_distrib_sqfs, + if_($o_modules, $dir_modules), + $dir_memory, ], }; } @@ -71,8 +71,8 @@ sub squash_union { root => '/union', overlay => 'unionfs', dirs => [ - $_dir_distrib_sqfs, - if_($o_modules, $_dir_modules), + $dir_distrib_sqfs, + if_($o_modules, $dir_modules), { mountpoint => '/system', type => 'loopfs', |