CentOS: Get list of dnf modules

... so that we can check which modules are enabled in CI.

Change-Id: I2e01e3a8da9a0d082ad44c1834083cbb3e64b33b
This commit is contained in:
Takashi Kajinami 2021-05-25 21:15:17 +09:00
parent e6a54fb812
commit b0d2e00979

View File

@ -211,6 +211,9 @@ if [ `command -v rpm` ]; then
rpm -qa |sort > $LOG_DIR/rpm-qa.txt
sudo $YUM repolist -v > $LOG_DIR/repolist.txt
fi
if [ `command -v dnf` ]; then
sudo dnf module list > $LOG_DIR/modulelist.txt
fi
if [ `command -v gem` ]; then
gem list |sort > $LOG_DIR/gem-list.txt