diff options
-rw-r--r-- | lib/MGA/DrakISO/BuildRoot.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/MGA/DrakISO/BuildRoot.pm b/lib/MGA/DrakISO/BuildRoot.pm index d9bd2c4..3462603 100644 --- a/lib/MGA/DrakISO/BuildRoot.pm +++ b/lib/MGA/DrakISO/BuildRoot.pm @@ -177,6 +177,11 @@ sub install_live_system { run_in_root($chroot, $arch, 'sh', '-c', "$env $cmd") or die "ERROR: failed to install base system\n"; + # Add the release notes. + for (qw(release-notes.html release-notes.txt)) { + copy_file_to_root($live_root, '', 0644, $arch_repository . '/' . $_); + } + # Add a local repository if the user has requested it. build_local_repo($build); } catch { |