Sort package list

... so that we can more easily compare outputs in different runs.

Change-Id: I8cbaf512b659d35ce606d16cf7c02698c444c400
This commit is contained in:
Takashi Kajinami 2025-01-03 15:07:11 +09:00
parent 661bb13c53
commit cb96dd15cb

View File

@ -7,7 +7,7 @@ LOG_DIR=$WORKSPACE/logs
if [ `command -v dpkg` ]; then
sudo dpkg -l > $LOG_DIR/packages.txt
elif [ `command -v rpm` ]; then
sudo rpm -qa > $LOG_DIR/packages.txt
sudo rpm -qa | sort > $LOG_DIR/packages.txt
fi
if [ `command -v docker` ]; then