2013-01-23 17:28:19 +00:00
|
|
|
# Note, this script log will not be copied to the installed system.
|
|
|
|
%post --nochroot
|
|
|
|
|
2015-03-23 11:36:12 +00:00
|
|
|
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
|
2013-01-23 17:28:19 +00:00
|
|
|
cp /tmp/ks-script*.log $ANA_INSTALL_PATH/var/log/anaconda/
|
2015-03-23 11:36:12 +00:00
|
|
|
journalctl -b > $ANA_INSTALL_PATH/var/log/anaconda/journal.log
|
|
|
|
chmod 0600 $ANA_INSTALL_PATH/var/log/anaconda/*
|
2013-01-23 17:28:19 +00:00
|
|
|
|
|
|
|
%end
|