fedora-live-base: Drop post processing for file additions.

Remove code to copy licenses/release files & livecd-iso-to-disk, if
needed.  livecd-creator now handles this directly.
(8d33dd973e)
This commit is contained in:
Frederick Grose 2023-02-01 20:44:57 -05:00 committed by ngompa
parent e1efabcb98
commit 1a41824efe

View File

@ -104,17 +104,3 @@ touch /etc/machine-id
%end
%post --nochroot
# For livecd-creator builds only (lorax/livemedia-creator handles this directly)
if [ -n "$LIVE_ROOT" ]; then
cp "$INSTALL_ROOT"/usr/share/licenses/*-release-common/* "$LIVE_ROOT/"
# only installed on x86, x86_64
if [ -f /usr/bin/livecd-iso-to-disk ]; then
mkdir -p "$LIVE_ROOT/LiveOS"
cp /usr/bin/livecd-iso-to-disk "$LIVE_ROOT/LiveOS"
fi
fi
%end