diff options
author | Brian C. Lane <bcl@redhat.com> | 2012-08-01 12:02:31 -0700 |
---|---|---|
committer | Brian C. Lane <bcl@redhat.com> | 2012-08-02 09:34:52 -0700 |
commit | 81dc0169f071ecc3c8b3be1ca8fbea14ac4b24c6 (patch) | |
tree | 447cfd3104b9b2122fa3c42cfba10cc8d00fd1c4 /data | |
parent | 5a9e64fe4790fde412edead5932c810ff0a20bec (diff) | |
download | anaconda-81dc0169f071ecc3c8b3be1ca8fbea14ac4b24c6.tar.gz anaconda-81dc0169f071ecc3c8b3be1ca8fbea14ac4b24c6.tar.xz anaconda-81dc0169f071ecc3c8b3be1ca8fbea14ac4b24c6.zip |
Add packaging log and scriptlet logging
This adds a new logfile for packaging (/tmp/packaging.log) which will
contain everything related to yum and rpm as well as other package
systems when they are added. This also re-adds logging of the rpm
scriptlet output.
The 'Installing ...' messages end up being logged twice. Because rpm
only logs to a file we capture the scriptlet output along with the
package install message so that you can associate scriptlet problems
with their package. This adds this file's log to our logs after the
transaction is complete (or fails).
Diffstat (limited to 'data')
-rw-r--r-- | data/post-scripts/95-copy-logs.ks | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/data/post-scripts/95-copy-logs.ks b/data/post-scripts/95-copy-logs.ks index 016b70c6c..7c9866274 100644 --- a/data/post-scripts/95-copy-logs.ks +++ b/data/post-scripts/95-copy-logs.ks @@ -5,6 +5,7 @@ mkdir -p /mnt/sysimage/var/log/anaconda [ -e /tmp/syslog ] && cp /tmp/syslog $ANA_INSTALL_PATH/var/log/anaconda/syslog [ -e /tmp/X.log ] && cp /tmp/X.log $ANA_INSTALL_PATH/var/log/anaconda.anaconda.xlog [ -e /tmp/program.log ] && cp /tmp/program.log $ANA_INSTALL_PATH/var/log/anaconda/anaconda.program.log +[ -e /tmp/packaging.log ] && cp /tmp/packaging.log $ANA_INSTALL_PATH/var/log/anaconda/anaconda.packaging.log [ -e /tmp/storage.log ] && cp /tmp/storage.log $ANA_INSTALL_PATH/var/log/anaconda/anaconda.storage.log [ -e /tmp/ifcfg.log ] && cp /tmp/ifcfg.log $ANA_INSTALL_PATH/var/log/anaconda/anaconda.ifcfg.log [ -e /tmp/yum.log ] && cp /tmp/yum.log $ANA_INSTALL_PATH/var/log/anaconda/anaconda.yum.log |