]> git.ipfire.org Git - thirdparty/grub.git/commit
grub-core/genmoddep.awk: Ensure output is deterministic
authorAlexander Kanavin <alex.kanavin@gmail.com>
Thu, 1 Jun 2023 07:38:19 +0000 (09:38 +0200)
committerDaniel Kiper <daniel.kiper@oracle.com>
Tue, 13 Jun 2023 12:12:07 +0000 (14:12 +0200)
commit87648e9c12a32bddb005b899edc44c2c9c63df82
tree51234e7aac50f843b6e62a18409dc7f3b087c4d3
parentab2aeda76ce40bd5e28d5743af01a1e5a3e22f73
grub-core/genmoddep.awk: Ensure output is deterministic

The output in moddep.lst generated from syminfo.lst using genmoddep.awk
is not deterministic since the order of the dependencies on each line
can vary depending on how awk sorts the values in the array.

Be deterministic in the output by sorting the dependencies on each line.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/genmoddep.awk