summaryrefslogtreecommitdiffstats
path: root/lib/MGA
diff options
context:
space:
mode:
Diffstat (limited to 'lib/MGA')
-rw-r--r--lib/MGA/DrakISO/BuildBoot.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MGA/DrakISO/BuildBoot.pm b/lib/MGA/DrakISO/BuildBoot.pm
index 9336f9e..2d74d13 100644
--- a/lib/MGA/DrakISO/BuildBoot.pm
+++ b/lib/MGA/DrakISO/BuildBoot.pm
@@ -106,7 +106,7 @@ sub prepare_iso_bootloader {
# the default kernel and initrd.
my $repo_prefix = $build->{settings}{repository} . '/' . $arch . '/';
my $copy_prefix = $build->get_build_dir . '/';
- foreach (group_by2(@{$build->{copy_from_repo}})) {
+ foreach (group_by2(@{$build->{media}{copy_from_repo}})) {
my ($src, $dst) = @$_;
copy_or_link($repo_prefix . $src, $copy_prefix . $dst);
}