]> git.ipfire.org Git - thirdparty/grub.git/commit
templates/20_linux_xen: Ignore xenpolicy and config files too
authorIan Jackson <ian.jackson@eu.citrix.com>
Wed, 20 May 2020 12:14:19 +0000 (13:14 +0100)
committerDaniel Kiper <daniel.kiper@oracle.com>
Mon, 25 May 2020 13:00:37 +0000 (15:00 +0200)
commit7a9b30143bb9f6fc19b4e1cf8d4d184a49c3c36e
tree4fc1505e278c2a03b774c4b2def69a8aede2f1a9
parent96be75ecbdf8c429a35cc0556c49cb71e0135801
templates/20_linux_xen: Ignore xenpolicy and config files too

file_is_not_sym() currently only checks for xen-syms. Extend it to
disregard xenpolicy (XSM policy files) and files ending .config (which
are built by the Xen upstream build system in some configurations and
can therefore end up in /boot).

Rename the function accordingly, to file_is_not_xen_garbage().

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
util/grub.d/20_linux_xen.in