Capture dnf log

Change-Id: I1ef682f4a0d327ee814a3f75dd66829f92545f80
This commit is contained in:
Takashi Kajinami 2022-02-04 21:48:17 +09:00
parent 37971f6925
commit 37bfcfca77

View File

@ -227,6 +227,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