Merge "Capture dnf log"

This commit is contained in:
Zuul 2022-02-20 11:58:06 +00:00 committed by Gerrit Code Review
commit d65f7b5f45
1 changed files with 3 additions and 0 deletions

View File

@ -233,6 +233,9 @@ if [ `command -v rpm` ]; then
fi
if [ `command -v dnf` ]; then
sudo dnf module list > $LOG_DIR/modulelist.txt
mkdir $LOG_DIR/dnf
sudo cp /var/log/dnf.log $LOG_DIR/dnf
sudo cp /var/log/dnf.rpm.log $LOG_DIR/dnf
fi
if [ `command -v gem` ]; then