diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2018-03-04 14:53:46 +0000 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2018-03-04 14:53:46 +0000 |
commit | 55b6bf3e3187a8454853805a955749044f043724 (patch) | |
tree | 61f3b9f653523c6ba5720939608ba48f5bb4a217 /lib/MGA | |
parent | ee5839a2f6e4e97bfae814e43ccde3c7728c53d1 (diff) | |
download | drakiso-55b6bf3e3187a8454853805a955749044f043724.tar drakiso-55b6bf3e3187a8454853805a955749044f043724.tar.gz drakiso-55b6bf3e3187a8454853805a955749044f043724.tar.bz2 drakiso-55b6bf3e3187a8454853805a955749044f043724.tar.xz drakiso-55b6bf3e3187a8454853805a955749044f043724.zip |
Copy the release notes from the repository when building the root system.
Diffstat (limited to 'lib/MGA')
-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 { |