On Thu, Nov 03, 2022 at 11:52:03AM +0000, Anthony PERARD wrote:
> The notice in the COPYING file in "xen/include/public/COPYING" doesn't
> really apply to the files that ultimately are been install at
> "/usr/include/xen". The issue are headers in the "sys/" subdirectory
> that comes from other projects such as Linux or FreeBSD.
> 
> The main issue is that there are two headers that have a different
> licence than the MIT licence:
> 
> - xen-sys/Linux/gntalloc.h (installed as "sys/gntalloc.h") is public
>   domain.
> - xen-sys/FreeBSD/gntdev.h (installed as "sys/gntdev.h") is BSD-2.
> 
> To clarify this, we'll install a COPYING file with a different notice.
> 
> Reported-by: Andrew Cooper <andrew.coop...@citrix.com>
> Signed-off-by: Anthony PERARD <anthony.per...@citrix.com>
> ---

So the COPYING file is currently listed to be "ignored" by git (at least
when untracked) and that seems to bother someone or something. So I
guess an extra hunk to this patch is wanted:

diff --git a/.gitignore b/.gitignore
index 418bdfaebf..4eb602480a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -195,6 +195,7 @@ tools/hotplug/NetBSD/rc.d/xendriverdomain
 tools/include/acpi
 tools/include/_libxl*.h
 tools/include/xen/*
+!tools/include/xen/COPYING
 tools/include/xen-xsm/*
 tools/include/xen-foreign/*.(c|h|size)
 tools/include/xen-foreign/checker

Cheers,

-- 
Anthony PERARD

Reply via email to