3e63d1dd37
Apply diff anaconda-20.25.16-1..anaconda-21.48.21-1
13 lines
501 B
Plaintext
13 lines
501 B
Plaintext
# Note, this script log will not be copied to the installed system.
|
|
%post --nochroot
|
|
|
|
mkdir -p $ANA_INSTALL_PATH/var/log/anaconda
|
|
for log in anaconda.log syslog X.log program.log packaging.log storage.log ifcfg.log yum.log dnf.log dnf.rpm.log; do
|
|
[ -e /tmp/$log ] && cp /tmp/$log $ANA_INSTALL_PATH/var/log/anaconda/
|
|
done
|
|
cp /tmp/ks-script*.log $ANA_INSTALL_PATH/var/log/anaconda/
|
|
journalctl -b > $ANA_INSTALL_PATH/var/log/anaconda/journal.log
|
|
chmod 0600 $ANA_INSTALL_PATH/var/log/anaconda/*
|
|
|
|
%end
|