mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-11-22 15:33:07 +00:00
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:
parent
3bdcfe306b
commit
038b05bb22
@ -327,7 +327,7 @@ touch /etc/machine-id
|
|||||||
|
|
||||||
|
|
||||||
%post --nochroot
|
%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
|
# only works on x86, x86_64
|
||||||
if [ "$(uname -i)" = "i386" -o "$(uname -i)" = "x86_64" ]; then
|
if [ "$(uname -i)" = "i386" -o "$(uname -i)" = "x86_64" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user