fedora-live-base: Copy license files from the correct path

Since Fedora 30, license files are missing from the ISO filesystem
of live images (including official builds). The source path to the
license files changed when they were moved into a subpackage named
fedora-release-common (or generic-release-common).
This commit is contained in:
David Ward 2021-01-18 09:01:07 -05:00 committed by kevin
parent 3bdcfe306b
commit 038b05bb22
1 changed files with 1 additions and 1 deletions

View File

@ -327,7 +327,7 @@ touch /etc/machine-id
%post --nochroot
cp $INSTALL_ROOT/usr/share/licenses/*-release/* $LIVE_ROOT/
cp $INSTALL_ROOT/usr/share/licenses/*-release-common/* $LIVE_ROOT/
# only works on x86, x86_64
if [ "$(uname -i)" = "i386" -o "$(uname -i)" = "x86_64" ]; then