diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2017-12-18 21:23:57 +0000 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2017-12-18 21:23:57 +0000 |
commit | 996706b13c0354ae98e08f4cd54eae2a5868434c (patch) | |
tree | babaa5bcfbc3a51d6e0849757e5b3629a48a8047 /lib/MGA/DrakISO/BuildLoop.pm | |
parent | cd2fe6bf1129641d59614d6382c5819acd8252e4 (diff) | |
download | drakiso-996706b13c0354ae98e08f4cd54eae2a5868434c.tar drakiso-996706b13c0354ae98e08f4cd54eae2a5868434c.tar.gz drakiso-996706b13c0354ae98e08f4cd54eae2a5868434c.tar.bz2 drakiso-996706b13c0354ae98e08f4cd54eae2a5868434c.tar.xz drakiso-996706b13c0354ae98e08f4cd54eae2a5868434c.zip |
Remove ability to override default directory names.
It's unlikely anyone would want to do this, and it makes the code
considerably harder to read.
Diffstat (limited to 'lib/MGA/DrakISO/BuildLoop.pm')
-rwxr-xr-x | lib/MGA/DrakISO/BuildLoop.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/MGA/DrakISO/BuildLoop.pm b/lib/MGA/DrakISO/BuildLoop.pm index 5e840d4..e1cb82d 100755 --- a/lib/MGA/DrakISO/BuildLoop.pm +++ b/lib/MGA/DrakISO/BuildLoop.pm @@ -52,7 +52,7 @@ sub build_live_loopback_files { eval { rm_rf($copy_tree) }; hardlink_filtered($live->get_system_root, $copy_tree, $module->{files}); my $loop = $loop_types{$module->{type}}; - $loop->{build}->($live, { path => "$live->{prefix}{build}{modules}/$module->{name}", root => $copy_tree, exclude => \@excluded_files }); + $loop->{build}->($live, { path => "/modules/$module->{name}", root => $copy_tree, exclude => \@excluded_files }); eval { rm_rf($copy_tree) }; } @@ -66,7 +66,7 @@ sub build_live_loopback_files { eval { rm_rf($copy_tree) }; hardlink_filtered($excluded_tree, $copy_tree, $module->{files}); my $loop = $loop_types{$module->{type}}; - $loop->{build}->($live, { path => "$live->{prefix}{build}{modules}/excluded-$module->{name}", root => $copy_tree }); + $loop->{build}->($live, { path => "/modules/excluded-$module->{name}", root => $copy_tree }); eval { rm_rf($copy_tree) }; } |