[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen stable-4.10] firmware/shim: better filtering of dependency files during Xen tree setup



commit 8c3bbc7c2b8d825c3eeff627e6b03744f764ca47
Author:     Jan Beulich <jbeulich@xxxxxxxx>
AuthorDate: Thu Mar 1 15:10:02 2018 +0100
Commit:     Wei Liu <wei.liu2@xxxxxxxxxx>
CommitDate: Mon Mar 5 19:22:16 2018 +0000

    firmware/shim: better filtering of dependency files during Xen tree setup
    
    I have no idea what *.d1 is supposed to refer to - we only have .*.d
    and .*.d2 files (note also the leading dot). Also switch to passing
    -name instead of -path to find - that's a requirement for .*.d et al to
    work, but would probably have been better from the beginning.
    
    Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
    Reviewed-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
    Reviewed-by: Wei Liu <wei.liu2@xxxxxxxxxx>
    (cherry picked from commit 3f4bc4cc2f521c572fdc4a30dd1434ef8ecd559c)
---
 tools/firmware/xen-dir/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/firmware/xen-dir/Makefile b/tools/firmware/xen-dir/Makefile
index 57750bf2fd..ebfef7e541 100644
--- a/tools/firmware/xen-dir/Makefile
+++ b/tools/firmware/xen-dir/Makefile
@@ -26,7 +26,7 @@ linkfarm.stamp: $(DEP_DIRS) $(DEP_FILES) FORCE
        $(foreach d, $(LINK_DIRS), \
                (cd $(XEN_ROOT); \
                 find $(d) ! -type l -type f \
-                $(addprefix ! -path , '*.[oda1]' '*.d[12]')) \
+                $(addprefix ! -name , '*.[oa1]' '.*.d' '.*.d2')) \
                 >> linkfarm.stamp.tmp ; ) \
        $(foreach f, $(LINK_FILES), \
                echo $(f) >> linkfarm.stamp.tmp ;)
--
generated by git-patchbot for /home/xen/git/xen.git#stable-4.10

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.