]> git.ipfire.org Git - thirdparty/grub.git/commit
smbios: Add a --linux argument to apply linux modalias-like filtering
authorJulian Andres Klode <julian.klode@canonical.com>
Tue, 3 Mar 2020 15:06:34 +0000 (16:06 +0100)
committerDaniel Kiper <daniel.kiper@oracle.com>
Tue, 10 Mar 2020 20:35:02 +0000 (21:35 +0100)
commit87049f9716fb095aecb595fb8f45497bbbb1b4a2
tree57946ccd8d58a1cc4e42c9fa6c00fed26f9d6bd4
parent2e246b6fec6e881bdb4c6b0097c328ba27ef2792
smbios: Add a --linux argument to apply linux modalias-like filtering

Linux creates modalias strings by filtering out non-ASCII, space,
and colon characters. Provide an option that does the same filtering
so people can create a modalias string in GRUB, and then match their
modalias patterns against it.

Signed-off-by: Julian Andres Klode <julian.klode@canonical.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/commands/smbios.c