From 51bf02a44c3d6ef9cd93a74b94777441110c6d73 Mon Sep 17 00:00:00 2001 From: Cyril Brulebois Date: Wed, 18 Jan 2023 21:59:31 +0100 Subject: [PATCH] Avoid duplicates. --- tools/generate_firmware_patterns | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/generate_firmware_patterns b/tools/generate_firmware_patterns index 20c75998..ed617544 100755 --- a/tools/generate_firmware_patterns +++ b/tools/generate_firmware_patterns @@ -116,7 +116,7 @@ if (! grep { $_ eq $SOF } @all_packages) { # command. Note that descending under intel/ would lead to no # aliases, so stick to the top-level directory for sof: # - # for x in $(dpkg -L linux-image-6.1.0-1-amd64 | egrep '(kernel/sound/soc/sof/.*\.ko|/snd-soc-.*sof.*\.ko)$'); do /usr/sbin/modinfo $x | awk '/^alias:/ { print $2 }'; done | sort + # for x in $(dpkg -L linux-image-6.1.0-1-amd64 | egrep '(kernel/sound/soc/sof/.*\.ko|/snd-soc-.*sof.*\.ko)$'); do /usr/sbin/modinfo $x | awk '/^alias:/ { print $2 }'; done | sort -u my @sof_aliases = qw( auxiliary:snd_sof.hda-probes